Debian Codegraph @

texmf-dist/tex/generic/tex4ht/spanish.4ht

raw
1 % spanish.4ht (2023-05-19-14:46), generated from tex4ht-4ht.tex
2 % Copyright 2021-2023 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2023-05-19-14:46}
20
21 \expandafter\def\csname spanish:"shorthand\endcsname
22 #1{\leavevmode \hbox{\csname a:spanish"#1\endcsname}}
23 \edef\:temp{\expandafter\noexpand
24 \csname spanish:"shorthand\endcsname\space a}
25 \expandafter\HLet\csname spanish@sh@\string"@a@\endcsname=\:temp
26 \NewConfigure{spanish"a}{1}
27 \edef\:temp{\expandafter\noexpand
28 \csname spanish:"shorthand\endcsname\space o}
29 \expandafter\HLet\csname spanish@sh@\string"@o@\endcsname=\:temp
30 \NewConfigure{spanish"o}{1}
31 \edef\:temp{\expandafter\noexpand
32 \csname spanish:"shorthand\endcsname\space e}
33 \expandafter\HLet\csname spanish@sh@\string"@e@\endcsname=\:temp
34 \NewConfigure{spanish"e}{1}
35 \edef\:temp{\expandafter\noexpand
36 \csname spanish:"shorthand\endcsname\space A}
37 \expandafter\HLet\csname spanish@sh@\string"@A@\endcsname=\:temp
38 \NewConfigure{spanish"A}{1}
39 \edef\:temp{\expandafter\noexpand
40 \csname spanish:"shorthand\endcsname\space O}
41 \expandafter\HLet\csname spanish@sh@\string"@O@\endcsname=\:temp
42 \NewConfigure{spanish"O}{1}
43 \edef\:temp{\expandafter\noexpand
44 \csname spanish:"shorthand\endcsname\space E}
45 \expandafter\HLet\csname spanish@sh@\string"@E@\endcsname=\:temp
46 \NewConfigure{spanish"E}{1}
47 \edef\:tempc{\expandafter\noexpand
48 \csname spanish:'shorthand\endcsname\space i}
49 \expandafter\HLet\csname spanish@sh@\string'@i@\endcsname=\:tempc
50 \NewConfigure{spanish'i}{1}
51 \def\:tempc{\csname a:spanish'i\endcsname}
52 \expandafter\HLet\csname \string\OT1\string\'-i\endcsname\:tempc
53 \AtBeginDocument{
54 \def\:tempc{\a:guillemotright}
55 \HLet\guillemotright\:tempc
56 \def\:tempc{\a:guillemotleft}
57 \HLet\guillemotleft\:tempc
58 }
59 \NewConfigure{guillemotright}{1}
60 \Configure{guillemotright}{\o:guillemotright:}
61 \NewConfigure{guillemotleft}{1}
62 \Configure{guillemotleft}{\o:guillemotright:}
63 \def\:tempc#1#2#3{%
64 \expandafter\:text@composite@x
65 \csname OT1\string#1\endcsname#3\@empty}
66 \HLet\es@accent\:tempc
67 \def\:text@composite@x#1#2{%
68 \expandafter\ifx \csname \string#1-\string#2\endcsname\relax
69 \expandafter\ifx \csname \string#1- :\endcsname\relax
70 \expandafter\expandafter\expandafter\:gobble
71 \else
72 \expandafter\expandafter
73 \expandafter\expandafter
74 \expandafter\expandafter
75 \csname \string#1- :\endcsname
76 \fi
77 \else \expandafter\:gobble
78 \fi
79 {#2}%
80 }
81 \def\chk:acc#1#2#3{%
82 \if !#2!\expandafter\:gobbleIII \else
83 \if \noexpand#1\noexpand#2%
84 \a:es@accents#3\b:es@accents
85 \expandafter\expandafter\expandafter\gob:accc
86 \else
87 \expandafter\expandafter\expandafter\chk:acc
88 \fi
89 \fi
90 {#1}%
91 }
92 \def\gob:accc#1{\gob:acc}
93 \def\gob:acc#1#2{\if !#2!\expandafter\gobe:acc
94 \else \expandafter\gob:acc\fi
95 }
96 \expandafter\ifx\csname documentclass\endcsname\relax\then
97 \def\gobe:acc#1\@text@composite#2\@text@composite#3{}
98 \else
99 \let\gobe:acc=\:gobble
100 \fi
101 \NewConfigure{es@accent}[2]{\expandafter
102 \def\csname #1- :\endcsname##1{\chk:acc{##1}#2{}{}}}
103 \NewConfigure{es@accents}{2}
104 \AtBeginDocument{%
105 \def\bbl@umlauta{\ifx \EndPicture \:UnDef \expandafter \n:bbl@umlauta:
106 \else \expandafter \o:bbl@umlauta: \fi }%
107 }
108 \let\orig:nolimits\nolimits
109 \let\nolimits\o:nolimits:
110 \AtBeginDocument{
111 \let\nolimits\orig:nolimits
112 \let\es@operators\relax
113 }
114
115 \Hinput{spanish}
116 \endinput
117