Debian Codegraph @

texmf-dist/tex/generic/stringenc/se-ascii-print.def

raw
1 %%
2 %% This is file `se-ascii-print.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% stringenc.dtx (with options: `ascii-print')
8 %%
9 %% This is a generated file.
10 %%
11 %% Project: stringenc
12 %% Version: 2019/11/29 v1.12
13 %%
14 %% Copyright (C)
15 %% 2007-2011 Heiko Oberdiek
16 %% 2016-2019 Oberdiek Package Support Group
17 %%
18 %% This work may be distributed and/or modified under the
19 %% conditions of the LaTeX Project Public License, either
20 %% version 1.3c of this license or (at your option) any later
21 %% version. This version of this license is in
22 %% https://www.latex-project.org/lppl/lppl-1-3c.txt
23 %% and the latest version of this license is in
24 %% https://www.latex-project.org/lppl.txt
25 %% and version 1.3 or later is part of all distributions of
26 %% LaTeX version 2005/12/01 or later.
27 %%
28 %% This work has the LPPL maintenance status "maintained".
29 %%
30 %% The Current Maintainers of this work are
31 %% Heiko Oberdiek and the Oberdiek Package Support Group
32 %% https://github.com/ho-tex/stringenc/issues
33 %%
34 %%
35 %% The Base Interpreter refers to any `TeX-Format',
36 %% because some files are installed in TDS:tex/generic//.
37 %%
38 %% This work consists of the main source file stringenc.dtx
39 %% and the derived files
40 %% stringenc.sty, stringenc.pdf, stringenc.ins, stringenc.drv,
41 %% se-utf32be.def, se-utf32le.def, se-utf8.def, se-utf16le.def,
42 %% se-pdfdoc.def, se-iso-8859-1.def, se-cp1252.def,
43 %% se-ascii.def, se-ascii-print.def, se-clean7bit.def,
44 %% se-iso-8859-2.def, se-iso-8859-3.def, se-iso-8859-4.def,
45 %% se-iso-8859-5.def, se-iso-8859-6.def, se-iso-8859-7.def,
46 %% se-iso-8859-8.def, se-iso-8859-9.def, se-iso-8859-10.def,
47 %% se-iso-8859-11.def, se-iso-8859-13.def, se-iso-8859-14.def,
48 %% se-iso-8859-15.def, se-iso-8859-16.def, se-koi8-r.def,
49 %% se-nextstep.def, se-mac-centeuro.def, se-mac-cyrillic.def,
50 %% se-mac-roman.def, se-dec-mcs.def, se-cp437.def,
51 %% se-cp850.def, se-cp852.def, se-cp855.def, se-cp858.def,
52 %% se-cp865.def, se-cp866.def, se-cp1250.def, se-cp1251.def,
53 %% se-cp1257.def, stringenc-test1.tex, stringenc-test2.tex.
54 %%
55 \ProvidesFile{se-ascii-print.def}%
56 [2019/11/29 v1.12 stringenc: Printable ASCII characters]%
57 \expandafter\gdef\csname\SE@PrefixTo ascii-print\endcsname#1#2#3#4{%
58 \ifnum"#1#2=\ltx@zero
59 \ifnum"#3#4<127 %
60 \ifnum"#3#4>31 %
61 \SE@ResultAdd{#3#4}%
62 \else
63 \SE@InvalidCharacter
64 \fi
65 \else
66 \SE@InvalidCharacter
67 \fi
68 \else
69 \SE@InvalidCharacter
70 \fi
71 }
72 \expandafter\gdef\csname\SE@PrefixSurrogateTo ascii-print\endcsname
73 #1#2#3#4#5#6#7#8{%
74 \SE@InvalidCharacter
75 }
76 \expandafter\gdef\csname\SE@PrefixFrom ascii-print\endcsname#1{%
77 \let\SE@next\SE@ascii@print@from
78 \expandafter\SE@ascii@print@from#1\relax\relax
79 }
80 \gdef\SE@ascii@print@from#1#2{%
81 \ifx#1\relax
82 \let\SE@next\relax
83 \else
84 \ifnum"#1#2>126 %
85 \SE@InvalidCharacter
86 \ifSE@TestMode
87 \let\SE@next\SE@SkipRemaining
88 \fi
89 \else
90 \ifnum"#1#2<32 %
91 \SE@InvalidCharacter
92 \ifSE@TestMode
93 \let\SE@next\SE@SkipRemaining
94 \fi
95 \else
96 \SE@ResultAdd{00#1#2}%
97 \fi
98 \fi
99 \fi
100 \SE@next
101 }
102 \endinput
103 %%
104 %% End of file `se-ascii-print.def'.