-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Salam,
On Sunday 16 May 2004 12:19, ahmad khalifa wrote: > From: Youcef Rabah Rahal <[EMAIL PROTECTED]> > > >You mean the HTML and the PDF ? :) [XML files are generated/written 'by > >hand'] > > XML by hand ?!!! Hehehe :) If you're (too) used to WYSIWYG interfaces this may indeed sound strange or difficult. It's just about writing '<sometag>some content</sometag>' really. Take a look at the documents on CVS. There's nothing super natural about writing them by hand. There are tools to convert them into HTML or PDF (or ...) after that. > anyway, i was referring to FOP, in order to generate PDF files from XML > files an XSL file is needed, do you know how i could get that XSL file ? > is it also written by hand ?!!! You should find this one in your stylesheet directory. I don't think it was written by 'us'. On the Arabeyes server it is in: /usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-print.xsl (Take a look at how the script works) > >Using this script (and the conf file that goes with it): > > > >http://cvs.arabeyes.org/viewcvs/scripts/www/docs-sync/ > > does this script use FOP for XML->PDF ? Yes. See the line: os.system('/opt/fop-0.20.5/fop.sh -xml %s -xsl %s -pdf %s' % (CVSFiles, XSLPDF, PDFFile)) However, Mohammed Elzubeir is more aware than me about the settings and how these tools really work. I just wrote the python script to generate the docs from the XML files automatically. Salam, - -- Youcef R. Rahal Arabeyes.org http://www.arabeyes.org/~rahal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAqJSHHDRR6Cd0eSYRApmPAJ43F4F1/en3Hjc9L6+QsjgPfDWyJQCfTROt auZafEe6fAuB31KAz5BiON4= =hmud -----END PGP SIGNATURE----- _______________________________________________ General mailing list [EMAIL PROTECTED] http://lists.arabeyes.org/mailman/listinfo/general

