| 1 |
%% |
| 2 |
%% This is file `se-cp1252.def', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% stringenc.dtx (with options: `cp1252') |
| 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-cp1252.def}[2019/11/29 v1.12 stringenc: cp1252] |
| 56 |
\expandafter\gdef\csname\SE@PrefixTo cp1252\endcsname#1#2#3#4{% |
| 57 |
\ifcase\ifnum"#1#2=\ltx@zero |
| 58 |
\ifnum"#3#4<"80 % |
| 59 |
\ltx@one |
| 60 |
\else |
| 61 |
\ifnum"#3#4>"9F % |
| 62 |
\ltx@one |
| 63 |
\else |
| 64 |
\ltx@zero |
| 65 |
\fi |
| 66 |
\fi |
| 67 |
\else |
| 68 |
\ltx@zero |
| 69 |
\fi |
| 70 |
\SE@MapConvertTo{cp1252}{#1#2#3#4}% |
| 71 |
\else |
| 72 |
\SE@ResultAdd{#3#4}% |
| 73 |
\fi |
| 74 |
} |
| 75 |
\expandafter\gdef\csname\SE@PrefixSurrogateTo cp1252\endcsname |
| 76 |
#1#2#3#4#5#6#7#8{% |
| 77 |
\SE@InvalidCharacter |
| 78 |
} |
| 79 |
\expandafter\gdef\csname\SE@PrefixFrom cp1252\endcsname#1{% |
| 80 |
\let\SE@next\SE@ansinew@from |
| 81 |
\expandafter\SE@ansinew@from#1\relax\relax |
| 82 |
} |
| 83 |
\gdef\SE@ansinew@from#1#2{% |
| 84 |
\ifx#1\relax |
| 85 |
\let\SE@next\relax |
| 86 |
\else |
| 87 |
\ifcase\ifnum"#1#2<"80 % |
| 88 |
\ltx@one |
| 89 |
\else |
| 90 |
\ifnum"#1#2>"9F % |
| 91 |
\ltx@one |
| 92 |
\else |
| 93 |
\ltx@zero |
| 94 |
\fi |
| 95 |
\fi |
| 96 |
\SE@MapConvertFrom{cp1252}{#1#2}% |
| 97 |
\else |
| 98 |
\SE@ResultAdd{00#1#2}% |
| 99 |
\fi |
| 100 |
\fi |
| 101 |
\SE@next |
| 102 |
} |
| 103 |
\SE@MapDeclare{cp1252}{80}{20AC}% EURO SIGN |
| 104 |
\SE@MapDeclare{cp1252}{82}{201A}% SINGLE LOW-9 QUOTATION MARK |
| 105 |
\SE@MapDeclare{cp1252}{83}{0192}% LATIN SMALL LETTER F WITH HOOK |
| 106 |
\SE@MapDeclare{cp1252}{84}{201E}% DOUBLE LOW-9 QUOTATION MARK |
| 107 |
\SE@MapDeclare{cp1252}{85}{2026}% HORIZONTAL ELLIPSIS |
| 108 |
\SE@MapDeclare{cp1252}{86}{2020}% DAGGER |
| 109 |
\SE@MapDeclare{cp1252}{87}{2021}% DOUBLE DAGGER |
| 110 |
\SE@MapDeclare{cp1252}{88}{02C6}% MODIFIER LETTER CIRCUMFLEX ACCENT |
| 111 |
\SE@MapDeclare{cp1252}{89}{2030}% PER MILLE SIGN |
| 112 |
\SE@MapDeclare{cp1252}{8A}{0160}% LATIN CAPITAL LETTER S WITH CARON |
| 113 |
\SE@MapDeclare{cp1252}{8B}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK |
| 114 |
\SE@MapDeclare{cp1252}{8C}{0152}% LATIN CAPITAL LIGATURE OE |
| 115 |
\SE@MapDeclare{cp1252}{8E}{017D}% LATIN CAPITAL LETTER Z WITH CARON |
| 116 |
\SE@MapDeclare{cp1252}{91}{2018}% LEFT SINGLE QUOTATION MARK |
| 117 |
\SE@MapDeclare{cp1252}{92}{2019}% RIGHT SINGLE QUOTATION MARK |
| 118 |
\SE@MapDeclare{cp1252}{93}{201C}% LEFT DOUBLE QUOTATION MARK |
| 119 |
\SE@MapDeclare{cp1252}{94}{201D}% RIGHT DOUBLE QUOTATION MARK |
| 120 |
\SE@MapDeclare{cp1252}{95}{2022}% BULLET |
| 121 |
\SE@MapDeclare{cp1252}{96}{2013}% EN DASH |
| 122 |
\SE@MapDeclare{cp1252}{97}{2014}% EM DASH |
| 123 |
\SE@MapDeclare{cp1252}{98}{02DC}% SMALL TILDE |
| 124 |
\SE@MapDeclare{cp1252}{99}{2122}% TRADE MARK SIGN |
| 125 |
\SE@MapDeclare{cp1252}{9A}{0161}% LATIN SMALL LETTER S WITH CARON |
| 126 |
\SE@MapDeclare{cp1252}{9B}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK |
| 127 |
\SE@MapDeclare{cp1252}{9C}{0153}% LATIN SMALL LIGATURE OE |
| 128 |
\SE@MapDeclare{cp1252}{9E}{017E}% LATIN SMALL LETTER Z WITH CARON |
| 129 |
\SE@MapDeclare{cp1252}{9F}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS |
| 130 |
\endinput |
| 131 |
%% |
| 132 |
%% End of file `se-cp1252.def'. |