blob: 3106941f3522bccd23e71915227af4f9740655b2 (
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
30
31
32
33
34
35
|
%D \module
%D [ file=mult-ini,
%D version=2008.10.22, % 1996.06.01,
%D title=\CONTEXT\ Multilingual Macros,
%D subtitle=Initialization,
%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.
\writestatus{loading}{ConTeXt Multilingual Macros / Lua}
\registerctxluafile{mult-cld}{1.001}
\registerctxluafile{mult-clm}{1.001}
\unprotect
\unexpanded\def\mkivdefstart #1{\unexpanded\expandafter\def\csname\e!start#1\endcsname}
\unexpanded\def\mkivdefstop #1{\unexpanded\expandafter\def\csname\e!stop #1\endcsname}
\unexpanded\def\mkivdef #1{\unexpanded\expandafter\def\csname #1\endcsname}
\unexpanded\def\cldprocessfile#1{\directlua\zerocount{context.runfile("#1")}}
\def\cldcontext #1{\directlua\zerocount{context(#1)}}
\def\cldcommand #1{\directlua\zerocount{context.#1}}
\def\cldff #1{\directlua\zerocount{cldff(#1)}} % global (functions)
\def\cldfn #1{\directlua\zerocount{cldfn(#1)}} % global (nodes)
%\def\mkivflush #1{\directlua\zerocount{context._flush_f_(#1)}} % obsolete
\let\mkivflush \cldff
\protect \endinput
|