Difference between revisions of "XML"
Jump to navigation
Jump to search
(Reorganized the section on xml along mkii/mkiv split.) |
|||
Line 2: | Line 2: | ||
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 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: | ||
− | ==XML/ConTeXt in general== | + | ==Documents about XML in MKIV== |
+ | ===General Information=== | ||
+ | *[http://pragma-ade.com/show-man-43.htm xml-mkiv.pdf] | ||
+ | * [[TEI_xml| TEI xml]] (typesetting editions encoded in TEI xml) | ||
+ | ===XHTML in MKIV=== | ||
+ | * [http://dl.contextgarden.net/myway/tas/xhtml.pdf Thomas' MyWay on processing XHTML with MKIV] | ||
+ | |||
+ | |||
+ | ==Documents about XML in MKII (obsolete)== | ||
+ | ===XML/ConTeXt in general=== | ||
* [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001) | * [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001) | ||
* [http://www.leverkruid.eu/context/index.html XML DocBook in ConTeXt] by Simon Pepping | * [http://www.leverkruid.eu/context/index.html XML DocBook in ConTeXt] by Simon Pepping | ||
Line 12: | Line 23: | ||
* XML Basics: [[Mixing_XML_and_ConTeXt]] using the pre-defined ContML vocabulary | * XML Basics: [[Mixing_XML_and_ConTeXt]] using the pre-defined ContML vocabulary | ||
− | ==Additions and Details of XML/ConTeXt== | + | ===Additions and Details of XML/ConTeXt=== |
* [[manual:xfigures-p.pdf|Figures (XML image databases)]] ([[manual:xfigures-s.pdf|screen]]) by Pragma (2001); see [[Image Database]] | * [[manual:xfigures-p.pdf|Figures (XML image databases)]] ([[manual:xfigures-s.pdf|screen]]) by Pragma (2001); see [[Image Database]] | ||
* [[Two pass tag processing example]] (float and figure tags) | * [[Two pass tag processing example]] (float and figure tags) | ||
Line 21: | Line 32: | ||
** a simple [[ctx|.ctx example]] of processing xml files | ** a simple [[ctx|.ctx example]] of processing xml files | ||
* [[manual:xcorresp.pdf|Serial Letters]] (using a XML database) by Pragma (2003) | * [[manual:xcorresp.pdf|Serial Letters]] (using a XML database) by Pragma (2003) | ||
− | |||
− | ==eXaMpLe framework== | + | ===eXaMpLe framework=== |
(batch processing) | (batch processing) | ||
* [[manual:ex-ample.pdf|Example Interface]] (empty) | * [[manual:ex-ample.pdf|Example Interface]] (empty) | ||
Line 29: | Line 39: | ||
* [[manual:ex-imple.pdf|Eximple Toolkit]] (simple subset of Example) | * [[manual:ex-imple.pdf|Eximple Toolkit]] (simple subset of Example) | ||
− | ==MathML== | + | ===MathML=== |
* [[manual:pre-mml.pdf|MathML Intro presentation]] by Pragma | * [[manual:pre-mml.pdf|MathML Intro presentation]] by Pragma | ||
* [[manual:mmlprime.pdf|MathML manual]] by Pragma (2001) | * [[manual:mmlprime.pdf|MathML manual]] by Pragma (2001) | ||
Line 37: | Line 47: | ||
* [[manual:xphysml-p.pdf|PhysML (MathML extension for physics)]] ([[manual:xphysml-s.pdf|screen]]) by Pragma | * [[manual:xphysml-p.pdf|PhysML (MathML extension for physics)]] ([[manual:xphysml-s.pdf|screen]]) by Pragma | ||
− | ==XSL/FO== | + | ===XSL/FO=== |
* XSL/FO: [[Formatting Objects]] | * XSL/FO: [[Formatting Objects]] | ||
* [[ConTeXt FO and XML]] is a tutorial with a view to presenting ConTeXt from the XSL-FO mindset. | * [[ConTeXt FO and XML]] is a tutorial with a view to presenting ConTeXt from the XSL-FO mindset. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:XML]] | [[Category:XML]] |
Revision as of 09:34, 5 August 2012
< 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.