diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-11-23 19:48:34 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-11-23 19:48:34 +0100 |
commit | 18499e46a49b8ccf4346686d1cf626ada33935b8 (patch) | |
tree | bd0ae7b601b323e20954c10c07598637d9403e00 /tex/context/base/mkiv/lxml-ctx.mkxl | |
parent | 4b089e589d39346a66a27d04f9857fe16e4b7b41 (diff) | |
download | context-18499e46a49b8ccf4346686d1cf626ada33935b8.tar.gz |
2020-11-23 18:39:00
Diffstat (limited to 'tex/context/base/mkiv/lxml-ctx.mkxl')
-rw-r--r-- | tex/context/base/mkiv/lxml-ctx.mkxl | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/tex/context/base/mkiv/lxml-ctx.mkxl b/tex/context/base/mkiv/lxml-ctx.mkxl deleted file mode 100644 index f4b2edc79..000000000 --- a/tex/context/base/mkiv/lxml-ctx.mkxl +++ /dev/null @@ -1,58 +0,0 @@ -%D \module -%D [ file=lxml-ctx, -%D version=2007.08.17, -%D title=\CONTEXT\ \XML\ Support, -%D subtitle=Initialization, -%D author=Hans Hagen, -%D date=\currentdate, -%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] -%C -%C This module is part of the \CONTEXT\ macro||package and is -%C therefore copyrighted by \PRAGMA. See mreadme.pdf for -%C details. - -%D Experimental. This might change! Also, it might become a module -%D instead if core code. - -\writestatus{loading}{ConTeXt XML Support / Goodies} - -\registerctxluafile{lxml-ctx}{} - -\unprotect - -\settrue \xmllshowbuffer -\setfalse\xmllshowtitle -\settrue \xmllshowwarning - -\definehead - [lshowtitle] - [subsubsubsubsubject] - -\setuphead - [lshowtitle] - [\c!style=\tta] - -\permanent\protected\def\xmllshow#1% - {\ctxlua{xml.ctx.tshow { - pattern = \!!bs\detokenize{#1}\!!es, - \ifconditional\xmllshowtitle - title = "lshowtitle", - \fi - \ifconditional\xmllshowwarning - warning = true, - \fi - } }} - -\permanent\protected\def\xmllshowbuffer#1#2#3% - {\ctxlua{xml.ctx.tshow { - pattern = \!!bs\detokenize{#2}\!!es, - \ifconditional\xmllshowbuffer - xmlroot = "#1", - attribute = "#3", - \fi - \ifconditional\xmllshowwarning - warning = true, - \fi - } }} - -\protect |