diff options
author | Marius <mariausol@gmail.com> | 2010-07-04 15:32:09 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-07-04 15:32:09 +0300 |
commit | 85b7bc695629926641c7cb752fd478adfdf374f3 (patch) | |
tree | 80293f5aaa7b95a500a78392c39688d8ee7a32fc /tex/context/base/x-cals.mkiv | |
download | context-85b7bc695629926641c7cb752fd478adfdf374f3.tar.gz |
stable 2010-05-24 13:10
Diffstat (limited to 'tex/context/base/x-cals.mkiv')
-rw-r--r-- | tex/context/base/x-cals.mkiv | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tex/context/base/x-cals.mkiv b/tex/context/base/x-cals.mkiv new file mode 100644 index 000000000..32d5767c1 --- /dev/null +++ b/tex/context/base/x-cals.mkiv @@ -0,0 +1,36 @@ +%D \module +%D [ file=x-cals, +%D version=2007.09.05, +%D title=\CONTEXT\ XML Modules, +%D subtitle=Cals table renderer, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\writestatus{loading}{ConTeXt XML Macros / Cals Tables} + +\startmodule [cals] + +\ctxloadluafile{x-cals}{} + +% \startxmlsetups xml:cals:process +% \xmlsetsetup {\xmldocument} {cals:table} {*} +% \stopxmlsetups +% \startxmlsetups cals:table +% \ctxlua{lxml.cals.table("#1")} +% \stopxmlsetups +% \xmlregistersetup{xml:cals:process} + +\startxmlsetups xml:cals:process + \xmlsetfunction {\xmldocument} {cals:table} {lxml.cals.table} +\stopxmlsetups + +\xmlregistersetup{xml:cals:process} + +\xmlregisterns{cals}{cals} + +\stopmodule |