Difference between revisions of "XML"
Jump to navigation
Jump to search
m (adding link to xtables, fixing MKX to MkX) |
|||
Line 3: | Line 3: | ||
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. | 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 | + | 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 <tt>XML</tt> in its commands, the new MkIV code uses lower-case <tt>xml</tt>. |
Here are some links to existing docs: | Here are some links to existing docs: | ||
− | ==Documents about XML in | + | ==Documents about XML in MkIV== |
+ | |||
===General Information=== | ===General Information=== | ||
*[http://pragma-ade.com/show-man-44.htm xml-mkiv.pdf] | *[http://pragma-ade.com/show-man-44.htm xml-mkiv.pdf] | ||
* [[TEI_xml| TEI xml]] (typesetting editions encoded in TEI xml) | * [[TEI_xml| TEI xml]] (typesetting editions encoded in TEI xml) | ||
* [[Verbatim_XML | Verbatim/VIM in XML]] | * [[Verbatim_XML | Verbatim/VIM in XML]] | ||
+ | * [[xtables#XML | Processing XML tables as Extreme Tables]] | ||
===Processing XML with lua=== | ===Processing XML with lua=== | ||
* [[XML_Lua| XML in Lua]] (manipulating xml in Lua) | * [[XML_Lua| XML in Lua]] (manipulating xml in Lua) | ||
+ | |||
===XHTML in MKIV=== | ===XHTML in MKIV=== | ||
* [http://dl.contextgarden.net/myway/tas/xhtml.pdf Thomas' MyWay on processing XHTML with MKIV] | * [http://dl.contextgarden.net/myway/tas/xhtml.pdf Thomas' MyWay on processing XHTML with MKIV] | ||
− | ==Documents about XML in | + | ==Documents about XML in MkII (obsolete)== |
+ | |||
===XML/ConTeXt in general=== | ===XML/ConTeXt in general=== | ||
* [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001) | * [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001) |
Revision as of 09:12, 30 July 2015
< 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)
- Verbatim/VIM in XML
- Processing XML tables as Extreme Tables
Processing XML with lua
- XML in Lua (manipulating xml in Lua)
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.