blob: 481ca8bb4e9f1c6dbfc98558ebc63b7a5ff7f7e7 (
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
|
%%
%% Ein Beispiel der DANTE-Edition
%%
%% 1. Auflage
%%
%%
%% Copyright (C) 2014 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ====
\nopagenumbers
%StartShownPreambleCommands
\pdfcompresslevel=0\newcount\gstatelevel
\def\pdfsave{\directlua{pdf.print("page", "q\string\n")}}
\def\pdfrestore{\directlua{pdf.print("page", "Q\string\n")}}
\def\pdflocal#1#2{\begingroup%
\ifnum\currentgrouplevel=\gstatelevel
\else
\gstatelevel=\currentgrouplevel \pdfsave \aftergroup\pdfrestore
\fi
\directlua{pdf.print"#1\string\n"}#2\endgroup}
%StopShownPreambleCommands
\relax
\bf\pdflocal{0.5 g}{Dies ist \pdflocal{0.6 g}{\it Grau}} und dies Schwarz!
\bye
|