| 1 |
%% |
| 2 |
%% This is file `se-ascii.def', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% stringenc.dtx (with options: `ascii') |
| 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.def}[2019/11/29 v1.12 stringenc: US-ASCII] |
| 56 |
\expandafter\gdef\csname\SE@PrefixTo ascii\endcsname#1#2#3#4{% |
| 57 |
\ifnum"#1#2#3<8 % |
| 58 |
\SE@ResultAdd{#3#4}% |
| 59 |
\else |
| 60 |
\SE@InvalidCharacter |
| 61 |
\fi |
| 62 |
} |
| 63 |
\expandafter\gdef\csname\SE@PrefixSurrogateTo ascii\endcsname |
| 64 |
#1#2#3#4#5#6#7#8{% |
| 65 |
\SE@InvalidCharacter |
| 66 |
} |
| 67 |
\expandafter\gdef\csname\SE@PrefixFrom ascii\endcsname#1{% |
| 68 |
\let\SE@next\SE@ascii@from |
| 69 |
\expandafter\SE@ascii@from#1\relax\relax |
| 70 |
} |
| 71 |
\gdef\SE@ascii@from#1#2{% |
| 72 |
\ifx#1\relax |
| 73 |
\let\SE@next\relax |
| 74 |
\else |
| 75 |
\ifnum"#1>7 % |
| 76 |
\SE@InvalidCharacter |
| 77 |
\ifSE@TestMode |
| 78 |
\let\SE@next\SE@SkipRemaining |
| 79 |
\fi |
| 80 |
\else |
| 81 |
\SE@ResultAdd{00#1#2}% |
| 82 |
\fi |
| 83 |
\fi |
| 84 |
\SE@next |
| 85 |
} |
| 86 |
\endinput |
| 87 |
%% |
| 88 |
%% End of file `se-ascii.def'. |