Re: [mlview-list] MlView User Doc



Hi all,

There are many generic XSL stylesheets that can convert XML to PDF.
If you're using debian, you can look for docbook2pdf or db2pdf which
makes the conversion pretty simple and straightforward.

Regards,
Philippe


Le lundi 29 novembre 2004 à 15:13 +0100, Bart Vanherck a écrit :
> Hello,
> 
> 
> On Wed, 2004-11-24 at 22:38 +0100, mtidjani free fr 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 ?
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]