summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/syst-con.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/syst-con.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/syst-con.mkiv27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/syst-con.mkiv b/Master/texmf-dist/tex/context/base/syst-con.mkiv
new file mode 100644
index 00000000000..2f84395f045
--- /dev/null
+++ b/Master/texmf-dist/tex/context/base/syst-con.mkiv
@@ -0,0 +1,27 @@
+%D \module
+%D [ file=syst-con,
+%D version=2006.09.16,
+%D title=\CONTEXT\ System Macros,
+%D subtitle=Conversions,
+%D author=Hans Hagen,
+%D date=\currentdate,
+%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
+%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{syst-con}{1.001}
+
+\unprotect
+
+\def\lchexnumber #1{\ctxlua{converters.lchexnumber(\number#1)}}
+\def\uchexnumber #1{\ctxlua{converters.uchexnumber(\number#1)}}
+\def\lchexnumbers #1{\ctxlua{converters.lchexnumbers(\number#1)}}
+\def\uchexnumbers #1{\ctxlua{converters.uchexnumbers(\number#1)}}
+\def\octnumber #1{\ctxlua{converters.octnumber(\number#1)}}
+\def\hexstringtonumber#1{\ctxlua{converters.hexstringtonumber("#1")}}
+\def\octstringtonumber#1{\ctxlua{converters.octstringtonumber("#1")}}
+\def\rawcharacter #1{\ctxlua{converters.rawcharacter(\number#1)}}
+
+\protect \endinput