Difference between revisions of "XML"

From Wiki
Jump to navigation Jump to search
(new order, more links)
m (fix pragma link)
 
(26 intermediate revisions by 15 users not shown)
Line 1: Line 1:
< [[Main Page]] | [[DocBook]] | [[MathML]] | [[Formatting Objects]] >
+
__TOC__
  
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, and reusing XML much much easier than before. Unfortunately, this means that most of the existing documentation is now obsolete. 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:
+
=Documents about XML in MkIV=
 +
 
 +
==General Information==
 +
 
 +
* [[manual:xml-mkiv.pdf|XML in MkIV]]
 +
* [[manual:math-mkiv.pdf|MathML in MkIV]]
 +
* [[TEI_xml| TEI xml]]: typesetting editions encoded in TEI xml
 +
* [[DocBook]]
 +
* [[Formatting Objects|Formatting XML Objects]]
 +
* [[Verbatim_XML | Verbatim/VIM in XML]]
 +
* [[xtables#XML | Processing XML tables as Extreme Tables]]
 +
* [http://dl.contextgarden.net/myway/tas/xhtml.pdf XHTML in MkIV]
 +
* [[Ctx| Processing of Ctx XML files]]
 +
 
 +
==Processing XML with lua==
 +
* [[XML_Lua| XML in Lua]] (manipulating xml in Lua)
 +
 
 +
==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==
 
==XML/ConTeXt in general==
* [http://www.pragma-ade.com/general/manuals/example.pdf XML in ConTeXt] by Pragma (2001)
+
* [[manual:example.pdf|XML in ConTeXt]] by Pragma (2001)
* [http://www.leverkruid.nl/context/index.html XML DocBook in ConTeXt] by Simon Pepping
+
* [https://tug.org/TUGboat/tb24-3/pepping.pdf XML DocBook in ConTeXt] by Simon Pepping
 
* [http://getfo.sourceforge.net/context_xml/index.html XML ConTeXt] by Paul Tremblay
 
* [http://getfo.sourceforge.net/context_xml/index.html XML ConTeXt] by Paul Tremblay
* [http://www.pragma-ade.com/show-mag-9.htm Dealing with XML] by Pragma (about XML, XSLT and typesetting without TeX code)
+
* [http://www.pragma-ade.nl/show-mag-9.htm 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
 
* XML Basics: [[Mixing_XML_and_ConTeXt]] using the pre-defined ContML vocabulary
  
 
==Additions and Details of XML/ConTeXt==
 
==Additions and Details of XML/ConTeXt==
* [http://www.pragma-ade.com/general/manuals/xfigures-p.pdf Figures (XML image databases)] ([http://www.pragma-ade.com/general/manuals/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)
* [http://www.pragma-ade.com/general/manuals/xsteps-p.pdf Steps (XML step charts)] ([http://www.pragma-ade.com/general/manuals/xsteps-s.pdf screen]) by Pragma (2001)
+
* [[manual:xsteps-p.pdf|Steps (XML step charts)]] ([[manual:xsteps-s.pdf|screen]]) by Pragma (2001)
* [http://www.pragma-ade.com/general/manuals/xxmldir.pdf XML DIR (directory and file access)] by Pragma
+
* [[manual:xxmldir.pdf|XML DIR (directory and file access)]] by Pragma
 
* [[Interface.rnc]], the Relax NG schema of texshow-web
 
* [[Interface.rnc]], the Relax NG schema of texshow-web
* [http://www.pragma-ade.com/general/manuals/xmanipulate.pdf Preprocessing Source Files / Manipulating Graphic Resources] by Pragma
+
* [[manual:xmanipulate.pdf|Preprocessing Source Files / Manipulating Graphic Resources]] by Pragma
* [http://www.pragma-ade.com/general/manuals/xcorresp.pdf Serial Letters] (using a XML database) by Pragma (2003)
+
** a simple [[ctx|.ctx example]] of processing xml files
 +
* [[manual:xcorresp.pdf|Serial Letters]] (using a XML database) by Pragma (2003)
  
==eXaMpLe framework== (batch processing)
+
==eXaMpLe framework==  
* [http://www.pragma-ade.com/general/manuals/ex-ample.pdf Example Interface] (empty)
+
(batch processing)
* [http://www.pragma-ade.com/general/manuals/ex-gui.pdf Example GUI]
+
* [[manual:ex-ample.pdf|Example Interface]] (empty)
* [http://www.pragma-ade.com/general/manuals/ex-imple.pdf Eximple Toolkit] (simple subset of Example)
+
* [[manual:ex-gui.pdf|Example GUI]]
 +
* [[manual:ex-imple.pdf|Eximple Toolkit]] (simple subset of Example)
  
 
==MathML==
 
==MathML==
* [http://www.pragma-ade.com/present/talks/pre-mml.pdf MathML Intro presentation] by Pragma
+
* [[manual:pre-mml.pdf|MathML Intro presentation]] by Pragma
* [http://www.pragma-ade.com/general/manuals/mmlprime.pdf MathML manual] by Pragma (2001)
+
* [[manual:mmlprime.pdf|MathML manual]] by Pragma (2001)
* [http://www.pragma-ade.com/general/manuals/mmlexamp.pdf MathML in ConTeXt] by Pragma (2001)
+
* [[manual:mmlexamp.pdf|MathML in ConTeXt]] by Pragma (2001)
* [http://www.pragma-ade.com/general/manuals/xmathml-p.pdf MathML support] ([http://www.pragma-ade.com/general/manuals/xmathml-s.pdf screen]) by Pragma (2001)
+
* [[manual:xmathml-p.pdf|MathML support]] ([[manual:xmathml-s.pdf|screen]]) by Pragma (2001)
* [http://www.pragma-ade.com/general/manuals/xchemml-p.pdf ChemML (MathML extension for chemistry)] ([http://www.pragma-ade.com/general/manuals/xchemml-s.pdf screen]) by Pragma
+
* [[manual:xchemml-p.pdf|ChemML (MathML extension for chemistry)]] ([[manual:xchemml-s.pdf|screen]]) by Pragma
* [http://www.pragma-ade.com/general/manuals/xphysml-p.pdf PhysML (MathML extension for physics)] ([http://www.pragma-ade.com/general/manuals/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==

Latest revision as of 07:51, 1 July 2022

Handling XML in ConTeXt has improved dramatically with the advent of MkIV. A new infrastructure, based on Lua, makes typesetting, manipulating, filtering, and reusing XML much much easier than before. Unfortunately, this means that most of the existing documentation is now obsolete. In general, the "old" MkII code uses upper-case XML in its commands, the new MkIV code uses lower-case xml.

Documents about XML in MkIV

General Information

Processing XML with lua

XHTML in MKIV


Documents about XML in MkII (obsolete)

XML/ConTeXt in general

Additions and Details of XML/ConTeXt

eXaMpLe framework

(batch processing)

MathML

XSL/FO