summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luatexbase/test-compat-latex.tex
blob: d6e53db003752e3ca5c71fffbf9566e1e59b3549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%%
%% This is file `test-compat-latex.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% luatexbase-compat.dtx  (with options: `testlatex')
%% 
%% See the aforementioned source file(s) for copyright and licensing information.
%% 
\RequirePackage{luatexbase-compat}
\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')}
\stop
\endinput
%%
%% End of file `test-compat-latex.tex'.