Re: MlView User Doc
Bart Vanherck <[email protected]> Mon, 29 Nov 2004 15:13:52 +0100
| Newsgroups | gmane.editors.mlview.devel |
|---|---|
| Message-ID | <1101737632.8807.9.camel@laptop> |
Hello, On Wed, 2004-11-24 at 22:38 +0100, [email protected] wrote: > ->xsltproc /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl > gnome-app-template-mlview-tutorial003.xml >> mymaual.html > > I don't know the command/tools to create a pdf document from xml file. > may be someone else could help. I found out that this can be done with TeX. In fact with ConTeXt. ConTeXt has a build in xml parser, so it is very easy to make pdf files out xml documents. More info is on http://www.leverkruid.nl/context/ After installing the docbook macros do the following: If the docbook file is named test.xml make a file test.tex with following content : \input xtag-docbook \setupindenting[medium] \setupheadertexts[section][pagenumber] \setupheader[leftwidth=.7\hsize,style=slanted] \setuppagenumbering[location=] \setupitemize[each][packed][before=,after=,indentnext=no] \starttext \processXMLfilegrouped{\jobname.xml} \stoptext Then issue the following command texexec --pdf test.tex And a pdf has been made. Simple, no ? -- Bart Vanherck mail: herckb at telenet dot be jabber: herckb at jabber dot org