Eugene A. Herman wrote:
Pragma:
I downloaded your free software that is supposed to enable me to convert my XML files (which include some MathML) to PDF. I cannot find any documentation on how to use these files to do the conversion. (I'm on a Debian Linux network.) Please just give me an example of the Unix command that would convert a file named foo.xml to foo.pdf
Thank you for providing this free software!
there is a wiki (contextgarden.org) that tells some bits and pieces in order to process xml, you need to make a setup: ==== mydoc.tex ====== \usemodule[mathml] \defineXMlenvironment [document] {\title{Table of contents} \placelist[chapter,section]} \defineXMLargument [chapter] {\chapter} \defineXMLargument [section] {\section} \starttext \processXMLfilegrouped{whatever.xml} \stoptext ==== whatever.xml ===== <?xml version='1.0'?> <document> <chapter>Something</chapter> bla bla <math><apply><sin/><ci>x</ci></apply></math> </document> ===== command ===== texexec --pdf mydoc.tex One can also make mydoc into a style (in which case the \starttext ... is omitted) and say: texexec --env=mydoc whatever.xml (you can get more info on the context mailing list; there are users there working with mathml) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------