blob: 2f84395f045831ce7767ffc052e08a989b96c818 (
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
|
%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
|