From 9d33ed10ab4207b902907bfd0c824fe32f86f535 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 21 Nov 2020 22:21:39 -0500 Subject: [PATCH] manual: Remove some (very) obsolete latex style files. * scrreprt.4ht * booktabs.sty * optional.sty * pdfdraftcopy.sty Use system-provided stuff instead. Change-Id: I8d11d789b2e1c074a2b10f8ac1c0fec2e0792b20 --- manual/booktabs.sty | 182 ------------------- manual/optional.sty | 158 ---------------- manual/pdfdraftcopy.sty | 198 -------------------- manual/scrreprt.4ht | 391 ---------------------------------------- 4 files changed, 929 deletions(-) delete mode 100644 manual/booktabs.sty delete mode 100644 manual/optional.sty delete mode 100644 manual/pdfdraftcopy.sty delete mode 100644 manual/scrreprt.4ht 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 @@ -%% -%% This is file `booktabs.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% booktabs.dtx (with options: `package') -%% -%% ----------------------------------------------------------------- -%% Author: Simon Fear -%% Maintainer: Danie Els (dnjels@sun.ac.za) -%% -%% This file is part of the booktabs package for publication -%% quality tables for LaTeX -%% -%% Copyright (C) 1995--2005 Simon Fear -%% -%% This program is free software; you can redistribute it and/or -%% modify it under the terms of the GNU General Public License as -%% published by the Free Software Foundation; either version 2 of -%% the License, or (at your option) any later version. -%% -%% This program is distributed in the hope that it will be useful, -%% but WITHOUT ANY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -%% GNU General Public License for more details. -%% -%% You should have received a copy of the GNU General Public -%% License along with this program; if not, write to the Free -%% Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, -%% MA 02111-1307 USA -%% ----------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{booktabs} - [2005/04/14 v1.61803 publication quality tables] -\newdimen\heavyrulewidth -\newdimen\lightrulewidth -\newdimen\cmidrulewidth -\newdimen\belowrulesep -\newdimen\belowbottomsep -\newdimen\aboverulesep -\newdimen\abovetopsep -\newdimen\cmidrulesep -\newdimen\cmidrulekern -\newdimen\defaultaddspace -\heavyrulewidth=.08em -\lightrulewidth=.05em -\cmidrulewidth=.03em -\belowrulesep=.65ex -\belowbottomsep=0pt -\aboverulesep=.4ex -\abovetopsep=0pt -\cmidrulesep=\doublerulesep -\cmidrulekern=.5em -\defaultaddspace=.5em -\newcount\@cmidla -\newcount\@cmidlb -\newdimen\@aboverulesep -\newdimen\@belowrulesep -\newcount\@thisruleclass -\newcount\@lastruleclass -\@lastruleclass=0 -\newdimen\@thisrulewidth -\def\futurenonspacelet#1{\def\@BTcs{#1}% - \afterassignment\@BTfnslone\let\nexttoken= } -\def\@BTfnslone{\expandafter\futurelet\@BTcs\@BTfnsltwo} -\def\@BTfnsltwo{\expandafter\ifx\@BTcs\@sptoken\let\next=\@BTfnslthree - \else\let\next=\nexttoken\fi \next} -\def\@BTfnslthree{\afterassignment\@BTfnslone\let\next= } -\def\toprule{\noalign{\ifnum0=`}\fi - \@aboverulesep=\abovetopsep - \global\@belowrulesep=\belowrulesep %global cos for use in the next noalign - \global\@thisruleclass=\@ne - \@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}} -\def\midrule{\noalign{\ifnum0=`}\fi - \@aboverulesep=\aboverulesep - \global\@belowrulesep=\belowrulesep - \global\@thisruleclass=\@ne - \@ifnextchar[{\@BTrule}{\@BTrule[\lightrulewidth]}} -\def\bottomrule{\noalign{\ifnum0=`}\fi - \@aboverulesep=\aboverulesep - \global\@belowrulesep=\belowbottomsep - \global\@thisruleclass=\@ne - \@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}} -\def\specialrule#1#2#3{\noalign{\ifnum0=`}\fi - \@aboverulesep=#2\global\@belowrulesep=#3\global\@thisruleclass=\tw@ - \@BTrule[#1]} -\def\addlinespace{\noalign{\ifnum0=`}\fi - \@ifnextchar[{\@addspace}{\@addspace[\defaultaddspace]}} -\def\@addspace[#1]{\global\@belowrulesep=#1\global\@thisruleclass=\tw@ - \futurelet\@tempa\@BTendrule} -\def\@BTrule[#1]{% - \global\@thisrulewidth=#1\relax - \ifnum\@thisruleclass=\tw@\vskip\@aboverulesep\else - \ifnum\@lastruleclass=\z@\vskip\@aboverulesep\else - \ifnum\@lastruleclass=\@ne\vskip\doublerulesep\fi\fi\fi - \ifx\longtable\undefined - \let\@BTswitch\@BTnormal - \else\ifx\hline\LT@hline - \let\@BTswitch\@BLTrule - \else - \let\@BTswitch\@BTnormal - \fi\fi - \@BTswitch} -\AtBeginDocument{% - \providecommand*\CT@arc@{}}%% colortbl support -\def\@BTnormal{% - {\CT@arc@\hrule\@height\@thisrulewidth}% - \futurenonspacelet\@tempa\@BTendrule} -\def\@BLTrule{\@ifnextchar({\@@BLTrule}{\@@BLTrule()}} -\def\@@BLTrule(#1){\@setrulekerning{#1}% -\global\@cmidlb\LT@cols -\ifnum0=`{\fi}% -\@cmidruleb -\noalign{\ifnum0=`}\fi -\futurenonspacelet\@tempa\@BTendrule} -\def\@BTendrule{\ifx\@tempa\toprule\global\@lastruleclass=\@thisruleclass - \else\ifx\@tempa\midrule\global\@lastruleclass=\@thisruleclass - \else\ifx\@tempa\bottomrule\global\@lastruleclass=\@thisruleclass - \else\ifx\@tempa\cmidrule\global\@lastruleclass=\@thisruleclass - \else\ifx\@tempa\specialrule\global\@lastruleclass=\@thisruleclass - \else\ifx\@tempa\addlinespace\global\@lastruleclass=\@thisruleclass - \else\global\@lastruleclass=\z@\fi\fi\fi\fi\fi\fi - \ifnum\@lastruleclass=\@ne\relax\else\vskip\@belowrulesep\fi - \ifnum0=`{\fi}} -\def\@setrulekerning#1{% - \global\let\cmrkern@l\z@ - \global\let\cmrkern@r\z@ - \@tfor\@tempa :=#1\do - {\def\@tempb{r}% - \ifx\@tempa\@tempb - \global\let\cmrkern@r\cmidrulekern - \def\cmrsideswitch{\cmrkern@r}% - \else - \def\@tempb{l}% - \ifx\@tempa\@tempb - \global\let\cmrkern@l\cmidrulekern - \def\cmrsideswitch{\cmrkern@l}% - \else - \global\expandafter\let\cmrsideswitch\@tempa - \fi - \fi}} -\def\cmidrule{\noalign{\ifnum0=`}\fi - \@ifnextchar[{\@cmidrule}{\@cmidrule[\cmidrulewidth]}} -\def\@cmidrule[#1]{\@ifnextchar({\@@cmidrule[#1]}{\@@cmidrule[#1]()}} -\def\@@cmidrule[#1](#2)#3{\@@@cmidrule[#3]{#1}{#2}} -\def\@@@cmidrule[#1-#2]#3#4{\global\@cmidla#1\relax - \global\advance\@cmidla\m@ne - \ifnum\@cmidla>0\global\let\@gtempa\@cmidrulea\else - \global\let\@gtempa\@cmidruleb\fi - \global\@cmidlb#2\relax - \global\advance\@cmidlb-\@cmidla - \global\@thisrulewidth=#3 - \@setrulekerning{#4} - \ifnum\@lastruleclass=\z@\vskip \aboverulesep\fi - \ifnum0=`{\fi}\@gtempa - \noalign{\ifnum0=`}\fi\futurenonspacelet\@tempa\@xcmidrule} -\def\@xcmidrule{% - \ifx\@tempa\cmidrule - \vskip-\@thisrulewidth - \global\@lastruleclass=\@ne - \else \ifx\@tempa\morecmidrules - \vskip \cmidrulesep - \global\@lastruleclass=\@ne\else - \vskip \belowrulesep - \global\@lastruleclass=\z@ - \fi\fi - \ifnum0=`{\fi}} -\def\@cmidrulea{% - \multispan\@cmidla&\multispan\@cmidlb - \unskip\hskip\cmrkern@l% - {\CT@arc@\leaders\hrule \@height\@thisrulewidth\hfill}% - \hskip\cmrkern@r\cr}% -\def\@cmidruleb{% - \multispan\@cmidlb - \unskip\hskip \cmrkern@l% - {\CT@arc@\leaders\hrule \@height\@thisrulewidth\hfill}% - \hskip\cmrkern@r\cr}% -\def\morecmidrules{\noalign{\relax}} -\endinput -%% -%% 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 @@ -% -% O P T I O N A L . S T Y -% ~~~~~~~~~~~~~~~~~~~~~~~ -% ver 2.2b Jan 2005 -% -% Enable multiple versions of a document to be printed from one source file, -% especially if most of the text is shared between versions. -% -% Copyright 1993,1999,2001,2005 by Donald Arseneau (asnd@triumf.ca). -% This software is released under the terms of the LaTeX Project Public -% License (ftp://ctan.tug.org/tex-archive/macros/latex/base/lppl.txt). -% (Essentially: Free to use, copy, distribute (sell) and change, but, if -% changed, that fact must be made apparent to the user.) It has a -% status of "maintained". -% -% -% HOW TO USE -% ~~~~~~~~~~ -% One way to use this package is to declare (for example) -% -% \usepackage[opta]{optional} -% -% at the beginning of your document, and flag optional text throughout -% your document like: -% -% \opt{opta}{Do this if option opta was declared} -% \opt{optb}{Do this if option optb was declared} -% \opt{optx,opty}{Do this if either option optx or opty} -% \opt{}{Never print this text!} -% \opt{opta}{\input{appendices}} -% \optv{xam}{Type: \verb|[root /]$ rm -r *|.} -% -% Note that both the package option and the "\opt" argument can contain -% lists of options although, in practice, one or the other should be a -% single option name. Lists are allowed in both places to allow more -% flexibility in the style of use. (But making the definitions much more -% difficult, Grrr.) -% -% Just as for "\includeonly", you will have to edit the main document -% file to switch option codes (i.e., change the "\usepackage" line). -% There are, however, several ways to use this package without altering -% the main document file: separate files, file-name sensing, interactive -% prompting, and command-line option selection. -% -% Typically, different versions of a document will require different -% document class and package setup, besides the different tags for -% optional.sty. In that case it is best to have a separate main file -% for each version of the document. Each stub file will declare the -% document class and load some packages (including this one) and then -% input the rest of the document from a file common to all versions. -% -% \documentclass[A0]{poster} -% \usepackage[poster]{optional} -% \input{my_paper} -% -% If the different opt-tags match the different stub file names (file -% poster.tex will typeset the "poster" version) then you can specify -% -% \usepackage[\jobname]{optional} -% -% Alternatively, this "\jobname" technique can make use of symbolic links, -% if your computer system supports them, by having a single main input -% file accessed under different names (and different "\jobname"s). -% -% Another scheme is to invoke LaTeX with the command line such as: -% -% latex "\def\UseOption{opta,optb}\input{file}" -% -% (with quoting appropriate to your operating system) then options "opta" -% and "optb" will be used in addition to any options specified with the -% "\usepackage" command. -% -% You can prompt yourself to specify the option(s) with every run -% through LaTeX: -% -% \usepackage{optional} -% \newcommand{\ExplainOptions}{man = users manual, check = checklist, -% ref = reference card, post = poster.} -% \AskOption -% -% The definition of "\ExplainOptions" is optional; it only serves to help -% the person who answers the question. The "\AskOption" is also optional; -% it will be executed automatically whenever optional.sty sees no list of -% options. This method is too tedious to use much. -% -% The normal restrictions forbidding special characters in package options -% and reference tags apply also the the tags used by the "\opt" command. -% -% These are not `comment' macros: The optional text must be well-formed -% with balanced braces, even if not printed. The "\opt" command *IS* -% completely `expandable' which means it is robust and can even be used -% in messages ("\typeout"). -% -% As usual, "\verb" commands and verbatim environments cannot be used -% in the argument to "\opt". For this purpose there is a variant form -% of "\opt" called "\optv" (optional verbatim) which may have a limited -% class of verbatim material in the argument. It can do so by leaving -% the braces around the argument, which may have undesired side effects. -% For an "\optv" argument to be successfully ignored, the verbatim material -% must have balanced braces etc. -% -% The "\opt" command is only intended for small sections of text. If you -% need to optionally include whole sections or chapters, put that material -% in a separate file, and "\opt"-ionally use an "\input" command: -% -% \opt{internal}{\input{prog_listings}} -% -%====================== END INSTRUCTIONS ======================== - -\ProvidesPackage{optional}[2005/01/26 ver 2.2b; \space - Optional inclusion/omission] -% Initialize used-option-list to \@gobble to eat the comma when the first -% entry is `appended'. -\@ifundefined{UseOption}{\let\UseOption\@gobble}{} -\DeclareOption*{\edef\UseOption{\UseOption,\CurrentOption}} -\ProcessOptions -\AtBeginDocument{\Opl@Setup} - -\newcommand*\opt[1]{\if\Opl@notlisted{#1}\expandafter\@gobble - \else \expandafter\@firstofone \fi} - -\newcommand*\optv[1]{\if\Opl@notlisted{#1}\expandafter\@gobble\fi} - -% This initial definition forces immediate setup if \opt used in the preamble -\def\Opl@notlisted{\fi \Opl@Setup \if\Opl@notlisted} - -\newcommand\AskOption{% - \@ifundefined{ExplainOptions}{}{\typeout{\ExplainOptions}}% - \typein[\UseOption]{Specify which optional text to process:}% - } - -\def\Opl@Setup{% - \ifx\UseOption\@gobble\AskOption\fi - \let\Opl@notlisted\@empty % initialize list of checks - \@for\@tempa:=\UseOption\do{% - \ifx\@tempa\@empty\else\expandafter\Opl@oneop\expandafter{\@tempa}\fi}% - \ifx\Opl@notlisted\@empty \PackageWarning{optional}% - {No options were selected, so all optional text will be printed}% - \let\opt\@secondoftwo - \else - \typeout{Using optional text marked with \UseOption. }% - \toks@\expandafter{\Opl@notlisted}% - \edef\@tempa{\def\noexpand\Opl@notlisted####1{,\the\toks@,}}\@tempa - \fi - \let\Opl@Setup\@empty \let\Opl@oneop\undefined - \let\AskOption\undefined \let\ExplainOptions\undefined -} -\begingroup -\catcode`\Z= 3 % special delimiter -\gdef\Opl@oneop#1{% - \@ifundefined{Opl@Match@#1}{% - \toks@\expandafter{\Opl@notlisted}% - \edef\Opl@notlisted{\the\toks@ \csname Opl@Match@#1\endcsname ,####1,#1,Z}% - \@namedef{Opl@Match@#1}##1,#1,##2Z{##2}% - }\relax -} -\endgroup -\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 @@ -%% -%% -%% This is file 'pdfdraftcopy.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% -%% pdfdraftcopy.dtx (with options: 'package') -%% -%% File: pdfdraftcopy.dtx Copyright (c) 2003, C. V. Radhakrishnan -%% C. V. Rajagopal -%% River Valley Technologies, Floor III, SJP Buildings -%% Cotton Hills, Trivandrum, India 695014 -%% http://www.river-valley.com -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -%% -%% $Id: pdfdraftcopy.sty,v 1.2 2003/08/11 20:31:07 cvr Exp cvr $ -%% -\NeedsTeXFormat{LaTeX2e} -\def\Fileversion$#1: #2 ${\gdef\fileversion{#2}} -\def\Filedate$#1: #2 #3 ${\gdef\filedate{#2}} -\Fileversion$Revision: 1.2 $ -\Filedate$Date: 2003/08/11 20:31:07 $ -\ProvidesPackage{pdfdraftcopy} - [\filedate\space\fileversion\space Draft copy in PDF (CVR)] -\PackageWarningNoLine{pdfdraftcopy} - {****************************************\MessageBreak - Package pdfdraftcopy v,\fileversion\space loaded\MessageBreak - [Draft copy in PDF (CVR)]\MessageBreak - ****************************************} -\DeclareOption{watermark}{\AtBeginDocument{% - \begingroup\watermark\endgroup}} -\DeclareOption{draft}{\AtBeginDocument{% - \begingroup\draftcopy\endgroup}} -\ExecuteOptions{draft} -\ProcessOptions\relax - -\RequirePackage{color,graphicx} - -\let\@DRAFTout@Hook\@empty -\newcommand{\DRAFTout}{\g@addto@macro\@DRAFTout@Hook} -\newcommand{\@DRAFTout@Out}{% - \afterassignment\@DRAFTout@Test - \global\setbox\@cclv= % - } -\newcommand{\@DRAFTout@Test}{% - \ifvoid\@cclv\relax - \aftergroup\@DRAFTout@Output - \else - \@DRAFTout@Output - \fi% - } -\newcommand{\@DRAFTout@Output}{% - \@DRAFTout@Hook% - \@DRAFTout@Org@Out\box\@cclv% - } -\newcommand{\@DRAFTout@Org@Out}{} -\newcommand*{\@DRAFTout@Init}{% - \let\@DRAFTout@Org@Out\shipout - \let\shipout\@DRAFTout@Out - } -\AtBeginDocument{\@DRAFTout@Init} -\newcommand{\@DraftOverlay@Hook}{} -\newcommand{\AddToDraftOverlay}{\g@addto@macro\@DraftOverlay@Hook} -\newcommand{\ClearDraftOverlay}{\let\@DraftOverlay@Hook\@empty} -\newcommand{\@DraftOverlay}{% - \ifx\@DraftOverlay@Hook\@empty - \else - \bgroup - \@tempdima=1in - \@tempcnta=\@tempdima - \@tempcntb=-\@tempdima - \advance\@tempcntb\paperheight - \global\setbox\@cclv\vbox{% - \vbox{\let\protect\relax% - \unitlength=1sp% - \pictur@(0,0)(\@tempcnta,\@tempcntb)% - \@DraftOverlay@Hook% - \endpicture}% - \box\@cclv% - }% - \egroup - \fi -} - -\definecolor{gray30}{gray}{.7} -\definecolor{gray20}{gray}{.8} -\definecolor{gray10}{gray}{.9} - -\DRAFTout{\@DraftOverlay} -\newdimen\LLY -\newdimen\LLX -\newdimen\URX -\newdimen\URY -\newdimen\topmargin -\newdimen\bottommargin -\def\@printdimen{%\ifthenelse{\equal{\@debug}{true}}% - {\PackageWarningNoLine{PDFdraftcopy}% - {\LLX::::::::::::=\the\LLX\MessageBreak - \LLY::::::::::::=\the\LLY\MessageBreak - \URX::::::::::::=\the\URX\MessageBreak - \URY::::::::::::=\the\URY\MessageBreak - \oddsidemargin::=\the\oddsidemargin\MessageBreak - \evensidemargin:=\the\evensidemargin\MessageBreak - \textheight:::::=\the\textheight\MessageBreak - \textwidth::::::=\the\textwidth\MessageBreak - \paperwidth:::::=\the\paperwidth\MessageBreak - \paperheight::::=\the\paperheight\MessageBreak - \topmargin::::::=\the\topmargin\MessageBreak - \headheight:::::=\the\headheight\MessageBreak - \headsep::::::::=\the\headsep\MessageBreak - \footskip:::::::=\the\footskip\MessageBreak - \topskip::::::::=\the\topskip\MessageBreak - Now fixing the overlay in place - }}{} -} -\def\@DRAFTdimen{% - \setlength\LLY{\paperheight} - \addtolength\LLY{-\textheight} - \addtolength\LLY{-\headheight} - \addtolength\LLY{-\headsep} - \addtolength\LLY{-1in} - \addtolength\LLY{-3pt} - \setlength\LLX{1in} - \ifodd\c@page - \addtolength\LLX{\oddsidemargin}\else - \addtolength\LLX{\evensidemargin}\fi - \setlength\URX{\textwidth} - \setlength\URY{\textheight} -} -\def\LoadWaterMark{\watermark} -\def\watermark{\AddToDraftOverlay{% - \@DRAFTdimen%\@printdimen% - \setlength{\@tempdima}{0pt} - \setlength{\@tempdimb}{\paperwidth} - \addtolength{\@tempdimb}{-\@tempdima} - \addtolength{\@tempdimb}{-\@tempdima} - \setlength{\@tempdimc}{\paperheight} - \addtolength{\@tempdimc}{-\@tempdima} - \addtolength{\@tempdimc}{-\@tempdima} - \setlength{\unitlength}{1pt}\thinlines% -% - \put(0,\strip@pt\paperheight){\fboxrule0pt\fboxsep0pt% - %\fcolorbox{white}{red}% - {\begin{minipage}[t][\paperheight][c]{\paperwidth} - \centering - \ifx\@@watermark\@empty\relax\else - \includegraphics%[width=\paperwidth,height=\paperheight]% - {\@@watermark}\fi% - \end{minipage}}}}}% - -\let\@@watermark\@empty -\def\watermarkgraphic#1{\gdef\@@watermark{#1}} - -\def\draftcopy{\AddToDraftOverlay{% - \@DRAFTdimen%\@printdimen% - \setlength{\@tempdima}{0pt} - \setlength{\@tempdimb}{\paperwidth} - \addtolength{\@tempdimb}{-\@tempdima} - \addtolength{\@tempdimb}{-\@tempdima} - \setlength{\@tempdimc}{\paperheight} - \addtolength{\@tempdimc}{-\@tempdima} - \addtolength{\@tempdimc}{-\@tempdima} - \setlength{\unitlength}{1pt}\thinlines% -% - \put(0,\strip@pt\paperheight){\fboxrule0pt\fboxsep0pt% - %\fcolorbox{white}{red}% - {\begin{minipage}[t][\paperheight][c]{\paperwidth} - \centering - \begingroup - \rotatebox{\@draftangle}{\color{\@draftcolor} - \fontfamily{\@draftfontfamily}% - \fontsize{\@draftfontsize}{\@draftfontsize}\selectfont - {\@draftfontattrib\@draftstring} - }\endgroup - \end{minipage}}}}}% - -\def\@draftangle{45} -\def\@draftstring{DRAFT COPY} -\def\@draftcolor{gray10} -\def\@draftfontfamily{ptm} -\def\@draftfontsize{80} -\def\@draftfontattrib{\upshape} -\def\draftstring#1{\gdef\@draftstring{#1}} -\def\draftcolor#1{\gdef\@draftcolor{#1}} -\def\draftfontfamily#1{\gdef\@draftfontfamily{#1}} -\def\draftfontsize#1{\gdef\@draftfontsize{#1}} -\def\draftfontattrib#1{\gdef\@draftfontattrib{#1}} -\def\draftangle#1{\gdef\@draftangle{#1}} -\endinput -%% -%% -%% End of package 'pdfdraftcopy.sty' -%% 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 @@ -% scrreprt.4ht (2014-07-15-16:10), generated from tex4ht-4ht.tex -% Copyright (C) 1999--2009 Eitan M. Gurari -% 2009--2014 TeX Users Group -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any -% later version. The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3c or later is part of all distributions -% of LaTeX version 2005/12/01 or later. -% -% This work has the LPPL maintenance status "maintained". -% -% The Current Maintainer of this work -% is the TeX4ht Project . -% -% If you modify this program, changing the -% version identification would be appreciated. -\immediate\write-1{version 2014-07-15-16:10} - -\let\o:maketitle:\maketitle -\def\maketitle{\bgroup - \gHAdvance\:mpNum by 1 -\HAssign\minipageNum=\:mpNum \relax -% - \ifx \EndPicture\:UnDef - \def\sec:typ{title}% - \Configure{HtmlPar}{}{}{}{}% - \Configure{newpage}{}% - \ConfigureEnv{center}{\empty}{}{\empty}{\empty} - \let\a:tabular:sv\a:tabular \let\b:tabular:sv\b:tabular -\let\c:tabular:sv\c:tabular \let\d:tabular:sv\d:tabular -\let\e:tabular:sv\e:tabular \let\f:tabular:sv\f:tabular -\let\before:begintabular:sv\before:begintabular -% - \Configure{HBorder}{}{}{}{}{}{}{}{}{}{}% - \Configure{tabular}{}{}{}{\e:mktl} - {\bgroup \let\a:tabular\a:tabular:sv \let\b:tabular\b:tabular:sv -\let\c:tabular\c:tabular:sv \let\d:tabular\d:tabular:sv -\let\e:tabular\e:tabular:sv \let\f:tabular\f:tabular:sv -\let\before:begintabular\before:begintabular:sv -}{\egroup} - \ConfigureEnv{tabular}{\empty}{}{}{}% - % - \pend:def\@title{\a:ttl}\append:def\@title{\b:ttl}% - \pend:def\@date{\a:date}\append:def\@date{\b:date}% - \pend:def\@author{\a:author}\append:def\@author{\b:author}% - \def\and{\a:and} -% - \fi - \pic:gobble\a:mktl \o:maketitle: \pic:gobble\b:mktl - \egroup \let\maketitle\empty} -\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}% - \c:def\a:ttl{#3}\c:def\b:ttl{#4}} -\NewConfigure{thanks author date and}[8]{% - \c:def\a:thanks{#1}\c:def\b:thanks{#2}\c:def\a:author{#3}\c:def\b:author{#4}% - \c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}} - -\pend:def\titlepage{% - \cfg:maketitle -} -\def\cfg:maketitle{% - \global\let\cfg:maketitle\empty - \ifx\@dedication\@empty \else - \pend:def\@dedication{\a:dedication}% - \append:def\@dedication{\b:dedication}% - \fi -} -\NewConfigure{dedication}{2} - -\Configure{UndefinedSec}{likepart} -\Configure{UndefinedSec}{likechapter} -\Configure{UndefinedSec}{likesection} -\Configure{UndefinedSec}{likesubsection} -\def\tableofcontents{% - \:tableofcontents} - - -\let\:tempb\chapter -\Def:Section\chapter{\thechapter}{#1} -\let\:chapter\chapter -\let\chapter\:tempb -\def\@makechapterhead#1{} -\let\no@chapter\@chapter -\def\@chapter[#1]#2{% - \gHAdvance\:mpNum by 1 -\HAssign\minipageNum=\:mpNum \relax -% - {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII\no@chapter[#1]{}}% - \HtmlEnv \Toc:Title{#1}\:chapter{#2}} -\Def:Section\likechapter{}{#1} -\let\:likechapter\likechapter -\let\likechapter\:UnDef -\let\no@schapter\@schapter -\def\@schapter#1{% - {\let\addcontentsline\:gobbleIII\no@schapter{}}% - \HtmlEnv \:likechapter{#1}} -\let\no@appendix\appendix -\Def:Section\appendix{\thechapter}{#1} -\let\:appendix\appendix -\def\appendix{% - \def\@chapter[##1]##2{% - \gHAdvance\:mpNum by 1 -\HAssign\minipageNum=\:mpNum \relax -% - {\def\addcontentsline####1####2####3{}\no@chapter[##1]{}}% - \HtmlEnv \Toc:Title{##1}\:appendix{##2}}% - \no@appendix} - -\NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}% - \c:def\cptC:{#3}\c:def\cptD:{#4}} -\long\def\@makecaption#1#2{% - {\cptA: \cap:ref{#1}% -\cptB:}{\cptC:{#2}\cptD:}} - - -\pend:def\caption{\SkipRefstepAnchor} -\append:def\quote{\par\@totalleftmargin\z@} -\long\def\c:theindex:#1#2#3#4#5#6#7#8#9{% - \def\theindex{% - \def\idx:item{\SaveEverypar\ht:everypar{}#1}% - \def\endtheindex{\idx:item#2\RecallEverypar}% - \def\item{\idx:item\def\idx:item{#4}\let\index\@gobble #3}% - \def\subitem{\idx:item\def\idx:item{#6}\let\index\@gobble #5}% - \def\subsubitem{\idx:item\def\idx:item{#8}\let\index\@gobble #7}}% - \def\indexspace{\idx:item#9\let\idx:item\empty}} -\def\warn:idx#1{% - \expandafter\ifx \csname #1warn:idx\endcsname\relax - \expandafter\global - \expandafter\let \csname #1warn:idx\endcsname\def - \immediate\write16 - {---------------------------------------------------------}% - \:warning{If not done so, the index is to be processed by - ^^J\space\space tex '\string\def\string\filename - {{#1}{idx}{4dx}{ind}} \noexpand\input\space idxmake.4ht' - ^^J\space\space makeindex -o #1.ind #1.4dx - ^^Jinstead of - ^^J\space\space makeindex -o #1.ind #1.idx - ^^JOn some platforms, the quotation marks ' should be - ^^J replaced by double quotation marks " or eliminated. - ^^J--------------------------------------------------------- - }% - {\Configure{Needs}{File: #1.4idx}\Needs{}}% - \fi} -\ifOption{info}{\Log:Note{ -A script of the form -^^Jtex '\def\string\filename{{\%\%1}{idx}{4dx}{ind}} - \string\input\space idxmake.4ht' -^^Jmakeindex -o \%\%1.ind \%\%1.4dx -^^Jin the env file, automatically calls to the revised makeindex -^^Jcommand. An extra compilation of the source LaTeX file is required, -^^Jto get the index correctly into the output.}}{} -\def\ind:defs{\let\LNKidx\empty - \def\LNK##1##2##3##4{\ifx\NewConfigure\:UnDef\else - \def\LNK:number{##4}% - \a:LNK[##1]{##2}{}\gHAdvance\:LNKno1 - \def\:THIrd{##3}\ifx\:THIrd\empty - \LNKidx{\ifx\c:LNK\empty\:LNKno\else \c:LNK\fi}\else - \LNKidx{##3}\fi - \global\let\LNKidx\empty - \b:LNK - \fi}% - \def\:LNKno{0}} -\NewConfigure{LNK}{3} -\Configure{LNK}{\Link}{\EndLink}{} -\def\yhbLNK#1{\expandafter\let\expandafter\LNKidx\csname - #1\endcsname\LNK} - -\Configure{@begin}{theindex}{\ind:defs} - -\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}% - \c:def\a:ttl{#3}\c:def\b:ttl{#4}} -\NewConfigure{thanks author date and}[8]{% - \c:def\a:thanks{#1}\c:def\b:thanks{#2}% - \c:def\a:author{#3}\c:def\b:author{#4}% - \c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}} - - -\append:def\quotation{\a:quotation\par\@totalleftmargin\z@} -\NewConfigure{quotation}{1} -\NewConfigure{listof}{6} - -\def\tableofcontents{% - \:tableofcontents} - -\edef\:TOC{% - \noexpand\ifx [\noexpand\:temp - \noexpand\expandafter\noexpand\:TableOfContents - \noexpand\else - \noexpand\Auto:ent{\ifnum \c@tocdepth >-2 part,\fi - \ifnum \c@tocdepth >\m@ne chapter,appendix,addchap,\fi - \ifnum \z@>\c@tocdepth\else section,\fi - \ifnum 1>\c@tocdepth \else subsection,\fi -\ifnum 2>\c@tocdepth \else subsection,\fi -\ifnum 3>\c@tocdepth \else subsubsection,\fi -\ifnum 4>\c@tocdepth \else paragraph,\fi -\ifnum 5>\c@tocdepth \else subparagraph,\fi -UnDFexyz}% - \noexpand\fi} -\def\:tableofcontents{\futurelet\:temp\:TOC} -\def\Auto:ent#1{% - \edef\auto:toc{\noexpand\:TableOfContents[\ifx \auto:toc\:UnDef - #1\else \auto:toc \fi]} \auto:toc - \global\let\auto:toc\:UnDef } -\def\:tocs{\noexpand\:tableofcontents} -\pend:defIII\addcontentsline{% - \def\:temp{##1}\def\:tempa{toc}\ifx \:temp\:tempa - \gHAdvance\TitleCount 1 \fi } -\def\@dottedtocline#1#2#3#4#5{\hbox{\def\numberline##1{\e:listof - ##1\f:listof}\c:listof#4\d:listof}\ignorespaces} -\def\@starttoc#1{% - \begingroup - \makeatletter \Configure{cite}{}{}{}{}% - \def\:temp{#1}\def\:tempa{toc}% - \a:listof\par - \@input{\jobname.\ifx \:temp\:tempa 4ct\else #1\fi}% - \b:listof - \if@filesw - \expandafter\expandafter\csname - newwrite\endcsname\csname tf@#1\endcsname - \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax - \fi - \global\@nobreakfalse - \endgroup} -\NewConfigure{tableofcontents*}[1]{% - \def\:tempa{#1}\ifx\empty\:tempa - \ifx \au:StartSec\:UnDef \else \gdef\:StartSec{\au:StartSec}\fi - \else - \edef\auto:toc{#1}% - \ifx \au:StartSec\:UnDef - \let\au:StartSec\:StartSec - \def\:StartSec{\:tableofcontents - \global\let\auto:toc\:UnDef \:StartSec}% - \pend:def\:tableofcontents{\gdef\:StartSec{\au:StartSec}}% - \fi \fi -} - - -\ifx \@openbib@code\:UnDef \else - \pend:def\@openbib@code{\labelsep\z@} -\fi -\def\:temp#1#2!*?: {\def\:temp{#1}} -\expandafter\:temp\usepackage!*?: -\def\:tempa{\@latex@e@error} -\ifx \:temp\:tempa \else - \def\popthree#1#2#3#4{#4} - \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}% - \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks - {\expandafter\noexpand - \csname o:\expandafter\expandafter\:gobble\expandafter\string \popthree#3:\endcsname}}} -\def\:temp#1{% - \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}} -\:temp{rm} -\:temp{sf} -\:temp{tt} -\:temp{bf} -\:temp{it} - -\fi - \let\:tempc\listoffigures -\pend:def\:tempc{\begingroup \a:listoffigures - \def\@starttoc{\:tableofcontents[lof]\:gobble}} -\append:def\:tempc{\b:listoffigures \endgroup} -\HLet\listoffigures\:tempc -\let\:tempc\listoftables -\pend:def\:tempc{\begingroup \a:listoftables - \def\@starttoc{\:tableofcontents[lot]\:gobble}} -\append:def\:tempc{\b:listoftables \endgroup} -\HLet\listoftables\:tempc - - \NewConfigure{listoffigures}{2} -\NewConfigure{listoftables}{2} - -\ifx \part\:UnDef\else - \def\@part[#1]#2{% - \ifnum \c@secnumdepth >-2\relax - \SkipRefstepAnchor \refstepcounter{part}% - \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% - \else - \addcontentsline{toc}{part}{#1}% - \fi - \csname @endpart\endcsname} -\let\:tempb\part -\Def:Section\part{\thepart}{#1} -\let\:part\part -\let\part\:tempb -\let\no@part\@part -\def\@part[#1]#2{% - {\let\addcontentsline\:gobbleIII\no@part[#1]{}}% - \HtmlEnv \Toc:Title{#1}\:part{#2}} -\Def:Section\likepart{}{#1} -\let\:likepart\likepart -\let\likepart\:UnDef -\let\no@spart\@spart -\def\@spart#1{% - {\let\addcontentsline\:gobbleIII\no@spart{}}% - \HtmlEnv \:likepart{#1}} - -\fi -\ifx \section\:UnDef\else - \let\no@section\section -\Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else - \thesection \fi}{#1} -\let\no:section\section -\def\section{\rdef:sec{section}} -\Def:Section\likesection{}{#1} -\let\:likesection\likesection -\let\likesection\:UnDef -\fi -\let\no@subsection\subsection -\Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else - \thesubsection \fi}{#1} -\let\no:subsection\subsection -\def\subsection{\rdef:sec{subsection}} -\Def:Section\likesubsection{}{#1} -\let\:likesubsection\likesubsection -\let\likesubsection\:UnDef -\let\no@subsubsection\subsubsection -\Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else - \thesubsubsection \fi}{#1} -\let\no:subsubsection\subsubsection -\def\subsubsection{\rdef:sec{subsubsection}} -\Def:Section\likesubsubsection{}{#1} -\let\:likesubsubsection\likesubsubsection -\let\likesubsubsection\:UnDef -\let\no@paragraph\paragraph -\Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else - \theparagraph \fi}{#1} -\let\no:paragraph\paragraph -\def\paragraph{\rdef:sec{paragraph}} -\Def:Section\likeparagraph{}{#1} -\let\:likeparagraph\likeparagraph -\let\likeparagraph\:UnDef -\let\no@subparagraph\subparagraph -\Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else - \thesubparagraph \fi}{#1} -\let\no:subparagraph\subparagraph -\def\subparagraph{\rdef:sec{subparagraph}} -\Def:Section\likesubparagraph{}{#1} -\let\:likesubparagraph\likesubparagraph -\let\likesubparagraph\:UnDef -\ConfigureToc{likeparagraph} {}{\empty}{}{\newline} -\ConfigureToc{likepart} {}{\empty}{}{\newline} -\ConfigureToc{likesection} {}{\empty}{}{\newline} -\ConfigureToc{likesubparagraph} {}{\empty}{}{\newline} -\ConfigureToc{likesubsection} {}{\empty}{}{\newline} -\ConfigureToc{likesubsubsection} {}{\empty}{}{\newline} -\ConfigureToc{paragraph} {\empty}{\ }{}{\newline} -\ConfigureToc{part} {\empty}{\ }{}{\newline} -\ConfigureToc{section} {\empty}{\ }{}{\newline} -\ConfigureToc{subparagraph} {\empty}{\ }{}{\newline} -\ConfigureToc{subsection} {\empty}{\ }{}{\newline} -\ConfigureToc{subsubsection} {\empty}{\ }{}{\newline} -\ConfigureToc{appendix} {\empty}{\ }{}{\newline} -\ConfigureToc{chapter} {\empty}{\ }{}{\newline} -\ConfigureToc{likechapter} {}{\empty}{}{\newline} - -\ifx \@@maybeautodot\:UnDef - \let\add:chap=\@addchap -\def\@addchap{% - \let\chap:addcontentsline=\addcontentsline - \def\addcontentsline{\let\addcontentsline\chap:addcontentsline - \:gobbleIII }% - \add:chap} - -\else - \let\no@addchap\@addchap -\def\@addchap[#1]#2{% - \HtmlEnv \Toc:Title{#1}\:addchap{#2}} - -\fi -\let\:makeschapterhead=\@makeschapterhead -\def\::makeschapterhead#1{\:makeschapterhead{\normalfont\normalsize - \:addchap {#1}}} -\pend:def\addchap{\let\@makeschapterhead\::makeschapterhead} -\pend:def\chapter{\let\@makeschapterhead\:makeschapterhead} -\let\:tempb=\addchap -\Def:Section\addchap{}{#1} -\let\:addchap=\addchap -\let\addchap=\:tempb -\ConfigureToc{addchap} {\empty}{\ }{}{\newline} - -\Def:Section\minisec{}{#1} -\let\:minisec=\minisec -\def\minisec#1{\:minisec{#1}\@afterheading} -\pend:defI\@makefntext{\IgnorePar} - -\Hinput{scrreprt} -\endinput -