diff options
author | Marius <mariausol@gmail.com> | 2011-06-20 16:50:10 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-06-20 16:50:10 +0300 |
commit | 06465c8428905be5c083c70f4e7de6a59d129139 (patch) | |
tree | 4141cc479a1d8dfc991e3aa04d62a31752bfdec0 /tex/context/base/lxml-css.mkiv | |
parent | a12c76dbfcdf2a4159ba03613ba990a57b9b1ce0 (diff) | |
download | context-06465c8428905be5c083c70f4e7de6a59d129139.tar.gz |
beta 2011.06.19 14:17
Diffstat (limited to 'tex/context/base/lxml-css.mkiv')
-rw-r--r-- | tex/context/base/lxml-css.mkiv | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tex/context/base/lxml-css.mkiv b/tex/context/base/lxml-css.mkiv new file mode 100644 index 000000000..012db826c --- /dev/null +++ b/tex/context/base/lxml-css.mkiv @@ -0,0 +1,39 @@ +%D \module +%D [ file=lxml-css, +%D version=2010.01.28, +%D title=\CONTEXT\ Modules, +%D subtitle=Css Helpers, +%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. + +\registerctxluafile{lxml-css}{} + +\def\ctxmodulecss#1{\directlua\zerocount{moduledata.css.#1}} + +% No stable interface yet. + +% \edef\CellPadding{\xmlatt{#1}{cellpadding}} +% \ifx\CellPadding\empty +% \edef\CellPadding{.25ex} +% \else +% \edef\CellPadding{\cssgetsinglepadding{\xmlatt{#1}{cellpadding}}} +% \fi + +% \starttexdefinition cssgetsinglepadding #1 +% \ctxlua { +% context((moduledata.css.padding( +% "#1", +% \number\dimexpr0.1ex, +% \number\dimexpr0.01\hsize, +% \number\dimexpr1ex, +% \number\dimexpr1em +% ))) % returns 4 values therefore () +% }sp +% \stoptexdefinition + +\endinput |