XML
Jump to navigation
Jump to search
< Main Page | DocBook | MathML | Formatting Objects >
If you want to get more from your code than just a PDF (or DVI) output, e.g. HTML, or if you need a good typesetting machine for your XML code, you're right with ConTeXt.
Handling XML in ConTeXt has improved dramatically with the advent of MKIV. A new infrastructure, based on Lua, makes typesetting, manipulating, filtering, reusing XML much much easier than before. Unfortunately, this means that most of the existing documentation is now obsolete. As a rule of thumb: in general, the "old" MKII code uses upper-case XML in its commands, the new MKIV code uses lower-case xml.
Here are some links to existing docs:
Contents
Documents about XML in MKIV
General Information
- xml-mkiv.pdf
- TEI xml (typesetting editions encoded in TEI xml)
XHTML in MKIV
Documents about XML in MKII (obsolete)
XML/ConTeXt in general
- XML in ConTeXt by Pragma (2001)
- XML DocBook in ConTeXt by Simon Pepping
- XML ConTeXt by Paul Tremblay
- Dealing with XML by Pragma (about XML, XSLT and typesetting without TeX code)
- XML Basics: Mixing_XML_and_ConTeXt using the pre-defined ContML vocabulary
Additions and Details of XML/ConTeXt
- Figures (XML image databases) (screen) by Pragma (2001); see Image Database
- Two pass tag processing example (float and figure tags)
- Steps (XML step charts) (screen) by Pragma (2001)
- XML DIR (directory and file access) by Pragma
- Interface.rnc, the Relax NG schema of texshow-web
- Preprocessing Source Files / Manipulating Graphic Resources by Pragma
- a simple .ctx example of processing xml files
- Serial Letters (using a XML database) by Pragma (2003)
eXaMpLe framework
(batch processing)
- Example Interface (empty)
- Example GUI
- Eximple Toolkit (simple subset of Example)
MathML
- MathML Intro presentation by Pragma
- MathML manual by Pragma (2001)
- MathML in ConTeXt by Pragma (2001)
- MathML support (screen) by Pragma (2001)
- ChemML (MathML extension for chemistry) (screen) by Pragma
- PhysML (MathML extension for physics) (screen) by Pragma
XSL/FO
- XSL/FO: Formatting Objects
- ConTeXt FO and XML is a tutorial with a view to presenting ConTeXt from the XSL-FO mindset.