[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: SGML to XML: Should I switch? How to switch?
Stephane Bortzmeyer wrote: >> Second, how would the command lines look like? > The same command line should work Unfortunately, "sgmltools" (sgmltools-lite) does not work :( Finally, after several trying and erroring, I managed to produce my first XML article by using Debian/Ubuntu 5.04. Questions: * How to switch from "USletter" paper size to "A4"? * Are there any other ways/utilities which has been *SUCCESFULLY* tested with Debian/Ubuntu? Please also specify the version/release that has been used. =================================================== <?xml version="1.0"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "file:///usr/share/xml/docbook/schema/dtd/4.3/docbookx.dtd"> <article><articleinfo><title>The Article Title</title> <author><firstname>Euis</firstname><surname>Luhuanam</surname></author> <authorinitials>EL6</authorinitials></articleinfo> <para>Blah Blah Blah using XML.</para> <section><title>Introduction</title> <para>Blah blah blah paragraph.</para> <section><title>Sub-section</title> <para>More blah blah blah.</para></section> <section><title>Another Sub-section</title> <para>More blah blah blah.</para></section></section> <section><title>Summary</title> <para>The last paragraph.</para></section></article> =================================================== The commands were: % xsltproc -o test.html \ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \ test.xml % xsltproc -o test.fo \ /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl \ test.xml % pdfxmltex test.fo ==================================================== regards, EL6
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]