[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: SGML to XML: Should I switch? How to switch?
On Wednesday 13 July 2005 05:31 am, Euis Luhuanam wrote: > Questions: > > * Are there any other ways/utilities which has been > *SUCCESFULLY* tested with Debian/Ubuntu? Please also > specify the version/release that has been used. I'm using Debian Sid (yes, I like to live on the edge <g>), and running an all-java build setup. Let me see if I can remember everything you need to install. (Or at least everything I needed to install, for HTML and PDF output.) ant docbook-xml docbook-xsl libsaxon-java fop libbatik-java libjaxp1.2-java And manually: xerces (nightly build, since the last release is buggy) XIncluder And then one of the graphic libraries FOP requires, by hand. I forget if Jai or JimiPro is the current one, since I have both installed from when I was trying to get it to work. :-) E-mail me off-list if you want my full build.xml and catalog files. They can be long and tricky, or at least they were for me. (No doubt there's a better way I don't know about, but what fun would that be?) > > =================================================== > <?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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]