summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex
blob: 63de4caa7c31bedcf1047109f6943bdbd3e34921 (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
%%
%% This is file `test-compat-plain.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% luatexbase-compat.dtx  (with options: `testplain')
%% 
%% Written in 2010 by Manuel Pegourie-Gonnard.
%% 
%% This work is under the CC0 license.
%% See source file 'luatexbase-compat.dtx' for details.
%% 
\input luatexbase-compat.sty
\catcode64 11
\luatexbase@directlua{local answer = 42}
\luatexbase@ensure@primitive{primitive}
\luatexprimitive\relax
\luatexbase@directlua{assert(type(luatexbase.luatexversion) == 'number')}
\luatexbase@directlua{assert(type(luatexbase.luatexrevision) == 'number')}
\bye
\endinput
%%
%% End of file `test-compat-plain.tex'.