Re: [NTG-context] MathML to PDF conversion
Eugene A. Herman wrote:
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 -----------------------------------------------------------------
participants (1)
-
Hans Hagen