summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-21 22:21:39 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-21 23:17:22 -0500
commit9d33ed10ab4207b902907bfd0c824fe32f86f535 (patch)
tree04f0857a62e12bfe05cc2e6baacee23654ce842f
parent332433eb3d94da2c918e9ad12fcdfb8499455cbc (diff)
downloadrockbox-9d33ed10ab4207b902907bfd0c824fe32f86f535.tar.gz
rockbox-9d33ed10ab4207b902907bfd0c824fe32f86f535.zip
manual: Remove some (very) obsolete latex style files.
* scrreprt.4ht * booktabs.sty * optional.sty * pdfdraftcopy.sty Use system-provided stuff instead. Change-Id: I8d11d789b2e1c074a2b10f8ac1c0fec2e0792b20
-rw-r--r--manual/booktabs.sty182
-rw-r--r--manual/optional.sty158
-rw-r--r--manual/pdfdraftcopy.sty198
-rw-r--r--manual/scrreprt.4ht391
4 files changed, 0 insertions, 929 deletions
diff --git a/manual/booktabs.sty b/manual/booktabs.sty
deleted file mode 100644
index cf25d78c2b..0000000000
--- a/manual/booktabs.sty
+++ /dev/null
@@ -1,182 +0,0 @@
1%%
2%% This is file `booktabs.sty',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% booktabs.dtx (with options: `package')
8%%
9%% -----------------------------------------------------------------
10%% Author: Simon Fear
11%% Maintainer: Danie Els (dnjels@sun.ac.za)
12%%
13%% This file is part of the booktabs package for publication
14%% quality tables for LaTeX
15%%
16%% Copyright (C) 1995--2005 Simon Fear
17%%
18%% This program is free software; you can redistribute it and/or
19%% modify it under the terms of the GNU General Public License as
20%% published by the Free Software Foundation; either version 2 of
21%% the License, or (at your option) any later version.
22%%
23%% This program is distributed in the hope that it will be useful,
24%% but WITHOUT ANY WARRANTY; without even the implied warranty of
25%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26%% GNU General Public License for more details.
27%%
28%% You should have received a copy of the GNU General Public
29%% License along with this program; if not, write to the Free
30%% Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31%% MA 02111-1307 USA
32%% -----------------------------------------------------------------
33\NeedsTeXFormat{LaTeX2e}[1999/12/01]
34\ProvidesPackage{booktabs}
35 [2005/04/14 v1.61803 publication quality tables]
36\newdimen\heavyrulewidth
37\newdimen\lightrulewidth
38\newdimen\cmidrulewidth
39\newdimen\belowrulesep
40\newdimen\belowbottomsep
41\newdimen\aboverulesep
42\newdimen\abovetopsep
43\newdimen\cmidrulesep
44\newdimen\cmidrulekern
45\newdimen\defaultaddspace
46\heavyrulewidth=.08em
47\lightrulewidth=.05em
48\cmidrulewidth=.03em
49\belowrulesep=.65ex
50\belowbottomsep=0pt
51\aboverulesep=.4ex
52\abovetopsep=0pt
53\cmidrulesep=\doublerulesep
54\cmidrulekern=.5em
55\defaultaddspace=.5em
56\newcount\@cmidla
57\newcount\@cmidlb
58\newdimen\@aboverulesep
59\newdimen\@belowrulesep
60\newcount\@thisruleclass
61\newcount\@lastruleclass
62\@lastruleclass=0
63\newdimen\@thisrulewidth
64\def\futurenonspacelet#1{\def\@BTcs{#1}%
65 \afterassignment\@BTfnslone\let\nexttoken= }
66\def\@BTfnslone{\expandafter\futurelet\@BTcs\@BTfnsltwo}
67\def\@BTfnsltwo{\expandafter\ifx\@BTcs\@sptoken\let\next=\@BTfnslthree
68 \else\let\next=\nexttoken\fi \next}
69\def\@BTfnslthree{\afterassignment\@BTfnslone\let\next= }
70\def\toprule{\noalign{\ifnum0=`}\fi
71 \@aboverulesep=\abovetopsep
72 \global\@belowrulesep=\belowrulesep %global cos for use in the next noalign
73 \global\@thisruleclass=\@ne
74 \@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}}
75\def\midrule{\noalign{\ifnum0=`}\fi
76 \@aboverulesep=\aboverulesep
77 \global\@belowrulesep=\belowrulesep
78 \global\@thisruleclass=\@ne
79 \@ifnextchar[{\@BTrule}{\@BTrule[\lightrulewidth]}}
80\def\bottomrule{\noalign{\ifnum0=`}\fi
81 \@aboverulesep=\aboverulesep
82 \global\@belowrulesep=\belowbottomsep
83 \global\@thisruleclass=\@ne
84 \@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}}
85\def\specialrule#1#2#3{\noalign{\ifnum0=`}\fi
86 \@aboverulesep=#2\global\@belowrulesep=#3\global\@thisruleclass=\tw@
87 \@BTrule[#1]}
88\def\addlinespace{\noalign{\ifnum0=`}\fi
89 \@ifnextchar[{\@addspace}{\@addspace[\defaultaddspace]}}
90\def\@addspace[#1]{\global\@belowrulesep=#1\global\@thisruleclass=\tw@
91 \futurelet\@tempa\@BTendrule}
92\def\@BTrule[#1]{%
93 \global\@thisrulewidth=#1\relax
94 \ifnum\@thisruleclass=\tw@\vskip\@aboverulesep\else
95 \ifnum\@lastruleclass=\z@\vskip\@aboverulesep\else
96 \ifnum\@lastruleclass=\@ne\vskip\doublerulesep\fi\fi\fi
97 \ifx\longtable\undefined
98 \let\@BTswitch\@BTnormal
99 \else\ifx\hline\LT@hline
100 \let\@BTswitch\@BLTrule
101 \else
102 \let\@BTswitch\@BTnormal
103 \fi\fi
104 \@BTswitch}
105\AtBeginDocument{%
106 \providecommand*\CT@arc@{}}%% colortbl support
107\def\@BTnormal{%
108 {\CT@arc@\hrule\@height\@thisrulewidth}%
109 \futurenonspacelet\@tempa\@BTendrule}
110\def\@BLTrule{\@ifnextchar({\@@BLTrule}{\@@BLTrule()}}
111\def\@@BLTrule(#1){\@setrulekerning{#1}%
112\global\@cmidlb\LT@cols
113\ifnum0=`{\fi}%
114\@cmidruleb
115\noalign{\ifnum0=`}\fi
116\futurenonspacelet\@tempa\@BTendrule}
117\def\@BTendrule{\ifx\@tempa\toprule\global\@lastruleclass=\@thisruleclass
118 \else\ifx\@tempa\midrule\global\@lastruleclass=\@thisruleclass
119 \else\ifx\@tempa\bottomrule\global\@lastruleclass=\@thisruleclass
120 \else\ifx\@tempa\cmidrule\global\@lastruleclass=\@thisruleclass
121 \else\ifx\@tempa\specialrule\global\@lastruleclass=\@thisruleclass
122 \else\ifx\@tempa\addlinespace\global\@lastruleclass=\@thisruleclass
123 \else\global\@lastruleclass=\z@\fi\fi\fi\fi\fi\fi
124 \ifnum\@lastruleclass=\@ne\relax\else\vskip\@belowrulesep\fi
125 \ifnum0=`{\fi}}
126\def\@setrulekerning#1{%
127 \global\let\cmrkern@l\z@
128 \global\let\cmrkern@r\z@
129 \@tfor\@tempa :=#1\do
130 {\def\@tempb{r}%
131 \ifx\@tempa\@tempb
132 \global\let\cmrkern@r\cmidrulekern
133 \def\cmrsideswitch{\cmrkern@r}%
134 \else
135 \def\@tempb{l}%
136 \ifx\@tempa\@tempb
137 \global\let\cmrkern@l\cmidrulekern
138 \def\cmrsideswitch{\cmrkern@l}%
139 \else
140 \global\expandafter\let\cmrsideswitch\@tempa
141 \fi
142 \fi}}
143\def\cmidrule{\noalign{\ifnum0=`}\fi
144 \@ifnextchar[{\@cmidrule}{\@cmidrule[\cmidrulewidth]}}
145\def\@cmidrule[#1]{\@ifnextchar({\@@cmidrule[#1]}{\@@cmidrule[#1]()}}
146\def\@@cmidrule[#1](#2)#3{\@@@cmidrule[#3]{#1}{#2}}
147\def\@@@cmidrule[#1-#2]#3#4{\global\@cmidla#1\relax
148 \global\advance\@cmidla\m@ne
149 \ifnum\@cmidla>0\global\let\@gtempa\@cmidrulea\else
150 \global\let\@gtempa\@cmidruleb\fi
151 \global\@cmidlb#2\relax
152 \global\advance\@cmidlb-\@cmidla
153 \global\@thisrulewidth=#3
154 \@setrulekerning{#4}
155 \ifnum\@lastruleclass=\z@\vskip \aboverulesep\fi
156 \ifnum0=`{\fi}\@gtempa
157 \noalign{\ifnum0=`}\fi\futurenonspacelet\@tempa\@xcmidrule}
158\def\@xcmidrule{%
159 \ifx\@tempa\cmidrule
160 \vskip-\@thisrulewidth
161 \global\@lastruleclass=\@ne
162 \else \ifx\@tempa\morecmidrules
163 \vskip \cmidrulesep
164 \global\@lastruleclass=\@ne\else
165 \vskip \belowrulesep
166 \global\@lastruleclass=\z@
167 \fi\fi
168 \ifnum0=`{\fi}}
169\def\@cmidrulea{%
170 \multispan\@cmidla&\multispan\@cmidlb
171 \unskip\hskip\cmrkern@l%
172 {\CT@arc@\leaders\hrule \@height\@thisrulewidth\hfill}%
173 \hskip\cmrkern@r\cr}%
174\def\@cmidruleb{%
175 \multispan\@cmidlb
176 \unskip\hskip \cmrkern@l%
177 {\CT@arc@\leaders\hrule \@height\@thisrulewidth\hfill}%
178 \hskip\cmrkern@r\cr}%
179\def\morecmidrules{\noalign{\relax}}
180\endinput
181%%
182%% End of file `booktabs.sty'.
diff --git a/manual/optional.sty b/manual/optional.sty
deleted file mode 100644
index 847589cb61..0000000000
--- a/manual/optional.sty
+++ /dev/null
@@ -1,158 +0,0 @@
1%
2% O P T I O N A L . S T Y
3% ~~~~~~~~~~~~~~~~~~~~~~~
4% ver 2.2b Jan 2005
5%
6% Enable multiple versions of a document to be printed from one source file,
7% especially if most of the text is shared between versions.
8%
9% Copyright 1993,1999,2001,2005 by Donald Arseneau (asnd@triumf.ca).
10% This software is released under the terms of the LaTeX Project Public
11% License (ftp://ctan.tug.org/tex-archive/macros/latex/base/lppl.txt).
12% (Essentially: Free to use, copy, distribute (sell) and change, but, if
13% changed, that fact must be made apparent to the user.) It has a
14% status of "maintained".
15%
16%
17% HOW TO USE
18% ~~~~~~~~~~
19% One way to use this package is to declare (for example)
20%
21% \usepackage[opta]{optional}
22%
23% at the beginning of your document, and flag optional text throughout
24% your document like:
25%
26% \opt{opta}{Do this if option opta was declared}
27% \opt{optb}{Do this if option optb was declared}
28% \opt{optx,opty}{Do this if either option optx or opty}
29% \opt{}{Never print this text!}
30% \opt{opta}{\input{appendices}}
31% \optv{xam}{Type: \verb|[root /]$ rm -r *|.}
32%
33% Note that both the package option and the "\opt" argument can contain
34% lists of options although, in practice, one or the other should be a
35% single option name. Lists are allowed in both places to allow more
36% flexibility in the style of use. (But making the definitions much more
37% difficult, Grrr.)
38%
39% Just as for "\includeonly", you will have to edit the main document
40% file to switch option codes (i.e., change the "\usepackage" line).
41% There are, however, several ways to use this package without altering
42% the main document file: separate files, file-name sensing, interactive
43% prompting, and command-line option selection.
44%
45% Typically, different versions of a document will require different
46% document class and package setup, besides the different tags for
47% optional.sty. In that case it is best to have a separate main file
48% for each version of the document. Each stub file will declare the
49% document class and load some packages (including this one) and then
50% input the rest of the document from a file common to all versions.
51%
52% \documentclass[A0]{poster}
53% \usepackage[poster]{optional}
54% \input{my_paper}
55%
56% If the different opt-tags match the different stub file names (file
57% poster.tex will typeset the "poster" version) then you can specify
58%
59% \usepackage[\jobname]{optional}
60%
61% Alternatively, this "\jobname" technique can make use of symbolic links,
62% if your computer system supports them, by having a single main input
63% file accessed under different names (and different "\jobname"s).
64%
65% Another scheme is to invoke LaTeX with the command line such as:
66%
67% latex "\def\UseOption{opta,optb}\input{file}"
68%
69% (with quoting appropriate to your operating system) then options "opta"
70% and "optb" will be used in addition to any options specified with the
71% "\usepackage" command.
72%
73% You can prompt yourself to specify the option(s) with every run
74% through LaTeX:
75%
76% \usepackage{optional}
77% \newcommand{\ExplainOptions}{man = users manual, check = checklist,
78% ref = reference card, post = poster.}
79% \AskOption
80%
81% The definition of "\ExplainOptions" is optional; it only serves to help
82% the person who answers the question. The "\AskOption" is also optional;
83% it will be executed automatically whenever optional.sty sees no list of
84% options. This method is too tedious to use much.
85%
86% The normal restrictions forbidding special characters in package options
87% and reference tags apply also the the tags used by the "\opt" command.
88%
89% These are not `comment' macros: The optional text must be well-formed
90% with balanced braces, even if not printed. The "\opt" command *IS*
91% completely `expandable' which means it is robust and can even be used
92% in messages ("\typeout").
93%
94% As usual, "\verb" commands and verbatim environments cannot be used
95% in the argument to "\opt". For this purpose there is a variant form
96% of "\opt" called "\optv" (optional verbatim) which may have a limited
97% class of verbatim material in the argument. It can do so by leaving
98% the braces around the argument, which may have undesired side effects.
99% For an "\optv" argument to be successfully ignored, the verbatim material
100% must have balanced braces etc.
101%
102% The "\opt" command is only intended for small sections of text. If you
103% need to optionally include whole sections or chapters, put that material
104% in a separate file, and "\opt"-ionally use an "\input" command:
105%
106% \opt{internal}{\input{prog_listings}}
107%
108%====================== END INSTRUCTIONS ========================
109
110\ProvidesPackage{optional}[2005/01/26 ver 2.2b; \space
111 Optional inclusion/omission]
112% Initialize used-option-list to \@gobble to eat the comma when the first
113% entry is `appended'.
114\@ifundefined{UseOption}{\let\UseOption\@gobble}{}
115\DeclareOption*{\edef\UseOption{\UseOption,\CurrentOption}}
116\ProcessOptions
117\AtBeginDocument{\Opl@Setup}
118
119\newcommand*\opt[1]{\if\Opl@notlisted{#1}\expandafter\@gobble
120 \else \expandafter\@firstofone \fi}
121
122\newcommand*\optv[1]{\if\Opl@notlisted{#1}\expandafter\@gobble\fi}
123
124% This initial definition forces immediate setup if \opt used in the preamble
125\def\Opl@notlisted{\fi \Opl@Setup \if\Opl@notlisted}
126
127\newcommand\AskOption{%
128 \@ifundefined{ExplainOptions}{}{\typeout{\ExplainOptions}}%
129 \typein[\UseOption]{Specify which optional text to process:}%
130 }
131
132\def\Opl@Setup{%
133 \ifx\UseOption\@gobble\AskOption\fi
134 \let\Opl@notlisted\@empty % initialize list of checks
135 \@for\@tempa:=\UseOption\do{%
136 \ifx\@tempa\@empty\else\expandafter\Opl@oneop\expandafter{\@tempa}\fi}%
137 \ifx\Opl@notlisted\@empty \PackageWarning{optional}%
138 {No options were selected, so all optional text will be printed}%
139 \let\opt\@secondoftwo
140 \else
141 \typeout{Using optional text marked with \UseOption. }%
142 \toks@\expandafter{\Opl@notlisted}%
143 \edef\@tempa{\def\noexpand\Opl@notlisted####1{,\the\toks@,}}\@tempa
144 \fi
145 \let\Opl@Setup\@empty \let\Opl@oneop\undefined
146 \let\AskOption\undefined \let\ExplainOptions\undefined
147}
148\begingroup
149\catcode`\Z= 3 % special delimiter
150\gdef\Opl@oneop#1{%
151 \@ifundefined{Opl@Match@#1}{%
152 \toks@\expandafter{\Opl@notlisted}%
153 \edef\Opl@notlisted{\the\toks@ \csname Opl@Match@#1\endcsname ,####1,#1,Z}%
154 \@namedef{Opl@Match@#1}##1,#1,##2Z{##2}%
155 }\relax
156}
157\endgroup
158\endinput
diff --git a/manual/pdfdraftcopy.sty b/manual/pdfdraftcopy.sty
deleted file mode 100644
index 07da7eab8a..0000000000
--- a/manual/pdfdraftcopy.sty
+++ /dev/null
@@ -1,198 +0,0 @@
1%%
2%%
3%% This is file 'pdfdraftcopy.sty',
4%% generated with the docstrip utility.
5%%
6%% The original source files were:
7%%
8%%
9%% pdfdraftcopy.dtx (with options: 'package')
10%%
11%% File: pdfdraftcopy.dtx Copyright (c) 2003, C. V. Radhakrishnan
12%% C. V. Rajagopal
13%% River Valley Technologies, Floor III, SJP Buildings
14%% Cotton Hills, Trivandrum, India 695014
15%% http://www.river-valley.com
16%%
17%% This package may be distributed under the terms of the LaTeX Project
18%% Public License, as described in lppl.txt in the base LaTeX distribution.
19%% Either version 1.0 or, at your option, any later version.
20%%
21%% $Id: pdfdraftcopy.sty,v 1.2 2003/08/11 20:31:07 cvr Exp cvr $
22%%
23\NeedsTeXFormat{LaTeX2e}
24\def\Fileversion$#1: #2 ${\gdef\fileversion{#2}}
25\def\Filedate$#1: #2 #3 ${\gdef\filedate{#2}}
26\Fileversion$Revision: 1.2 $
27\Filedate$Date: 2003/08/11 20:31:07 $
28\ProvidesPackage{pdfdraftcopy}
29 [\filedate\space\fileversion\space Draft copy in PDF (CVR)]
30\PackageWarningNoLine{pdfdraftcopy}
31 {****************************************\MessageBreak
32 Package pdfdraftcopy v,\fileversion\space loaded\MessageBreak
33 [Draft copy in PDF (CVR)]\MessageBreak
34 ****************************************}
35\DeclareOption{watermark}{\AtBeginDocument{%
36 \begingroup\watermark\endgroup}}
37\DeclareOption{draft}{\AtBeginDocument{%
38 \begingroup\draftcopy\endgroup}}
39\ExecuteOptions{draft}
40\ProcessOptions\relax
41
42\RequirePackage{color,graphicx}
43
44\let\@DRAFTout@Hook\@empty
45\newcommand{\DRAFTout}{\g@addto@macro\@DRAFTout@Hook}
46\newcommand{\@DRAFTout@Out}{%
47 \afterassignment\@DRAFTout@Test
48 \global\setbox\@cclv= %
49 }
50\newcommand{\@DRAFTout@Test}{%
51 \ifvoid\@cclv\relax
52 \aftergroup\@DRAFTout@Output
53 \else
54 \@DRAFTout@Output
55 \fi%
56 }
57\newcommand{\@DRAFTout@Output}{%
58 \@DRAFTout@Hook%
59 \@DRAFTout@Org@Out\box\@cclv%
60 }
61\newcommand{\@DRAFTout@Org@Out}{}
62\newcommand*{\@DRAFTout@Init}{%
63 \let\@DRAFTout@Org@Out\shipout
64 \let\shipout\@DRAFTout@Out
65 }
66\AtBeginDocument{\@DRAFTout@Init}
67\newcommand{\@DraftOverlay@Hook}{}
68\newcommand{\AddToDraftOverlay}{\g@addto@macro\@DraftOverlay@Hook}
69\newcommand{\ClearDraftOverlay}{\let\@DraftOverlay@Hook\@empty}
70\newcommand{\@DraftOverlay}{%
71 \ifx\@DraftOverlay@Hook\@empty
72 \else
73 \bgroup
74 \@tempdima=1in
75 \@tempcnta=\@tempdima
76 \@tempcntb=-\@tempdima
77 \advance\@tempcntb\paperheight
78 \global\setbox\@cclv\vbox{%
79 \vbox{\let\protect\relax%
80 \unitlength=1sp%
81 \pictur@(0,0)(\@tempcnta,\@tempcntb)%
82 \@DraftOverlay@Hook%
83 \endpicture}%
84 \box\@cclv%
85 }%
86 \egroup
87 \fi
88}
89
90\definecolor{gray30}{gray}{.7}
91\definecolor{gray20}{gray}{.8}
92\definecolor{gray10}{gray}{.9}
93
94\DRAFTout{\@DraftOverlay}
95\newdimen\LLY
96\newdimen\LLX
97\newdimen\URX
98\newdimen\URY
99\newdimen\topmargin
100\newdimen\bottommargin
101\def\@printdimen{%\ifthenelse{\equal{\@debug}{true}}%
102 {\PackageWarningNoLine{PDFdraftcopy}%
103 {\LLX::::::::::::=\the\LLX\MessageBreak
104 \LLY::::::::::::=\the\LLY\MessageBreak
105 \URX::::::::::::=\the\URX\MessageBreak
106 \URY::::::::::::=\the\URY\MessageBreak
107 \oddsidemargin::=\the\oddsidemargin\MessageBreak
108 \evensidemargin:=\the\evensidemargin\MessageBreak
109 \textheight:::::=\the\textheight\MessageBreak
110 \textwidth::::::=\the\textwidth\MessageBreak
111 \paperwidth:::::=\the\paperwidth\MessageBreak
112 \paperheight::::=\the\paperheight\MessageBreak
113 \topmargin::::::=\the\topmargin\MessageBreak
114 \headheight:::::=\the\headheight\MessageBreak
115 \headsep::::::::=\the\headsep\MessageBreak
116 \footskip:::::::=\the\footskip\MessageBreak
117 \topskip::::::::=\the\topskip\MessageBreak
118 Now fixing the overlay in place
119 }}{}
120}
121\def\@DRAFTdimen{%
122 \setlength\LLY{\paperheight}
123 \addtolength\LLY{-\textheight}
124 \addtolength\LLY{-\headheight}
125 \addtolength\LLY{-\headsep}
126 \addtolength\LLY{-1in}
127 \addtolength\LLY{-3pt}
128 \setlength\LLX{1in}
129 \ifodd\c@page
130 \addtolength\LLX{\oddsidemargin}\else
131 \addtolength\LLX{\evensidemargin}\fi
132 \setlength\URX{\textwidth}
133 \setlength\URY{\textheight}
134}
135\def\LoadWaterMark{\watermark}
136\def\watermark{\AddToDraftOverlay{%
137 \@DRAFTdimen%\@printdimen%
138 \setlength{\@tempdima}{0pt}
139 \setlength{\@tempdimb}{\paperwidth}
140 \addtolength{\@tempdimb}{-\@tempdima}
141 \addtolength{\@tempdimb}{-\@tempdima}
142 \setlength{\@tempdimc}{\paperheight}
143 \addtolength{\@tempdimc}{-\@tempdima}
144 \addtolength{\@tempdimc}{-\@tempdima}
145 \setlength{\unitlength}{1pt}\thinlines%
146%
147 \put(0,\strip@pt\paperheight){\fboxrule0pt\fboxsep0pt%
148 %\fcolorbox{white}{red}%
149 {\begin{minipage}[t][\paperheight][c]{\paperwidth}
150 \centering
151 \ifx\@@watermark\@empty\relax\else
152 \includegraphics%[width=\paperwidth,height=\paperheight]%
153 {\@@watermark}\fi%
154 \end{minipage}}}}}%
155
156\let\@@watermark\@empty
157\def\watermarkgraphic#1{\gdef\@@watermark{#1}}
158
159\def\draftcopy{\AddToDraftOverlay{%
160 \@DRAFTdimen%\@printdimen%
161 \setlength{\@tempdima}{0pt}
162 \setlength{\@tempdimb}{\paperwidth}
163 \addtolength{\@tempdimb}{-\@tempdima}
164 \addtolength{\@tempdimb}{-\@tempdima}
165 \setlength{\@tempdimc}{\paperheight}
166 \addtolength{\@tempdimc}{-\@tempdima}
167 \addtolength{\@tempdimc}{-\@tempdima}
168 \setlength{\unitlength}{1pt}\thinlines%
169%
170 \put(0,\strip@pt\paperheight){\fboxrule0pt\fboxsep0pt%
171 %\fcolorbox{white}{red}%
172 {\begin{minipage}[t][\paperheight][c]{\paperwidth}
173 \centering
174 \begingroup
175 \rotatebox{\@draftangle}{\color{\@draftcolor}
176 \fontfamily{\@draftfontfamily}%
177 \fontsize{\@draftfontsize}{\@draftfontsize}\selectfont
178 {\@draftfontattrib\@draftstring}
179 }\endgroup
180 \end{minipage}}}}}%
181
182\def\@draftangle{45}
183\def\@draftstring{DRAFT COPY}
184\def\@draftcolor{gray10}
185\def\@draftfontfamily{ptm}
186\def\@draftfontsize{80}
187\def\@draftfontattrib{\upshape}
188\def\draftstring#1{\gdef\@draftstring{#1}}
189\def\draftcolor#1{\gdef\@draftcolor{#1}}
190\def\draftfontfamily#1{\gdef\@draftfontfamily{#1}}
191\def\draftfontsize#1{\gdef\@draftfontsize{#1}}
192\def\draftfontattrib#1{\gdef\@draftfontattrib{#1}}
193\def\draftangle#1{\gdef\@draftangle{#1}}
194\endinput
195%%
196%%
197%% End of package 'pdfdraftcopy.sty'
198%%
diff --git a/manual/scrreprt.4ht b/manual/scrreprt.4ht
deleted file mode 100644
index 2b65448826..0000000000
--- a/manual/scrreprt.4ht
+++ /dev/null
@@ -1,391 +0,0 @@
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 \:tableofcontents}
78
79
80\let\:tempb\chapter
81\Def:Section\chapter{\thechapter}{#1}
82\let\:chapter\chapter
83\let\chapter\:tempb
84\def\@makechapterhead#1{}
85\let\no@chapter\@chapter
86\def\@chapter[#1]#2{%
87 \gHAdvance\:mpNum by 1
88\HAssign\minipageNum=\:mpNum \relax
89%
90 {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII\no@chapter[#1]{}}%
91 \HtmlEnv \Toc:Title{#1}\:chapter{#2}}
92\Def:Section\likechapter{}{#1}
93\let\:likechapter\likechapter
94\let\likechapter\:UnDef
95\let\no@schapter\@schapter
96\def\@schapter#1{%
97 {\let\addcontentsline\:gobbleIII\no@schapter{}}%
98 \HtmlEnv \:likechapter{#1}}
99\let\no@appendix\appendix
100\Def:Section\appendix{\thechapter}{#1}
101\let\:appendix\appendix
102\def\appendix{%
103 \def\@chapter[##1]##2{%
104 \gHAdvance\:mpNum by 1
105\HAssign\minipageNum=\:mpNum \relax
106%
107 {\def\addcontentsline####1####2####3{}\no@chapter[##1]{}}%
108 \HtmlEnv \Toc:Title{##1}\:appendix{##2}}%
109 \no@appendix}
110
111\NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
112 \c:def\cptC:{#3}\c:def\cptD:{#4}}
113\long\def\@makecaption#1#2{%
114 {\cptA: \cap:ref{#1}%
115\cptB:}{\cptC:{#2}\cptD:}}
116
117
118\pend:def\caption{\SkipRefstepAnchor}
119\append:def\quote{\par\@totalleftmargin\z@}
120\long\def\c:theindex:#1#2#3#4#5#6#7#8#9{%
121 \def\theindex{%
122 \def\idx:item{\SaveEverypar\ht:everypar{}#1}%
123 \def\endtheindex{\idx:item#2\RecallEverypar}%
124 \def\item{\idx:item\def\idx:item{#4}\let\index\@gobble #3}%
125 \def\subitem{\idx:item\def\idx:item{#6}\let\index\@gobble #5}%
126 \def\subsubitem{\idx:item\def\idx:item{#8}\let\index\@gobble #7}}%
127 \def\indexspace{\idx:item#9\let\idx:item\empty}}
128\def\warn:idx#1{%
129 \expandafter\ifx \csname #1warn:idx\endcsname\relax
130 \expandafter\global
131 \expandafter\let \csname #1warn:idx\endcsname\def
132 \immediate\write16
133 {---------------------------------------------------------}%
134 \:warning{If not done so, the index is to be processed by
135 ^^J\space\space tex '\string\def\string\filename
136 {{#1}{idx}{4dx}{ind}} \noexpand\input\space idxmake.4ht'
137 ^^J\space\space makeindex -o #1.ind #1.4dx
138 ^^Jinstead of
139 ^^J\space\space makeindex -o #1.ind #1.idx
140 ^^JOn some platforms, the quotation marks ' should be
141 ^^J replaced by double quotation marks " or eliminated.
142 ^^J---------------------------------------------------------
143 }%
144 {\Configure{Needs}{File: #1.4idx}\Needs{}}%
145 \fi}
146\ifOption{info}{\Log:Note{
147A script of the form
148^^Jtex '\def\string\filename{{\%\%1}{idx}{4dx}{ind}}
149 \string\input\space idxmake.4ht'
150^^Jmakeindex -o \%\%1.ind \%\%1.4dx
151^^Jin the env file, automatically calls to the revised makeindex
152^^Jcommand. An extra compilation of the source LaTeX file is required,
153^^Jto get the index correctly into the output.}}{}
154\def\ind:defs{\let\LNKidx\empty
155 \def\LNK##1##2##3##4{\ifx\NewConfigure\:UnDef\else
156 \def\LNK:number{##4}%
157 \a:LNK[##1]{##2}{}\gHAdvance\:LNKno1
158 \def\:THIrd{##3}\ifx\:THIrd\empty
159 \LNKidx{\ifx\c:LNK\empty\:LNKno\else \c:LNK\fi}\else
160 \LNKidx{##3}\fi
161 \global\let\LNKidx\empty
162 \b:LNK
163 \fi}%
164 \def\:LNKno{0}}
165\NewConfigure{LNK}{3}
166\Configure{LNK}{\Link}{\EndLink}{}
167\def\yhbLNK#1{\expandafter\let\expandafter\LNKidx\csname
168 #1\endcsname\LNK}
169
170\Configure{@begin}{theindex}{\ind:defs}
171
172\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
173 \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
174\NewConfigure{thanks author date and}[8]{%
175 \c:def\a:thanks{#1}\c:def\b:thanks{#2}%
176 \c:def\a:author{#3}\c:def\b:author{#4}%
177 \c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}}
178
179
180\append:def\quotation{\a:quotation\par\@totalleftmargin\z@}
181\NewConfigure{quotation}{1}
182\NewConfigure{listof}{6}
183
184\def\tableofcontents{%
185 \:tableofcontents}
186
187\edef\:TOC{%
188 \noexpand\ifx [\noexpand\:temp
189 \noexpand\expandafter\noexpand\:TableOfContents
190 \noexpand\else
191 \noexpand\Auto:ent{\ifnum \c@tocdepth >-2 part,\fi
192 \ifnum \c@tocdepth >\m@ne chapter,appendix,addchap,\fi
193 \ifnum \z@>\c@tocdepth\else section,\fi
194 \ifnum 1>\c@tocdepth \else subsection,\fi
195\ifnum 2>\c@tocdepth \else subsection,\fi
196\ifnum 3>\c@tocdepth \else subsubsection,\fi
197\ifnum 4>\c@tocdepth \else paragraph,\fi
198\ifnum 5>\c@tocdepth \else subparagraph,\fi
199UnDFexyz}%
200 \noexpand\fi}
201\def\:tableofcontents{\futurelet\:temp\:TOC}
202\def\Auto:ent#1{%
203 \edef\auto:toc{\noexpand\:TableOfContents[\ifx \auto:toc\:UnDef
204 #1\else \auto:toc \fi]} \auto:toc
205 \global\let\auto:toc\:UnDef }
206\def\:tocs{\noexpand\:tableofcontents}
207\pend:defIII\addcontentsline{%
208 \def\:temp{##1}\def\:tempa{toc}\ifx \:temp\:tempa
209 \gHAdvance\TitleCount 1 \fi }
210\def\@dottedtocline#1#2#3#4#5{\hbox{\def\numberline##1{\e:listof
211 ##1\f:listof}\c:listof#4\d:listof}\ignorespaces}
212\def\@starttoc#1{%
213 \begingroup
214 \makeatletter \Configure{cite}{}{}{}{}%
215 \def\:temp{#1}\def\:tempa{toc}%
216 \a:listof\par
217 \@input{\jobname.\ifx \:temp\:tempa 4ct\else #1\fi}%
218 \b:listof
219 \if@filesw
220 \expandafter\expandafter\csname
221 newwrite\endcsname\csname tf@#1\endcsname
222 \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
223 \fi
224 \global\@nobreakfalse
225 \endgroup}
226\NewConfigure{tableofcontents*}[1]{%
227 \def\:tempa{#1}\ifx\empty\:tempa
228 \ifx \au:StartSec\:UnDef \else \gdef\:StartSec{\au:StartSec}\fi
229 \else
230 \edef\auto:toc{#1}%
231 \ifx \au:StartSec\:UnDef
232 \let\au:StartSec\:StartSec
233 \def\:StartSec{\:tableofcontents
234 \global\let\auto:toc\:UnDef \:StartSec}%
235 \pend:def\:tableofcontents{\gdef\:StartSec{\au:StartSec}}%
236 \fi \fi
237}
238
239
240\ifx \@openbib@code\:UnDef \else
241 \pend:def\@openbib@code{\labelsep\z@}
242\fi
243\def\:temp#1#2!*?: {\def\:temp{#1}}
244\expandafter\:temp\usepackage!*?:
245\def\:tempa{\@latex@e@error}
246\ifx \:temp\:tempa \else
247 \def\popthree#1#2#3#4{#4}
248 \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
249 \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
250 {\expandafter\noexpand
251 \csname o:\expandafter\expandafter\:gobble\expandafter\string \popthree#3:\endcsname}}}
252\def\:temp#1{%
253 \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
254\:temp{rm}
255\:temp{sf}
256\:temp{tt}
257\:temp{bf}
258\:temp{it}
259
260\fi
261 \let\:tempc\listoffigures
262\pend:def\:tempc{\begingroup \a:listoffigures
263 \def\@starttoc{\:tableofcontents[lof]\:gobble}}
264\append:def\:tempc{\b:listoffigures \endgroup}
265\HLet\listoffigures\:tempc
266\let\:tempc\listoftables
267\pend:def\:tempc{\begingroup \a:listoftables
268 \def\@starttoc{\:tableofcontents[lot]\:gobble}}
269\append:def\:tempc{\b:listoftables \endgroup}
270\HLet\listoftables\:tempc
271
272 \NewConfigure{listoffigures}{2}
273\NewConfigure{listoftables}{2}
274
275\ifx \part\:UnDef\else
276 \def\@part[#1]#2{%
277 \ifnum \c@secnumdepth >-2\relax
278 \SkipRefstepAnchor \refstepcounter{part}%
279 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
280 \else
281 \addcontentsline{toc}{part}{#1}%
282 \fi
283 \csname @endpart\endcsname}
284\let\:tempb\part
285\Def:Section\part{\thepart}{#1}
286\let\:part\part
287\let\part\:tempb
288\let\no@part\@part
289\def\@part[#1]#2{%
290 {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
291 \HtmlEnv \Toc:Title{#1}\:part{#2}}
292\Def:Section\likepart{}{#1}
293\let\:likepart\likepart
294\let\likepart\:UnDef
295\let\no@spart\@spart
296\def\@spart#1{%
297 {\let\addcontentsline\:gobbleIII\no@spart{}}%
298 \HtmlEnv \:likepart{#1}}
299
300\fi
301\ifx \section\:UnDef\else
302 \let\no@section\section
303\Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
304 \thesection \fi}{#1}
305\let\no:section\section
306\def\section{\rdef:sec{section}}
307\Def:Section\likesection{}{#1}
308\let\:likesection\likesection
309\let\likesection\:UnDef
310\fi
311\let\no@subsection\subsection
312\Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
313 \thesubsection \fi}{#1}
314\let\no:subsection\subsection
315\def\subsection{\rdef:sec{subsection}}
316\Def:Section\likesubsection{}{#1}
317\let\:likesubsection\likesubsection
318\let\likesubsection\:UnDef
319\let\no@subsubsection\subsubsection
320\Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
321 \thesubsubsection \fi}{#1}
322\let\no:subsubsection\subsubsection
323\def\subsubsection{\rdef:sec{subsubsection}}
324\Def:Section\likesubsubsection{}{#1}
325\let\:likesubsubsection\likesubsubsection
326\let\likesubsubsection\:UnDef
327\let\no@paragraph\paragraph
328\Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
329 \theparagraph \fi}{#1}
330\let\no:paragraph\paragraph
331\def\paragraph{\rdef:sec{paragraph}}
332\Def:Section\likeparagraph{}{#1}
333\let\:likeparagraph\likeparagraph
334\let\likeparagraph\:UnDef
335\let\no@subparagraph\subparagraph
336\Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
337 \thesubparagraph \fi}{#1}
338\let\no:subparagraph\subparagraph
339\def\subparagraph{\rdef:sec{subparagraph}}
340\Def:Section\likesubparagraph{}{#1}
341\let\:likesubparagraph\likesubparagraph
342\let\likesubparagraph\:UnDef
343\ConfigureToc{likeparagraph} {}{\empty}{}{\newline}
344\ConfigureToc{likepart} {}{\empty}{}{\newline}
345\ConfigureToc{likesection} {}{\empty}{}{\newline}
346\ConfigureToc{likesubparagraph} {}{\empty}{}{\newline}
347\ConfigureToc{likesubsection} {}{\empty}{}{\newline}
348\ConfigureToc{likesubsubsection} {}{\empty}{}{\newline}
349\ConfigureToc{paragraph} {\empty}{\ }{}{\newline}
350\ConfigureToc{part} {\empty}{\ }{}{\newline}
351\ConfigureToc{section} {\empty}{\ }{}{\newline}
352\ConfigureToc{subparagraph} {\empty}{\ }{}{\newline}
353\ConfigureToc{subsection} {\empty}{\ }{}{\newline}
354\ConfigureToc{subsubsection} {\empty}{\ }{}{\newline}
355\ConfigureToc{appendix} {\empty}{\ }{}{\newline}
356\ConfigureToc{chapter} {\empty}{\ }{}{\newline}
357\ConfigureToc{likechapter} {}{\empty}{}{\newline}
358
359\ifx \@@maybeautodot\:UnDef
360 \let\add:chap=\@addchap
361\def\@addchap{%
362 \let\chap:addcontentsline=\addcontentsline
363 \def\addcontentsline{\let\addcontentsline\chap:addcontentsline
364 \:gobbleIII }%
365 \add:chap}
366
367\else
368 \let\no@addchap\@addchap
369\def\@addchap[#1]#2{%
370 \HtmlEnv \Toc:Title{#1}\:addchap{#2}}
371
372\fi
373\let\:makeschapterhead=\@makeschapterhead
374\def\::makeschapterhead#1{\:makeschapterhead{\normalfont\normalsize
375 \:addchap {#1}}}
376\pend:def\addchap{\let\@makeschapterhead\::makeschapterhead}
377\pend:def\chapter{\let\@makeschapterhead\:makeschapterhead}
378\let\:tempb=\addchap
379\Def:Section\addchap{}{#1}
380\let\:addchap=\addchap
381\let\addchap=\:tempb
382\ConfigureToc{addchap} {\empty}{\ }{}{\newline}
383
384\Def:Section\minisec{}{#1}
385\let\:minisec=\minisec
386\def\minisec#1{\:minisec{#1}\@afterheading}
387\pend:defI\@makefntext{\IgnorePar}
388
389\Hinput{scrreprt}
390\endinput
391