Debian Codegraph @

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

raw
1 % elsart.4ht (2021-05-23-15:14), generated from tex4ht-4ht.tex
2 % Copyright 1999-2009 Eitan M. Gurari
3 % Copyright 2009-2021 TeX Users Group
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2021-05-23-15:14}
21
22 \edef\@ptsize{\ifdim \normalbaselineskip>14pt 2\else
23 \ifdim \normalbaselineskip>13pt 2\else 0\fi\fi}
24 \input article.4ht
25 \@twocolumnfalse \@TwoColumnfalse
26 \let\endtable\end@float
27 \let\endalgorithm\end@float
28 \let\endfigure\end@float
29 \def\@mpmakefnmark{\,\hbox{$\sp{\mathrm{\@thefnmark}}$}}
30 \long\def\@mpmakefntext#1{\noindent
31 \hbox{$\sp{\mathrm{\@thefnmark}}$} #1}
32 \def\itnuc#1#2{\setbox\@tempboxa=\hbox{\scriptsize\it #1}
33 \def\@tempa{{}\sp{\box\@tempboxa}\!\protect\text{\it #2}}\relax
34 \ifmmode \@tempa \else $\@tempa$\fi}
35 \def\address@fmt#1#2#3#4{\@newelemtrue
36 \if@Elproofing\def\@eltag{#4}\else\def\@eltag{\theaddress}\fi
37 \ifnum\prev@elem=\e@address \@newelemfalse \fi
38 \if@newelem \address@fmt@init \fi
39 \noindent \bgroup \@addressstyle
40 \a:address
41 \ifnum#1=\z@
42 #3\,$\sp{\mathrm{#2}}$\space%
43 \else
44 \ifnum#1=\m@ne
45 $\sp{\phantom{\mathrm{\@eltag}}}$\space #3\,$\sp{\mathrm{#2}}$%
46 \else
47 $\sp{\mathrm{\@eltag}}\space$#3\,$\sp{\mathrm{#2}}$%
48 \fi
49 \fi
50 \b:address
51 \par \egroup}
52 \NewConfigure{address}{2}
53 \def\collab@fmt#1#2#3{\@newelemtrue
54 \ifnum\prev@elem=\e@collab \global\@newelemfalse \fi
55 \if@newelem \collab@fmt@init \fi
56 \par % Start new paragraph
57 {\large #3\,$\sp{\mathrm{#2}}$}}
58 \def\@makefnmark{\,\hbox{$\sp{\fn@presym\mathrm{\@thefnmark}}$}\,}
59 \def\nuc#1#2{\relax\ifmmode{\HCode{}}\sp{#1}{\protect\text{#2}}\else
60 ${\HCode{}}\sup{#1}$#2\fi}
61 \def\title@fmt#1#2{%
62 \@ifundefined{@runtitle}{\global\def\@runtitle{#1}}{}%
63 \vspace*{12pt}
64 {\@titlesize\a:ttl #1\,\hbox{$\sp{#2}$}\b:ttl\par}%
65 \vskip\@undertitleskip
66 \vskip24\p@ % Vertical space below title
67 }
68 \def\subtitle@fmt#1#2{% % No vertical space above sub-title
69 {\@titlesize \a:subtitle#1\b:subtitle\,\hbox{$\sp{#2}$}}\par}
70 \NewConfigure{subtitle}{2}
71
72
73 \def\@makecaption{\@makefigurecaption}
74 \long\def\@makefigurecaption#1#2{%
75 {\cptA: \cap:ref{#1}%
76 \if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}}
77 \long\def\@maketablecaption#1#2{\@tablecaptionsize
78 \global \@minipagefalse
79 \hbox{{\cptA: \cap:ref{#1}%
80 \if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}}}
81 \pend:def\open@fm{\:gobbleIV}
82 \pend:def\close@fm{\gdef\:temp{\global\setbox\fm@box=\vbox{}}}
83 \def\endfrontmatter{%
84 \ifx\@runauthor\relax
85 \global\let\@runauthor\@runningauthor
86 \fi
87 \global\n@author=\c@author
88 \global\n@collab=\c@collab \@writecount
89 \global\@topnum\z@
90 \thispagestyle{copyright}% % Format rest of front matter:
91 \if@preface \else % IF not preface THEN
92 \vskip \@overhistoryskip
93 \history@fmt % print history (received, ...)
94 \newcount\c@sv@footnote
95 \global\c@sv@footnote=\c@footnote % save current footnote number
96 \if@hasabstract % IF abstract/ keywords THEN
97 \vskip \@preabstractskip % Space above rule
98 % \hrule height 0.4\p@ % Rule above abstract/keywords
99 \vskip 8\p@
100 \unvbox\t@abstract % print abstract, if any
101 \fi
102 \if@haskeywords % IF keywords THEN
103 \vskip \@overkeywordskip
104 \unvbox\t@keyword % Keyword abstract, if any
105 \fi % FI
106 \vskip 10\p@
107 % \hrule height 0.4\p@ % rule below abstract/keywords
108 \dedicated@fmt % print dedication
109 \vskip \@belowfmskip % Vertical space below frontmatter
110 \fi % FI
111 \close@fm % Close front matter material.
112 \output@glob@notes % Put notes at bottom of 1st page
113 \global\c@footnote=\c@sv@footnote % restore footnote number
114 \global\@prefacefalse
115 \global\leftskip\z@ % Restore the normal values of
116 \global\@rightskip\z@ % \leftskip,
117 \global\rightskip\@rightskip % \rightskip and
118 \global\mathsurround\sv@mathsurround % \mathsurround.
119 \let\title\relax \let\author\relax
120 \let\collab\relax \let\address\relax
121 \let\frontmatter\relax \let\endfrontmatter\relax
122 \let\@maketitle\relax \let\@@maketitle\relax
123 \normal@text
124 }
125 \def\thanks{\@ifnextchar[{\@tempswatrue
126 \thanks@optarg}{\@tempswafalse\thanks@optarg[]}}
127 \def\thanks@optarg[#1]#2{\SkipRefstepAnchor
128 \refstepcounter{footnote}
129 \if@tempswa\label{#1}\else\relax\fi
130 \add@tok\t@glob@notes{\els:footnotetext}%
131 \add@xtok\t@glob@notes{{#1}[\the\c@footnote]}%
132 \add@tok\t@glob@notes{{#2}}}
133 \def\els:footnotetext#1[#2]#3{%
134 \footnotetext[#2]{{\def\rEfLiNK##1##2{\Link{}{##1}\EndLink}%
135 \ref{#1}}#3}}
136 \def\author@fmt#1#2#3{\@newelemtrue
137 \a:author
138 \if@firstauthor
139 \first@author \global\@firstauthorfalse \fi
140 \ifnum\prev@elem=\e@author \global\@newelemfalse \fi
141 \if@newelem \author@fmt@init \fi
142 \edef\@tempb{#2}\ifx\@tempb\@empty
143 \hbox{{\author@font #3}}\else
144 \hbox{{\author@font #3}\,$\sp{\mathrm{#2}}$}%
145 \fi
146 \b:author}
147
148 \def\:temp{%
149 \let\no:indent\noindent
150 \def\noindent{%
151 \global\let\noindent\no:indent
152 \append:def\abstractname{\aftergroup\b:abstract}%
153 \a:abstract \noindent}%
154 \pend:def\endabstract{\c:abstract}\o:@abstract:}
155 \HLet\@abstract\:temp
156 \NewConfigure{abstract}{3}
157
158 \def\:temp{%
159 \let\no:indent\noindent
160 \def\noindent{%
161 \global\let\noindent\no:indent
162 \a:keyword \noindent}%
163 \pend:def\endkeyword{\b:keyword}\o:keyword:}
164 \HLet\keyword\:temp
165 \NewConfigure{keyword}{2}
166
167
168 \Hinput{elsart}
169 \endinput
170