summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/x-ct.mkiv
blob: ad20eea05c9bc5f9c2378381cd96056090d3702c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%D \module
%D   [       file=x-cals,
%D        version=2007.09.05,
%D          title=\CONTEXT\ XML Modules,
%D       subtitle=\CONTEXT\ Structures,
%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 / Basics}

\startmodule [ct]

\registerctxluafile{x-ct}{}

\startxmlsetups xml:context:process
    \xmlsetfunction {\xmldocument} {context:tabulate}    {lxml.context.tabulate}
    \xmlsetfunction {\xmldocument} {context:combination} {lxml.context.combination}
\stopxmlsetups

\xmlregistersetup{xml:context:process}

\xmlregisterns{context}{context}

\stopmodule