Debian Codegraph @

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

raw
1 % revtex4.4ht (2023-11-09-13:34), generated from tex4ht-4ht.tex
2 % Copyright 2002-2009 Eitan M. Gurari
3 % Copyright 2009-2023 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 2023-11-09-13:34}
21
22 \def\:tempc[#1]#2{%
23 %\hshow{@array@array@new--222}%
24 \def\Clr{#2}\a:VBorder
25 \HAssign\ar:cnt0
26 \let\HAlign\empty
27 %
28 \@tempdima\ht\strutbox
29 \advance\@tempdima by\extrarowheight
30 \setbox\@arstrutbox\hbox{}%
31 \begingroup
32 \@mkpream{#2}%
33 \xdef\@preamble{%
34 \everycr{}\tabskip\z@skip\noexpand\MkHalign\noexpand\@sharp
35 {\@arstrut \@preamble \tabskip\z@skip}%
36 }%
37 \xdef\:temp{%
38 \def\noexpand\HAlign{\HAlign}%
39 \def\noexpand\ar:cnt{\ar:cnt}}\aftergroup\:temp
40 %
41 \endgroup
42 \@arrayleft
43 \@nameuse{@array@align@#1}%
44 \def\v:TBL{#1}%
45 \m@th
46 \let\\\@arraycr \let\tabularnewline\\\let\par\@empty
47 \ifx \EndPicture\:UnDef
48 \SaveMkHalignConfig
49 \ifx \recall:ar\:UnDef
50 \pend:def\@array{\recall:ar}%
51 \edef\recall:ar{%
52 \noexpand\ifx \noexpand\EndPicture\noexpand\:UnDef \noexpand\else
53 \arrayrulewidth\the\arrayrulewidth
54 \doublerulesep\the\doublerulesep
55 \arraycolsep\the\arraycolsep
56 \tabcolsep\the\tabcolsep
57 \noexpand\fi }%
58 \fi
59 % why did we set these variables to zero? it leads to wrong spacing
60 % in pictures.
61 % https://puszcza.gnu.org.ua/bugs/?229
62 % \arrayrulewidth\z@ \doublerulesep\z@
63 % \arraycolsep\z@ \tabcolsep\z@
64 \Configure{MkHalign}
65 {\@array:a}%
66 {\@array:b\ProperTrTrue}%
67 {\a:putHBorder\InitHBorder
68 \gHAdvance\cline:cnt by 1
69 \expandafter\ifx \csname cw:cline-\cline:cnt\endcsname \relax \else
70 \Tag{Cline-\cline:cnt}{}%
71 \fi
72 \expandafter\ifx \csname cw:Cline-\cline:cnt\endcsname \relax \else
73 \ht:special{t4ht@[}%
74 \fi
75 %
76 \ifProperTr{\@array:c}}%
77 {\ifProperTr{\@array:d}%
78 \ifomit: \Tag{cline-\cline:cnt}{}\fi
79 \expandafter\ifx \csname cw:Cline-\cline:cnt\endcsname \relax \else
80 \ht:special{t4ht@]}%
81 \fi
82 \global \omit:false
83 %
84 \a:putHBorder\InitHBorder}%
85 {\ifProperTr{\@array:e}\RecallMkHalignConfig\recall:ar}%
86 {\ifProperTr{\@array:f}}
87 %
88 \Configure{MkHalign}%
89 {\@array:a}%
90 {\@array:b\ProperTrTrue}%
91 {\a:putHBorder\InitHBorder \ifProperTr{\@array:c}}%
92 {\ifProperTr{\@array:d}\a:putHBorder\InitHBorder}%
93 {\ifProperTr{\@array:e}%%%%%%%%%%\global \let\HAlign\sv:ALIGN
94 \RecallMkHalignConfig\recall:ar}%
95 {\ifProperTr{\@array:f}}
96 %
97 \else \let\@sharp##\fi
98 \set@typeset@protect
99 \lineskip\z@\baselineskip\z@
100 \@preamble\array@row@pre
101 }
102 \HLet\@array@array@new\:tempc
103 \def\:tempc{%
104 %\hshow{array@array@new--22}%
105 \let\@array:a\a:array \let\@array:b\b:array
106 \let\@array:c\c:array \let\@array:d\d:array
107 \let\@array:e\e:array \let\@array:f\f:array
108 %
109 \o:array@array@new:}
110 \HLet\array@array@new=\:tempc
111 \def\:tempc{\relax \ifnum\HCol=1 \a:endarray\fi
112 \enda:rray}
113 \HLet\endarray@array@new\:tempc
114
115 \def\:tempc[#1]#2{%
116 %\hshow{@array@ltx-22}%
117 \def\Clr{#2}\a:VBorder
118 \HAssign\ar:cnt0
119 \let\HAlign\empty
120 %
121 \setbox\@arstrutbox\hbox{}%
122 \@nameuse{@array@align@#1}%
123 \@mkpream{#2}%
124 \expandafter\tmp:toks\expandafter=\expandafter{\@preamble}%
125 \edef\@preamble{%
126 \everycr{}\tabskip\z@skip\noexpand\MkHalign\noexpand\@sharp
127 {\the\tmp:toks \tabskip\z@skip}%
128 }%
129 \def\v:TBL{#1}%
130 \let\tabularnewline\\\let\par\@empty
131 \ifx \EndPicture\:UnDef
132 \SaveMkHalignConfig
133 \ifx \recall:ar\:UnDef
134 \pend:def\@array{\recall:ar}%
135 \edef\recall:ar{%
136 \noexpand\ifx \noexpand\EndPicture\noexpand\:UnDef \noexpand\else
137 \arrayrulewidth\the\arrayrulewidth
138 \doublerulesep\the\doublerulesep
139 \arraycolsep\the\arraycolsep
140 \tabcolsep\the\tabcolsep
141 \noexpand\fi }%
142 \fi
143 % why did we set these variables to zero? it leads to wrong spacing
144 % in pictures.
145 % https://puszcza.gnu.org.ua/bugs/?229
146 % \arrayrulewidth\z@ \doublerulesep\z@
147 % \arraycolsep\z@ \tabcolsep\z@
148 \Configure{MkHalign}
149 {\@array:a}%
150 {\@array:b\ProperTrTrue}%
151 {\a:putHBorder\InitHBorder
152 \gHAdvance\cline:cnt by 1
153 \expandafter\ifx \csname cw:cline-\cline:cnt\endcsname \relax \else
154 \Tag{Cline-\cline:cnt}{}%
155 \fi
156 \expandafter\ifx \csname cw:Cline-\cline:cnt\endcsname \relax \else
157 \ht:special{t4ht@[}%
158 \fi
159 %
160 \ifProperTr{\@array:c}}%
161 {\ifProperTr{\@array:d}%
162 \ifomit: \Tag{cline-\cline:cnt}{}\fi
163 \expandafter\ifx \csname cw:Cline-\cline:cnt\endcsname \relax \else
164 \ht:special{t4ht@]}%
165 \fi
166 \global \omit:false
167 %
168 \a:putHBorder\InitHBorder}%
169 {\ifProperTr{\@array:e}\RecallMkHalignConfig\recall:ar}%
170 {\ifProperTr{\@array:f}}
171 %
172 \Configure{MkHalign}%
173 {\@array:a}%
174 {\@array:b\ProperTrTrue}%
175 {\a:putHBorder\InitHBorder \ifProperTr{\@array:c}}%
176 {\ifProperTr{\@array:d}\a:putHBorder\InitHBorder}%
177 {\ifProperTr{\@array:e}%%%%%%%%%%\global \let\HAlign\sv:ALIGN
178 \RecallMkHalignConfig\recall:ar}%
179 {\ifProperTr{\@array:f}}
180 %
181 \else \let\@sharp##\fi
182 \set@typeset@protect
183 \lineskip\z@skip\baselineskip\z@skip
184 \ifhmode \@preamerr\z@ \@@par\fi
185 \@preamble\array@row@pre
186 }
187 \HLet\@array@ltx\:tempc
188 \def\:tempc{%
189 %\hshow{array@ltx-2}%
190 \let\@array:a\a:array \let\@array:b\b:array
191 \let\@array:c\c:array \let\@array:d\d:array
192 \let\@array:e\e:array \let\@array:f\f:array
193 %
194 \o:array@ltx:}
195 \HLet\array@ltx=\:tempc
196 \def\:tempc{\relax
197 \ifx \HCol\:UnDef \else \ifnum\HCol=1 \a:endarray\fi \fi
198 \crcr\ifx \EndPicture\:UnDef \EndMkHalign
199 \else \egroup\fi \egroup}
200 \HLet\endarray@ltx\:tempc
201 \long\def\:temp#1#2#3{\multispan{#1}\a:multicolumn \begingroup
202 %\hshow{multicolumn@ltx--2}%
203 \def\Clr{#2}\a:VBorder
204 \HAssign\ar:cnt0
205 \let\HAlign\empty
206 %
207 \@mkpream{#2}%
208 \ifx \EndPicture\:UnDef
209 \def\:temp##1 ##2 ##3 {##3}%
210 \xdef\new:span{\new:span\HRow.\HCol\expandafter\:temp\HAlign;}%
211 \fi
212 %
213 \def\@sharp{\c:multicolumn#3\d:multicolumn}\set@typeset@protect
214 \let\@startpbox\@@startpbox\let\@endpbox\@@endpbox
215 \@arstrut \@preamble\hbox{}\endgroup \b:multicolumn \ignorespaces}
216 \HLet\multicolumn@ltx\:temp
217 \def\:temp{\a:hline}
218 \HLet\hline@ltx\:temp
219
220 \let\twocolumngrid\onecolumngrid
221 \let\@twocolumntrue\@twocolumnfalse
222 \@booleanfalse\twocolumn@sw
223 \def\titleblock@produce{%
224 \a:mktl \par
225 \begingroup
226 \pend:def\frontmatter@above@affilgroup{%
227 \pend:def\@AAC@list{\a:author}%
228 \append:def\@AAC@list{\b:author}%
229 }%
230 \ifx \@date\empty\else
231 \pend:def\@date{\a:date}%
232 \append:def\@date{\b:date}%
233 \fi
234 \ifx \@received\empty\else
235 \pend:def\@received{\a:received}%
236 \append:def\@received{\b:received}%
237 \fi
238 \ifx \@revised\empty\else
239 \pend:def\@revised{\a:revised}%
240 \append:def\@revised{\b:revised}%
241 \fi
242 \ifx \@accepted\empty\else
243 \pend:def\@accepted{\a:accepted}%
244 \append:def\@accepted{\b:accepted}%
245 \fi
246 \ifx \@accepted\empty\else
247 \pend:def\@published{\a:published}%
248 \append:def\@published{\b:published}%
249 \fi
250 \let\footnote\footnote@latex
251 \let\@makefnmark\@makefnmark@latex
252 \let\@footnotemark\@footnotemark@latex
253 \let\thefootnote\frontmatter@thefootnote
254 \global\c@footnote\z@
255 \let\@makefnmark\frontmatter@makefnmark
256 \frontmatter@setup
257 \thispagestyle{titlepage}%
258 \par \a:ttl \label{FirstPage}\par
259 \frontmatter@title@produce
260 \b:ttl \par
261 \groupauthors@sw{%
262 \frontmatter@author@produce@group
263 }{%
264 \frontmatter@author@produce@script
265 }%
266 \par \a:RRAPformat\par
267 \frontmatter@RRAPformat{%
268 \expandafter\produce@RRAP\expandafter{\@date}%
269 \expandafter\produce@RRAP\expandafter{\@received}%
270 \expandafter\produce@RRAP\expandafter{\@revised}%
271 \expandafter\produce@RRAP\expandafter{\@accepted}%
272 \expandafter\produce@RRAP\expandafter{\@published}%
273 }%
274 \par\b:RRAPformat
275 \frontmatter@abstract@produce
276 \showPACS@sw{%
277 \pend:defI\@pacs@produce{\par\a:pacs\par}%
278 \append:defI\@pacs@produce{\par\b:pacs\par}%
279 }{}%
280 \@pacs@produce\@pacs
281 \showKEYS@sw{%
282 \pend:defI\@keywords@produce{\par\a:keywords\par}%
283 \append:defI\@keywords@produce{\par\b:keywords\par}%
284 }{}%
285 \@keywords@produce\@keywords
286 \par
287 \a:frontpagefootnote
288 \minipagefootnote@here
289 \b:frontpagefootnote
290 \par
291 \frontmatter@finalspace
292 \gHAdvance\:mpNum by 1
293 \HAssign\minipageNum=\:mpNum \relax
294 %
295 \endgroup
296 \b:mktl \par
297 }%
298 \append:def\minipagefootnote@pick{%
299 \gHAdvance\:mpNum by 1
300 \HAssign\minipageNum=\:mpNum \relax
301 %
302 }
303 \append:def\ruledtabular{%
304 \gHAdvance\:mpNum by 1
305 \HAssign\minipageNum=\:mpNum \relax
306 %
307 }
308 \NewConfigure{RRAPformat}{2}
309 \NewConfigure{received}{2}
310 \NewConfigure{revised}{2}
311 \NewConfigure{accepted}{2}
312 \NewConfigure{published}{2}
313 \NewConfigure{pacs}{2}
314 \NewConfigure{keywords}{2}
315 \NewConfigure{frontpagefootnote}{4}
316 \NewConfigure{maketitle}[4]{\def\a:mktl{#1}\def\b:mktl{#2}%
317 \def\a:ttl{#3}\def\b:ttl{#4}}
318 \NewConfigure{thanks author date and}[8]{%
319 \c:def\a:thanks{#1}\c:def\b:thanks{#2}%
320 \c:def\a:author{#3}\c:def\b:author{#4}%
321 \c:def\a:date{#5}\c:def\b:date{#6}%
322 \c:def\a:and{#7}\c:def\e:mktl{#8}}
323 \append:def\abstract{\a:abstract}
324 \pend:def\endabstract{\b:abstract}
325 \NewConfigure{abstract}{2}
326 \def\:tempc#1#2#3{\o:doauthor:{\a:doauthor#1\b:doauthor}{#2}{#3}}
327 \HLet\doauthor\:tempc
328 \NewConfigure{doauthor}{2}
329 \def\do@affil@fromgroup#1#2{%
330 \@ifx{\relax#2}{}{%
331 \count@#2\relax
332 \@ifnum{\count@=\z@}{}{\a:affil#1\b:affil}%
333 \do@affil@fromgroup#1%
334 }}
335 \NewConfigure{affil}{2}
336 \def\:temp{%
337 \@ifhmode{\skip@\lastskip\unskip\unpenalty\break
338 \a:centercr\hskip\skip@}{}%
339 }
340 \HLet\frontmatter@addressnewline\:temp
341 \def\@doendnote#1#2{\bibitem{#1}\a:endnote #2\b:endnote}
342 \NewConfigure{endnote}{2}
343 \def\NAT@bibsetnum#1{%
344 \setlength{\topsep}{\z@}%
345 \let\sv:rEfLiNK \rEfLiNK
346 \let\rEfLiNK \@secondoftwo
347 \NATx@bibsetnum{\ref{LastBibItem}}%
348 \let\rEfLiNK \sv:rEfLiNK
349 }
350 \long\def\frontmatter@makefntext#1{%
351 \parindent 1em
352 \c:frontpagefootnote \a:footnotetext
353 \noindent
354 \Hy@raisedlink{\hyper@anchorstart{frontmatter@\the
355 \c@footnote}\hyper@anchorend}%
356 \@makefnmark
357 \b:footnotetext \a:footnotebody
358 #1%
359 \b:footnotebody \c:footnotetext \d:frontpagefootnote
360 }
361 \let\no@ssect@ltx=\@ssect@ltx
362 \def\@ssect@ltx#1#2#3#4#5{\:Sc3
363 \no@ssect@ltx{#1}{#2}{#3}{#4}{\:Sc4#5\:Sc2}\HtmlEnv}
364 \let\no@sect@ltx=\@sect@ltx
365 \def\@sect@ltx#1#2#3#4#5#6[#7]#8{%
366 \xdef\c:secnumdepth{#2}\:Sc3
367 \no@sect@ltx{#1}{#2}{#3}{#4}{#5}{#6}[#7]{\:Sc4#8\:Sc2}\HtmlEnv}
368
369 \:CheckOption{sections-} \if:Option
370 \Configure{@sec @ssect}{}
371 \else
372 \Configure{@sec @ssect}{%
373 \let\sv:Sc=\:Sc \let\sv:sect=\@sect@ltx \let\sv:ssect@ltx=\@ssect@ltx
374 \let\:Sc\:gobble
375 \def\@sect@ltx##1##2##3##4##5##6[##7]##8{%
376 \ifx \o:@seccntformat:\:UnDef
377 \let\o:@seccntformat:\@seccntformat
378 \fi
379 \let\@seccntformat\:gobble
380 %
381 \let\@sect@ltx=\no@sect@ltx \xdef\c:secnumdepth{##2}%
382 {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII \let\mark\:gobble
383 \no@sect@ltx{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
384 \let\:Sc=\sv:Sc \let\@sect@ltx=\sv:sect \let\@ssect@ltx=\sv:ssect@ltx
385 %
386 \let\@seccntformat=\o:@seccntformat:
387 %
388 \HtmlEnv \Toc:Title{##7}\csname no:#1\endcsname{##8}}%
389 %
390 \def\@ssect@ltx##1##2##3##4##5##6[##7]##8{%
391 \gdef\ssect:ttl{##5}%
392 %
393 \let\@ssect@ltx=\no@ssect@ltx
394 {\def\addcontentsline####1####2####3{}%
395 \no@ssect@ltx{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
396 \let\:Sc=\sv:Sc \let\@sect@ltx=\sv:sect \let\@ssect@ltx=\sv:ssect@ltx
397 %
398 \HtmlEnv \csname :like#1\endcsname{##8}}%
399 \IgnorePar}
400 \fi
401
402 \def\@part[#1]#2{%
403 \ifnum \c@secnumdepth >-2\relax
404 \SkipRefstepAnchor \refstepcounter{part}%
405 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
406 \else
407 \addcontentsline{toc}{part}{#1}%
408 \fi
409 }
410 \let\:tempb\part
411 \Def:Section\part{\thepart}{#1}
412 \let\:part\part
413 \let\part\:tempb
414 \let\no@part\@part
415 \def\@part[#1]#2{%
416 {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
417 \HtmlEnv \Toc:Title{#1}\:part{#2}%
418 \csname @endpart\endcsname%
419 }
420 \Def:Section\likepart{}{#1}
421 \let\:likepart\likepart
422 \let\likepart\:UnDef
423 \let\no@spart\@spart
424 \def\@spart#1{%
425 {\let\addcontentsline\:gobbleIII\no@spart{}}%
426 \HtmlEnv \:likepart{#1}}
427
428 \let\no@section\section
429 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
430 \thesection \fi}{#1}
431 \let\no:section\section
432 \def\section{\rdef:sec{section}}
433 \Def:Section\likesection{}{#1}
434 \let\:likesection\likesection
435 \let\likesection\:UnDef
436
437 \let\no@subsection\subsection
438 \Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
439 \thesubsection \fi}{#1}
440 \let\no:subsection\subsection
441 \def\subsection{\rdef:sec{subsection}}
442 \Def:Section\likesubsection{}{#1}
443 \let\:likesubsection\likesubsection
444 \let\likesubsection\:UnDef
445
446 \let\no@subsubsection\subsubsection
447 \Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
448 \thesubsubsection \fi}{#1}
449 \let\no:subsubsection\subsubsection
450 \def\subsubsection{\rdef:sec{subsubsection}}
451 \Def:Section\likesubsubsection{}{#1}
452 \let\:likesubsubsection\likesubsubsection
453 \let\likesubsubsection\:UnDef
454
455 \let\no@paragraph\paragraph
456 \Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
457 \theparagraph \fi}{#1}
458 \let\no:paragraph\paragraph
459 \def\paragraph{\rdef:sec{paragraph}}
460 \Def:Section\likeparagraph{}{#1}
461 \let\:likeparagraph\likeparagraph
462 \let\likeparagraph\:UnDef
463 \let\no@subparagraph\subparagraph
464 \Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
465 \thesubparagraph \fi}{#1}
466 \let\no:subparagraph\subparagraph
467 \def\subparagraph{\rdef:sec{subparagraph}}
468 \Def:Section\likesubparagraph{}{#1}
469 \let\:likesubparagraph\likesubparagraph
470 \let\likesubparagraph\:UnDef
471
472 \def\@array@align@c{%
473 \leavevmode\@ifmmode{\vcenter\bgroup}{\vbox\bgroup\aftergroup\relax}}%
474 \def\@array@align@v{%
475 \@ifmmode{%
476 \@badmath
477 \vcenter\bgroup
478 }{%
479 \@ifinner{%
480 \vbox\bgroup
481 }{%
482 \@@par\bgroup
483 }%
484 }%
485 }%
486 \let\widetext\empty
487 \let\endwidetext\empty
488 \def\@xfloat #1[#2]{%
489 \def \@captype {#1}%
490 \:clearpage \bf:float \:clearpage
491 \begingroup
492 \expandafter\ifx\csname end#1\endcsname\o:end@float:
493 \expandafter\let\csname end#1\endcsname\float@end
494 \expandafter\let\csname end#1*\endcsname\float@dblend
495 \fi
496 \@parboxrestore
497 \reset@font
498 \normalsize
499 \everypar{\HtmlPar}%
500 \@xfloat@prep
501 \@nameuse{fp@proc@#2}%
502 }
503 \def\end@float{\endgroup \:clearpage \af:float \minipagefootnote@here}
504 \let\end@dblfloat=\end@float
505 \long\def\@makecaption#1#2{%
506 \par
507 \begingroup
508 \small\rmfamily
509 \flushing
510 \let\footnote\@footnotemark@gobble
511 {\cptA: \cap:ref{#1}\if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}
512 \endgroup
513 \par
514 }
515 \pend:def\caption{\SkipRefstepAnchor}
516 \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
517 \c:def\cptC:{#3}\c:def\cptD:{#4}}
518 \pend:def\frontmatter@abstractheading{\a:abstractheading}
519 \append:def\frontmatter@abstractheading{\b:abstractheading}
520 \NewConfigure{abstractheading}{2}
521 \def\preprint#1{\a:preprint #1\b:preprint}
522 \NewConfigure{preprint}{2}
523 \def\p@subsection {\thesection}
524 \def\p@subsubsection {\thesection\thesubsection}
525 \def\p@paragraph {\thesection\thesubsection\thesubsubsection}
526
527 \Hinput{revtex4}
528 \endinput
529