Debian Codegraph @

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

raw
1 % JHEP.4ht (2023-04-16-07:49), generated from tex4ht-4ht.tex
2 % Copyright 2001-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-04-16-07:49}
21
22 \def\@part[#1]#2{%
23 \ifnum \c@secnumdepth >-2\relax
24 \SkipRefstepAnchor \refstepcounter{part}%
25 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
26 \else
27 \addcontentsline{toc}{part}{#1}%
28 \fi
29 }
30 \let\:tempb\part
31 \Def:Section\part{\thepart}{#1}
32 \let\:part\part
33 \let\part\:tempb
34 \let\no@part\@part
35 \def\@part[#1]#2{%
36 {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
37 \HtmlEnv \Toc:Title{#1}\:part{#2}%
38 \csname @endpart\endcsname%
39 }
40 \Def:Section\likepart{}{#1}
41 \let\:likepart\likepart
42 \let\likepart\:UnDef
43 \let\no@spart\@spart
44 \def\@spart#1{%
45 {\let\addcontentsline\:gobbleIII\no@spart{}}%
46 \HtmlEnv \:likepart{#1}}
47
48 \let\no@section\section
49 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
50 \thesection \fi}{#1}
51 \let\no:section\section
52 \def\section{\rdef:sec{section}}
53 \Def:Section\likesection{}{#1}
54 \let\:likesection\likesection
55 \let\likesection\:UnDef
56
57 \let\no@subsection\subsection
58 \Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
59 \thesubsection \fi}{#1}
60 \let\no:subsection\subsection
61 \def\subsection{\rdef:sec{subsection}}
62 \Def:Section\likesubsection{}{#1}
63 \let\:likesubsection\likesubsection
64 \let\likesubsection\:UnDef
65
66 \let\no@subsubsection\subsubsection
67 \Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
68 \thesubsubsection \fi}{#1}
69 \let\no:subsubsection\subsubsection
70 \def\subsubsection{\rdef:sec{subsubsection}}
71 \Def:Section\likesubsubsection{}{#1}
72 \let\:likesubsubsection\likesubsubsection
73 \let\likesubsubsection\:UnDef
74
75 \let\no@paragraph\paragraph
76 \Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
77 \theparagraph \fi}{#1}
78 \let\no:paragraph\paragraph
79 \def\paragraph{\rdef:sec{paragraph}}
80 \Def:Section\likeparagraph{}{#1}
81 \let\:likeparagraph\likeparagraph
82 \let\likeparagraph\:UnDef
83 \let\no@subparagraph\subparagraph
84 \Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
85 \thesubparagraph \fi}{#1}
86 \let\no:subparagraph\subparagraph
87 \def\subparagraph{\rdef:sec{subparagraph}}
88 \Def:Section\likesubparagraph{}{#1}
89 \let\:likesubparagraph\likesubparagraph
90 \let\likesubparagraph\:UnDef
91
92 \let\acm:sect\no@sect
93 \def\no@sect#1#2#3{\acm:sect{#1}{#2}{#3\relax\let\@svsec\empty}}
94 \def\@maketitle{%
95 \if@preprint
96 \a:preprint{\tiny Preprint typeset in JHEP style. -
97 \if@hyper{HYPER VERSION} \else{PAPER VERSION}\fi }
98 \normalsize\hfill
99 \begin{tabular}[t]{r}\@preprint\end{tabular}%
100 \b:preprint
101 \else
102 \if@proc
103 \a:conference \copy\conf@box \b:conference \logo {\tiny PROCEEDINGS}
104 \else
105 \a:received \unhbox\rece@box \b:received
106 \a:accepted \unhbox\acce@box \b:accepted \logo
107 {\tiny \if@hyper{HYPER VERSION}\else{PAPER VERSION}\fi}
108 \fi\fi\null
109 \a:title {\LARGE \sffamily \bfseries \@title}\b:title
110 \a:author{\normalsize \bfseries \sffamily \@author }\b:author
111 \ifvoid\abstract@box \else
112 \a:abstract\vbox{\unhbox\abstract@box}\b:abstract
113 \fi
114 \a:keywords\@keywords\b:keywords
115 \ifx\dedic@box\:UnDef\else \a:dedicated\dedic@box\b:dedicated \fi
116 }
117 \def\auto:maketitle{{%
118 \global\let\auto:maketitle=\empty
119 \def\JHEP:toc{\setcounter{footnote}{0}%
120 \if@todotoc \tableofcontents \fi
121 \@todotocfalse \@preprintfalse
122 \gdef\tableofcontents{}%
123 \pend:def\@author{\a:author}\append:def\@author{\b:author}%
124 }%
125 \pend:def\@maketitle{\aftergroup\JHEP:toc}%
126 \let\JHEP:sva=\begingroup
127 \def\begingroup{\let\begingroup=\JHEP:sva
128 \begingroup
129 \let\JHEP:sva=\@makefnmark
130 \let\JHEP:svb=\@makefntext
131 \let\JHEP:svc=\newpage
132 \def\newpage{%
133 \let\@makefnmark=\JHEP:sva
134 \let\@makefntext=\JHEP:svb
135 \let\newpage=\JHEP:svc
136 \newpage }}
137 %
138 \auto:mktitle
139 \global\let\auto:mktitle=\empty
140 }}
141 \let\auto:mktitle=\auto@maketitle
142 \let\auto@maketitle=\empty
143 \NewConfigure{@BODY}[1]{\concat:config\a::@BODY{#1}}
144 \let\a::@BODY=\a:@BODY
145 \def\a:@BODY{\a::@BODY \auto:maketitle }
146 \NewConfigure{abstract}{2}
147 \NewConfigure{accepted}{2}
148 \NewConfigure{author}{2}
149 \NewConfigure{conference}{2}
150 \NewConfigure{dedicated}{2}
151 \NewConfigure{keywords}{2}
152 \NewConfigure{preprint}{2}
153 \NewConfigure{received}{2}
154 \NewConfigure{title}{2}
155 \renewcommand{\href}[2]{\bgroup\let~\H@tilde
156 \if@hyper\Link-[#1]{}{}\fi
157 {#2}\egroup\if@hyper\EndLink\fi}
158 \renewcommand{\name}[1]{\if@hyper\Link-{}{#1}\EndLink\fi}
159 \renewcommand{\base}[1]{\if@hyper\bgroup\let~\H@tilde
160 \HCode{<base href="#1" />}\egroup\fi}
161 \pend:defI\label{\bgroup\@hyperfalse}
162 \append:defI\label{\egroup}
163 \pend:defI\ref{\bgroup\@hyperfalse}
164 \append:defI\ref{\egroup}
165 \pend:defI\pageref{\bgroup\@hyperfalse}
166 \append:defI\pageref{\egroup}
167
168 \Hinput{JHEP}
169 \endinput
170