summaryrefslogtreecommitdiff
path: root/manual/scrreprt.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'manual/scrreprt.4ht')
-rw-r--r--manual/scrreprt.4ht403
1 files changed, 403 insertions, 0 deletions
diff --git a/manual/scrreprt.4ht b/manual/scrreprt.4ht
new file mode 100644
index 0000000000..7662b38453
--- /dev/null
+++ b/manual/scrreprt.4ht
@@ -0,0 +1,403 @@
1% scrreprt.4ht (2014-07-15-16:10), generated from tex4ht-4ht.tex
2% Copyright (C) 1999--2009 Eitan M. Gurari
3% 2009--2014 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 2014-07-15-16:10}
21
22\let\o:maketitle:\maketitle
23\def\maketitle{\bgroup
24 \gHAdvance\:mpNum by 1
25\HAssign\minipageNum=\:mpNum \relax
26%
27 \ifx \EndPicture\:UnDef
28 \def\sec:typ{title}%
29 \Configure{HtmlPar}{}{}{}{}%
30 \Configure{newpage}{}%
31 \ConfigureEnv{center}{\empty}{}{\empty}{\empty}
32 \let\a:tabular:sv\a:tabular \let\b:tabular:sv\b:tabular
33\let\c:tabular:sv\c:tabular \let\d:tabular:sv\d:tabular
34\let\e:tabular:sv\e:tabular \let\f:tabular:sv\f:tabular
35\let\before:begintabular:sv\before:begintabular
36%
37 \Configure{HBorder}{}{}{}{}{}{}{}{}{}{}%
38 \Configure{tabular}{}{}{}{\e:mktl}
39 {\bgroup \let\a:tabular\a:tabular:sv \let\b:tabular\b:tabular:sv
40\let\c:tabular\c:tabular:sv \let\d:tabular\d:tabular:sv
41\let\e:tabular\e:tabular:sv \let\f:tabular\f:tabular:sv
42\let\before:begintabular\before:begintabular:sv
43}{\egroup}
44 \ConfigureEnv{tabular}{\empty}{}{}{}%
45 %
46 \pend:def\@title{\a:ttl}\append:def\@title{\b:ttl}%
47 \pend:def\@date{\a:date}\append:def\@date{\b:date}%
48 \pend:def\@author{\a:author}\append:def\@author{\b:author}%
49 \def\and{\a:and}
50%
51 \fi
52 \pic:gobble\a:mktl \o:maketitle: \pic:gobble\b:mktl
53 \egroup \let\maketitle\empty}
54\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
55 \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
56\NewConfigure{thanks author date and}[8]{%
57 \c:def\a:thanks{#1}\c:def\b:thanks{#2}\c:def\a:author{#3}\c:def\b:author{#4}%
58 \c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}}
59
60\pend:def\titlepage{%
61 \cfg:maketitle
62}
63\def\cfg:maketitle{%
64 \global\let\cfg:maketitle\empty
65 \ifx\@dedication\@empty \else
66 \pend:def\@dedication{\a:dedication}%
67 \append:def\@dedication{\b:dedication}%
68 \fi
69}
70\NewConfigure{dedication}{2}
71
72\Configure{UndefinedSec}{likepart}
73\Configure{UndefinedSec}{likechapter}
74\Configure{UndefinedSec}{likesection}
75\Configure{UndefinedSec}{likesubsection}
76\def\tableofcontents{%
77 \ifx\contentsname\empty \else
78 %
79\chapter*{\contentsname}%
80 %
81%
82 \fi
83 \:tableofcontents}
84
85
86\let\:tempb\chapter
87\Def:Section\chapter{\thechapter}{#1}
88\let\:chapter\chapter
89\let\chapter\:tempb
90\def\@makechapterhead#1{}
91\let\no@chapter\@chapter
92\def\@chapter[#1]#2{%
93 \gHAdvance\:mpNum by 1
94\HAssign\minipageNum=\:mpNum \relax
95%
96 {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII\no@chapter[#1]{}}%
97 \HtmlEnv \Toc:Title{#1}\:chapter{#2}}
98\Def:Section\likechapter{}{#1}
99\let\:likechapter\likechapter
100\let\likechapter\:UnDef
101\let\no@schapter\@schapter
102\def\@schapter#1{%
103 {\let\addcontentsline\:gobbleIII\no@schapter{}}%
104 \HtmlEnv \:likechapter{#1}}
105\let\no@appendix\appendix
106\Def:Section\appendix{\thechapter}{#1}
107\let\:appendix\appendix
108\def\appendix{%
109 \def\@chapter[##1]##2{%
110 \gHAdvance\:mpNum by 1
111\HAssign\minipageNum=\:mpNum \relax
112%
113 {\def\addcontentsline####1####2####3{}\no@chapter[##1]{}}%
114 \HtmlEnv \Toc:Title{##1}\:appendix{##2}}%
115 \no@appendix}
116
117\NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
118 \c:def\cptC:{#3}\c:def\cptD:{#4}}
119\long\def\@makecaption#1#2{%
120 {\cptA: \cap:ref{#1}%
121\cptB:}{\cptC:{#2}\cptD:}}
122
123
124\pend:def\caption{\SkipRefstepAnchor}
125\append:def\quote{\par\@totalleftmargin\z@}
126\long\def\c:theindex:#1#2#3#4#5#6#7#8#9{%
127 \def\theindex{%
128 \def\idx:item{\SaveEverypar\ht:everypar{}#1}%
129 \def\endtheindex{\idx:item#2\RecallEverypar}%
130 \def\item{\idx:item\def\idx:item{#4}\let\index\@gobble #3}%
131 \def\subitem{\idx:item\def\idx:item{#6}\let\index\@gobble #5}%
132 \def\subsubitem{\idx:item\def\idx:item{#8}\let\index\@gobble #7}}%
133 \def\indexspace{\idx:item#9\let\idx:item\empty}}
134\def\warn:idx#1{%
135 \expandafter\ifx \csname #1warn:idx\endcsname\relax
136 \expandafter\global
137 \expandafter\let \csname #1warn:idx\endcsname\def
138 \immediate\write16
139 {---------------------------------------------------------}%
140 \:warning{If not done so, the index is to be processed by
141 ^^J\space\space tex '\string\def\string\filename
142 {{#1}{idx}{4dx}{ind}} \noexpand\input\space idxmake.4ht'
143 ^^J\space\space makeindex -o #1.ind #1.4dx
144 ^^Jinstead of
145 ^^J\space\space makeindex -o #1.ind #1.idx
146 ^^JOn some platforms, the quotation marks ' should be
147 ^^J replaced by double quotation marks " or eliminated.
148 ^^J---------------------------------------------------------
149 }%
150 {\Configure{Needs}{File: #1.4idx}\Needs{}}%
151 \fi}
152\ifOption{info}{\Log:Note{
153A script of the form
154^^Jtex '\def\string\filename{{\%\%1}{idx}{4dx}{ind}}
155 \string\input\space idxmake.4ht'
156^^Jmakeindex -o \%\%1.ind \%\%1.4dx
157^^Jin the env file, automatically calls to the revised makeindex
158^^Jcommand. An extra compilation of the source LaTeX file is required,
159^^Jto get the index correctly into the output.}}{}
160\def\ind:defs{\let\LNKidx\empty
161 \def\LNK##1##2##3##4{\ifx\NewConfigure\:UnDef\else
162 \def\LNK:number{##4}%
163 \a:LNK[##1]{##2}{}\gHAdvance\:LNKno1
164 \def\:THIrd{##3}\ifx\:THIrd\empty
165 \LNKidx{\ifx\c:LNK\empty\:LNKno\else \c:LNK\fi}\else
166 \LNKidx{##3}\fi
167 \global\let\LNKidx\empty
168 \b:LNK
169 \fi}%
170 \def\:LNKno{0}}
171\NewConfigure{LNK}{3}
172\Configure{LNK}{\Link}{\EndLink}{}
173\def\yhbLNK#1{\expandafter\let\expandafter\LNKidx\csname
174 #1\endcsname\LNK}
175
176\Configure{@begin}{theindex}{\ind:defs}
177
178\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
179 \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
180\NewConfigure{thanks author date and}[8]{%
181 \c:def\a:thanks{#1}\c:def\b:thanks{#2}%
182 \c:def\a:author{#3}\c:def\b:author{#4}%
183 \c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}}
184
185
186\append:def\quotation{\a:quotation\par\@totalleftmargin\z@}
187\NewConfigure{quotation}{1}
188\NewConfigure{listof}{6}
189
190\def\tableofcontents{%
191 \ifx\contentsname\empty \else
192 %
193\chapter*{\contentsname}%
194 %
195%
196 \fi
197 \:tableofcontents}
198
199\edef\:TOC{%
200 \noexpand\ifx [\noexpand\:temp
201 \noexpand\expandafter\noexpand\:TableOfContents
202 \noexpand\else
203 \noexpand\Auto:ent{\ifnum \c@tocdepth >-2 part,\fi
204 \ifnum \c@tocdepth >\m@ne chapter,appendix,addchap,\fi
205 \ifnum \z@>\c@tocdepth\else section,\fi
206 \ifnum 1>\c@tocdepth \else subsection,\fi
207\ifnum 2>\c@tocdepth \else subsection,\fi
208\ifnum 3>\c@tocdepth \else subsubsection,\fi
209\ifnum 4>\c@tocdepth \else paragraph,\fi
210\ifnum 5>\c@tocdepth \else subparagraph,\fi
211UnDFexyz}%
212 \noexpand\fi}
213\def\:tableofcontents{\futurelet\:temp\:TOC}
214\def\Auto:ent#1{%
215 \edef\auto:toc{\noexpand\:TableOfContents[\ifx \auto:toc\:UnDef
216 #1\else \auto:toc \fi]} \auto:toc
217 \global\let\auto:toc\:UnDef }
218\def\:tocs{\noexpand\:tableofcontents}
219\pend:defIII\addcontentsline{%
220 \def\:temp{##1}\def\:tempa{toc}\ifx \:temp\:tempa
221 \gHAdvance\TitleCount 1 \fi }
222\def\@dottedtocline#1#2#3#4#5{\hbox{\def\numberline##1{\e:listof
223 ##1\f:listof}\c:listof#4\d:listof}\ignorespaces}
224\def\@starttoc#1{%
225 \begingroup
226 \makeatletter \Configure{cite}{}{}{}{}%
227 \def\:temp{#1}\def\:tempa{toc}%
228 \a:listof\par
229 \@input{\jobname.\ifx \:temp\:tempa 4ct\else #1\fi}%
230 \b:listof
231 \if@filesw
232 \expandafter\expandafter\csname
233 newwrite\endcsname\csname tf@#1\endcsname
234 \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
235 \fi
236 \global\@nobreakfalse
237 \endgroup}
238\NewConfigure{tableofcontents*}[1]{%
239 \def\:tempa{#1}\ifx\empty\:tempa
240 \ifx \au:StartSec\:UnDef \else \gdef\:StartSec{\au:StartSec}\fi
241 \else
242 \edef\auto:toc{#1}%
243 \ifx \au:StartSec\:UnDef
244 \let\au:StartSec\:StartSec
245 \def\:StartSec{\:tableofcontents
246 \global\let\auto:toc\:UnDef \:StartSec}%
247 \pend:def\:tableofcontents{\gdef\:StartSec{\au:StartSec}}%
248 \fi \fi
249}
250
251
252\ifx \@openbib@code\:UnDef \else
253 \pend:def\@openbib@code{\labelsep\z@}
254\fi
255\def\:temp#1#2!*?: {\def\:temp{#1}}
256\expandafter\:temp\usepackage!*?:
257\def\:tempa{\@latex@e@error}
258\ifx \:temp\:tempa \else
259 \def\popthree#1#2#3#4{#4}
260 \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
261 \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
262 {\expandafter\noexpand
263 \csname o:\expandafter\expandafter\:gobble\expandafter\string \popthree#3:\endcsname}}}
264\def\:temp#1{%
265 \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
266\:temp{rm}
267\:temp{sf}
268\:temp{tt}
269\:temp{bf}
270\:temp{it}
271
272\fi
273 \let\:tempc\listoffigures
274\pend:def\:tempc{\begingroup \a:listoffigures
275 \def\@starttoc{\:tableofcontents[lof]\:gobble}}
276\append:def\:tempc{\b:listoffigures \endgroup}
277\HLet\listoffigures\:tempc
278\let\:tempc\listoftables
279\pend:def\:tempc{\begingroup \a:listoftables
280 \def\@starttoc{\:tableofcontents[lot]\:gobble}}
281\append:def\:tempc{\b:listoftables \endgroup}
282\HLet\listoftables\:tempc
283
284 \NewConfigure{listoffigures}{2}
285\NewConfigure{listoftables}{2}
286
287\ifx \part\:UnDef\else
288 \def\@part[#1]#2{%
289 \ifnum \c@secnumdepth >-2\relax
290 \SkipRefstepAnchor \refstepcounter{part}%
291 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
292 \else
293 \addcontentsline{toc}{part}{#1}%
294 \fi
295 \csname @endpart\endcsname}
296\let\:tempb\part
297\Def:Section\part{\thepart}{#1}
298\let\:part\part
299\let\part\:tempb
300\let\no@part\@part
301\def\@part[#1]#2{%
302 {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
303 \HtmlEnv \Toc:Title{#1}\:part{#2}}
304\Def:Section\likepart{}{#1}
305\let\:likepart\likepart
306\let\likepart\:UnDef
307\let\no@spart\@spart
308\def\@spart#1{%
309 {\let\addcontentsline\:gobbleIII\no@spart{}}%
310 \HtmlEnv \:likepart{#1}}
311
312\fi
313\ifx \section\:UnDef\else
314 \let\no@section\section
315\Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
316 \thesection \fi}{#1}
317\let\no:section\section
318\def\section{\rdef:sec{section}}
319\Def:Section\likesection{}{#1}
320\let\:likesection\likesection
321\let\likesection\:UnDef
322\fi
323\let\no@subsection\subsection
324\Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
325 \thesubsection \fi}{#1}
326\let\no:subsection\subsection
327\def\subsection{\rdef:sec{subsection}}
328\Def:Section\likesubsection{}{#1}
329\let\:likesubsection\likesubsection
330\let\likesubsection\:UnDef
331\let\no@subsubsection\subsubsection
332\Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
333 \thesubsubsection \fi}{#1}
334\let\no:subsubsection\subsubsection
335\def\subsubsection{\rdef:sec{subsubsection}}
336\Def:Section\likesubsubsection{}{#1}
337\let\:likesubsubsection\likesubsubsection
338\let\likesubsubsection\:UnDef
339\let\no@paragraph\paragraph
340\Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
341 \theparagraph \fi}{#1}
342\let\no:paragraph\paragraph
343\def\paragraph{\rdef:sec{paragraph}}
344\Def:Section\likeparagraph{}{#1}
345\let\:likeparagraph\likeparagraph
346\let\likeparagraph\:UnDef
347\let\no@subparagraph\subparagraph
348\Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
349 \thesubparagraph \fi}{#1}
350\let\no:subparagraph\subparagraph
351\def\subparagraph{\rdef:sec{subparagraph}}
352\Def:Section\likesubparagraph{}{#1}
353\let\:likesubparagraph\likesubparagraph
354\let\likesubparagraph\:UnDef
355\ConfigureToc{likeparagraph} {}{\empty}{}{\newline}
356\ConfigureToc{likepart} {}{\empty}{}{\newline}
357\ConfigureToc{likesection} {}{\empty}{}{\newline}
358\ConfigureToc{likesubparagraph} {}{\empty}{}{\newline}
359\ConfigureToc{likesubsection} {}{\empty}{}{\newline}
360\ConfigureToc{likesubsubsection} {}{\empty}{}{\newline}
361\ConfigureToc{paragraph} {\empty}{\ }{}{\newline}
362\ConfigureToc{part} {\empty}{\ }{}{\newline}
363\ConfigureToc{section} {\empty}{\ }{}{\newline}
364\ConfigureToc{subparagraph} {\empty}{\ }{}{\newline}
365\ConfigureToc{subsection} {\empty}{\ }{}{\newline}
366\ConfigureToc{subsubsection} {\empty}{\ }{}{\newline}
367\ConfigureToc{appendix} {\empty}{\ }{}{\newline}
368\ConfigureToc{chapter} {\empty}{\ }{}{\newline}
369\ConfigureToc{likechapter} {}{\empty}{}{\newline}
370
371\ifx \@@maybeautodot\:UnDef
372 \let\add:chap=\@addchap
373\def\@addchap{%
374 \let\chap:addcontentsline=\addcontentsline
375 \def\addcontentsline{\let\addcontentsline\chap:addcontentsline
376 \:gobbleIII }%
377 \add:chap}
378
379\else
380 \let\no@addchap\@addchap
381\def\@addchap[#1]#2{%
382 \HtmlEnv \Toc:Title{#1}\:addchap{#2}}
383
384\fi
385\let\:makeschapterhead=\@makeschapterhead
386\def\::makeschapterhead#1{\:makeschapterhead{\normalfont\normalsize
387 \:addchap {#1}}}
388\pend:def\addchap{\let\@makeschapterhead\::makeschapterhead}
389\pend:def\chapter{\let\@makeschapterhead\:makeschapterhead}
390\let\:tempb=\addchap
391\Def:Section\addchap{}{#1}
392\let\:addchap=\addchap
393\let\addchap=\:tempb
394\ConfigureToc{addchap} {\empty}{\ }{}{\newline}
395
396\Def:Section\minisec{}{#1}
397\let\:minisec=\minisec
398\def\minisec#1{\:minisec{#1}\@afterheading}
399\pend:defI\@makefntext{\IgnorePar}
400
401\Hinput{scrreprt}
402\endinput
403