Debian Codegraph @

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

raw
1 % aa.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
2 % Copyright 1999-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-10-13:46}
21
22
23 \onecolumn
24 \Configure{UndefinedSec}{likepart}
25 \Configure{UndefinedSec}{likechapter}
26 \Configure{UndefinedSec}{likesection}
27 \Configure{UndefinedSec}{likesubsection}
28
29
30 \def\@part[#1]#2{%
31 \ifnum \c@secnumdepth >-2\relax
32 \SkipRefstepAnchor \refstepcounter{part}%
33 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
34 \else
35 \addcontentsline{toc}{part}{#1}%
36 \fi
37 }
38 \let\:tempb\part
39 \Def:Section\part{\thepart}{#1}
40 \let\:part\part
41 \let\part\:tempb
42 \let\no@part\@part
43 \def\@part[#1]#2{%
44 {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
45 \HtmlEnv \Toc:Title{#1}\:part{#2}%
46 \csname @endpart\endcsname%
47 }
48 \Def:Section\likepart{}{#1}
49 \let\:likepart\likepart
50 \let\likepart\:UnDef
51 \let\no@spart\@spart
52 \def\@spart#1{%
53 {\let\addcontentsline\:gobbleIII\no@spart{}}%
54 \HtmlEnv \:likepart{#1}}
55
56 \let\no@section\section
57 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
58 \thesection \fi}{#1}
59 \let\no:section\section
60 \def\section{\rdef:sec{section}}
61 \Def:Section\likesection{}{#1}
62 \let\:likesection\likesection
63 \let\likesection\:UnDef
64
65 \let\no@subsection\subsection
66 \Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
67 \thesubsection \fi}{#1}
68 \let\no:subsection\subsection
69 \def\subsection{\rdef:sec{subsection}}
70 \Def:Section\likesubsection{}{#1}
71 \let\:likesubsection\likesubsection
72 \let\likesubsection\:UnDef
73
74 \let\no@subsubsection\subsubsection
75 \Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
76 \thesubsubsection \fi}{#1}
77 \let\no:subsubsection\subsubsection
78 \def\subsubsection{\rdef:sec{subsubsection}}
79 \Def:Section\likesubsubsection{}{#1}
80 \let\:likesubsubsection\likesubsubsection
81 \let\likesubsubsection\:UnDef
82
83 \let\no@paragraph\paragraph
84 \Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
85 \theparagraph \fi}{#1}
86 \let\no:paragraph\paragraph
87 \def\paragraph{\rdef:sec{paragraph}}
88 \Def:Section\likeparagraph{}{#1}
89 \let\:likeparagraph\likeparagraph
90 \let\likeparagraph\:UnDef
91 \let\no@subparagraph\subparagraph
92 \Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
93 \thesubparagraph \fi}{#1}
94 \let\no:subparagraph\subparagraph
95 \def\subparagraph{\rdef:sec{subparagraph}}
96 \Def:Section\likesubparagraph{}{#1}
97 \let\:likesubparagraph\likesubparagraph
98 \let\likesubparagraph\:UnDef
99
100
101
102 \NewConfigure{subtitle institute}[7]{%
103 \c:def\a:sbttl{#1}\c:def\b:sbttl{#2}%
104 \c:def\a:institute{#3}\c:def\b:institute{#4}%
105 \c:def\c:institute{#5}\c:def\d:institute{#6}%
106 \c:def\b:and{#7}%
107 }
108 \NewConfigure{headnote}{2}
109
110 \NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
111 \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
112 \NewConfigure{thanks author date and}[8]{%
113 \c:def\a:thanks{#1}\c:def\a:thanks{#2}%
114 \c:def\a:author{#3}\c:def\b:author{#4}\c:def\a:date{#5}%
115 \c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}}
116
117 \def\inst#1{\unskip$\sp{#1}$}
118 \def\fnmsep{\unskip$\sp,$}
119
120 \let\o:maketitle:=\@maketitle
121 \def\@maketitle{%
122 \gHAdvance\:mpNum by 1
123 \HAssign\minipageNum=\:mpNum \relax
124 %
125 \def\sec:typ{title}%
126 \Tag{)title)}{\@title}%
127 \makeheadbox \let\makeheadbox=\empty
128 \def\andname{\a:and}%
129 \def\lastandname{, \a:and}
130 \if!\@headnote!\else
131 \pend:def\@headnote{\a:headnote\ignorespaces}%
132 \append:def\@headnote{\b:headnote}%
133 \fi
134 \pend:def\@title{\a:ttl\ignorespaces}%
135 \if!\@subtitle!\append:def\@title{\b:ttl}\else
136 \pend:def\@subtitle{\a:sbttl\ignorespaces}%
137 \append:def\@subtitle{\b:sbttl\b:ttl}%
138 \fi
139 \pend:def\@author{\a:author\ignorespaces}%
140 \append:def\@author{\b:author}%
141 \let\o:institutename=\institutename
142 \def\institutename{\a:institute
143 \pend:def\@institute{\pend:def\and{\b:and}}%
144 \pend:def\theinst{\c:institute}\append:def\theinst{\d:institute}%
145 \o:institutename \b:institute
146 \if!\@dedic!\else
147 \pend:def\@dedic{\a:dedic}\append:def\@dedic{\b:dedic}%
148 \fi
149 \pend:def\@date{\a:date}\append:def\@date{\b:date}}%
150 \Configure{newline}{\e:mktl}\a:mktl\o:maketitle:\b:mktl
151 \relax\if!\@mail!\else
152 \pend:def\@mail{\a:mail\ignorespaces}%
153 \append:def\@mail{\b:mail}%
154 \global\let\@mail=\@mail
155 \fi
156 }
157 \let\strich\empty
158 \NewConfigure{mail}{2}
159 \NewConfigure{makeheadbox}{5}
160 \def\makeheadbox{{%
161 \a:makeheadbox{\bf\@journalname\ manuscript no.}
162 \b:makeheadbox{\bf Your thesaurus codes are:}
163 \c:makeheadbox{\@thesaurus}
164 \d:makeheadbox{\AALogo}\e:makeheadbox}}
165
166 \def\AALogo{ASTRONOMY AND ASTROPHYSICS}
167
168 \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
169 \c:def\cptC:{#3}\c:def\cptD:{#4}}
170 \long\def\@makecaption#1#2{%
171 {\cptA: \cap:ref{#1}%
172 \if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}}
173
174
175
176 \Hinput{aa}
177 \endinput
178