texlive[72608] Master: scrhack (20oct24)
commits+karl at tug.org
commits+karl at tug.org
Sun Oct 20 22:35:37 CEST 2024
Revision: 72608
https://tug.org/svn/texlive?view=revision&revision=72608
Author: karl
Date: 2024-10-20 22:35:37 +0200 (Sun, 20 Oct 2024)
Log Message:
-----------
scrhack (20oct24)
Modified Paths:
--------------
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/scrhack/float.hak
trunk/Master/texmf-dist/tex/latex/scrhack/floatrow.hak
trunk/Master/texmf-dist/tex/latex/scrhack/hyperref.hak
trunk/Master/texmf-dist/tex/latex/scrhack/listings.hak
trunk/Master/texmf-dist/tex/latex/scrhack/lscape.hak
trunk/Master/texmf-dist/tex/latex/scrhack/nomencl.hak
trunk/Master/texmf-dist/tex/latex/scrhack/setspace.hak
trunk/Master/texmf-dist/tex/latex/scrhack/standardsections.hak
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/scrhack/float.hak
trunk/Master/texmf-dist/doc/latex/scrhack/floatrow.hak
trunk/Master/texmf-dist/doc/latex/scrhack/hyperref.hak
trunk/Master/texmf-dist/doc/latex/scrhack/listings.hak
trunk/Master/texmf-dist/doc/latex/scrhack/lscape.hak
trunk/Master/texmf-dist/doc/latex/scrhack/nomencl.hak
trunk/Master/texmf-dist/doc/latex/scrhack/setspace.hak
trunk/Master/texmf-dist/doc/latex/scrhack/standardsections.hak
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/float.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/float.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/float.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,121 +0,0 @@
-%%
-%% This is file `float.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,float,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,float,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from float.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{float.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- float)%
-]
-\scr at ifexpected{\newfloat}{%
- \long\def\newfloat#1#2#3{\@namedef{ext@#1}{#3}
- \let\float at do=\relax
- \xdef\@tempa{\noexpand\float at exts{\the\float at exts \float at do{#3}}}%
- \@tempa
- \floatplacement{#1}{#2}%
- \@ifundefined{fname@#1}{\floatname{#1}{#1}}{}
- \expandafter\edef\csname ftype@#1\endcsname{\value{float at type}}%
- \addtocounter{float at type}{\value{float at type}}
- \restylefloat{#1}%
- \expandafter\edef\csname fnum@#1\endcsname%
- {\expandafter\noexpand\csname fname@#1\endcsname{}
- \expandafter\noexpand\csname the#1\endcsname}
- \@ifnextchar[%]
- {\float at newx{#1}}%
- {\@ifundefined{c@#1}{\newcounter{#1}\@namedef{the#1}{\arabic{#1}}}%
- {}}}%
-}{%
- \scr at ifexpected{\listof}{%
- \def\listof#1#2{%
- \@ifundefined{ext@#1}{\float at error{#1}}{%
- \@namedef{l@#1}{\@dottedtocline{1}{1.5em}{2.3em}}%
- \float at listhead{#2}%
- \begingroup\setlength{\parskip}{\z@}%
- \@starttoc{\@nameuse{ext@#1}}%
- \endgroup}}%
- }{%
- \RequirePackage{tocbasic}%
- \PackageInfo{scrhack}{redefining \string\newfloat}%
- \renewcommand\newfloat[3]{%
- \Ifattoclist{#3}{%
- \PackageError{scrhack}{extension `#3' already in use}{%
- Each extension may be used only once.\MessageBreak
- You, the class, or another package already uses extension
- `#3'.\MessageBreak
- \string\newfloat\space command will be ignored!}%
- }{%
- \addtotoclist[float]{#3}%
- \setuptoc{#3}{chapteratlist}%
- \@namedef{ext@#1}{#3}%
- \let\float at do=\relax
- \xdef\@tempa{\noexpand\float at exts{\the\float at exts \float at do{#3}}}%
- \@tempa
- \floatplacement{#1}{#2}%
- \@ifundefined{fname@#1}{\floatname{#1}{#1}}{}%
- \expandafter\edef\csname ftype@#1\endcsname{\value{float at type}}%
- \addtocounter{float at type}{\value{float at type}}
- \restylefloat{#1}%
- \expandafter\edef\csname fnum@#1\endcsname%
- {\expandafter\noexpand\csname fname@#1\endcsname{}
- \expandafter\noexpand\csname the#1\endcsname}%
- \@ifnextchar[%]
- {\float at newx{#1}}%
- {\@ifundefined{c@#1}{\newcounter{#1}\@namedef{the#1}{\arabic{#1}}}%
- {}}}%
- }%
- \PackageInfo{scrhack}{redefining \string\listof}%
- \renewcommand*\listof[2]{%
- \@ifundefined{ext@#1}{\float at error{#1}}{%
- \@ifundefined{l@#1}{\expandafter\let\csname l@#1\endcsname\l at figure
- \@ifundefined{l@#1}{%
- \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]
- {default}{#1}%
- }{}%
- }{}%
- \listoftoc[{#2}]{\csname ext@#1\endcsname}%
- }%
- }%
- \scr at ifexpected{\float at addtolists}{%
- \long\def\float at addtolists#1{%
- \def\float at do##1{\addtocontents{##1}{#1}} \the\float at exts}%
- }{%
- \PackageInfo{scrhack}{undefining \string\float at addtolists}%
- \let\float at addtolists\relax
- }{%
- \PackageWarningNoLine{scrhack}{unkown \string\float at addtolists\space
- definition found!\MessageBreak
- Maybe you are using a unsupported float version}%
- }%
- }{%
- \PackageWarningNoLine{scrhack}{unknown \string\listof\space
- definition found!\MessageBreak
- Maybe you are using a unsupported float version}%
- }%
-}{%
- \PackageWarningNoLine{scrhack}{unknown \string\newfloat\space
- definition found!\MessageBreak
- Maybe you are using a unsupported float version}%
-}
-\endinput
-%%
-%% End of file `float.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/floatrow.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/floatrow.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/floatrow.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,108 +0,0 @@
-%%
-%% This is file `floatrow.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,floatrow,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,floatrow,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from floatrow.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{floatrow.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- floatrow)%
-]
-\scr at ifexpected{\DeclareNewFloatType}{%
- \long\def\DeclareNewFloatType#1#2{\def\FB at captype{#1}%
- \expandafter\edef\csname ftype@#1\endcsname{\the\c at float@type}%
- \addtocounter{float at type}{\value{float at type}}%
- \@namedef{#1name}{#1}\newcounter{#1}%
- \expandafter\edef\csname fnum@#1\endcsname
- {\expandafter\noexpand\csname #1name\endcsname\nobreakspace
- \expandafter\noexpand\csname the#1\endcsname}%
- \@namedef{the#1}{\arabic{#1}}\flnew at ext{lo#1}\@namedef{fps@#1}{tbp}%
- \@namedef{l@#1}{\@dottedtocline{1}{1.5em}{2.3em}}%
- \caption at setkeys[floatrow]{newfloat}{#2}\let\FR at tmp=\relax
- \xdef\@tempa{\noexpand\flrow at types{\the\flrow at types \FR at tmp{#1}}}%
- \@tempa}%
-}{%
- \scr at ifexpected{\listof}{%
- \def\listof#1#2{%
- \@ifundefined{ext@#1}{\flrow at error{Unknown float style `#1'}}{%
- \expandafter\providecommand\csname l@#1\endcsname
- {\@dottedtocline{1}{1.5em}{2.3em}}%
- \float at listhead{#2}%
- \begingroup\setlength{\parskip}{\z@}%
- \@starttoc{\@nameuse{ext@#1}}%
- \endgroup}}%
- }{%
- \RequirePackage{tocbasic}%
- \PackageInfo{scrhack}{redefining \string\DeclareNewFloatType}%
- \renewcommand\DeclareNewFloatType[2]{\def\FB at captype{#1}%
- \expandafter\edef\csname ftype@#1\endcsname{\the\c at float@type}%
- \addtocounter{float at type}{\value{float at type}}%
- \@namedef{#1name}{#1}\newcounter{#1}%
- \expandafter\edef\csname fnum@#1\endcsname
- {\expandafter\noexpand\csname #1name\endcsname\nobreakspace
- \expandafter\noexpand\csname the#1\endcsname}%
- \@namedef{the#1}{\arabic{#1}}\flnew at ext{lo#1}\@namedef{fps@#1}{tbp}%
- \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]{default}{#1}%
- \caption at setkeys[floatrow]{newfloat}{#2}\let\FR at tmp=\relax
- \xdef\@tempa{\noexpand\flrow at types{\the\flrow at types \FR at tmp{#1}}}%
- \@tempa
- \xdef\@tempa{\noexpand\addtotoclist[float]{\@nameuse{ext@\FB at captype}}%
- \noexpand\setuptoc{\@nameuse{ext@\FB at captype}}{chapteratlist}%
- }%
- \@tempa
- }%
- \PackageInfo{scrhack}{redefining \string\listof}%
- \renewcommand*\listof[2]{%
- \@ifundefined{ext@#1}{\flrow at error{Unknown float style `#1'}}{%
- \@ifundefined{l@#1}{\expandafter\let\csname l@#1\endcsname\l at figure
- \@ifundefined{l@#1}{%
- \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]
- {default}{#1}%
- }{}%
- }{}%
- \listoftoc[{#2}]{\csname ext@#1\endcsname}%
- }%
- }%
- \scr at ifexpected{\float at addtolists}{%
- \long\def\float at addtolists#1{%
- \def\float at do##1{\addtocontents{##1}{#1}} \the\float at exts}%
- }{%
- \PackageInfo{scrhack}{undefining \string\float at addtolists}%
- \let\float at addtolists\relax
- }{%
- \PackageWarningNoLine{scrhack}{unkown \string\float at addtolists\space
- definition found!\MessageBreak
- Maybe you are using a unsupported floatrow version}%
- }%
- }{%
- \PackageWarningNoLine{scrhack}{unknown \string\listof\space
- definition found!\MessageBreak
- Maybe you are using a unsupported floatrow version}%
- }%
-}{%
- \PackageWarningNoLine{scrhack}{unknown \string\DeclareNewFloatType\space
- definition found!\MessageBreak
- Maybe you are using a unsupported floatrow version}%
-}
-\endinput
-%%
-%% End of file `floatrow.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/hyperref.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/hyperref.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/hyperref.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,132 +0,0 @@
-%%
-%% This is file `hyperref.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,hyperref,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,hyperref,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from hyperref.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{hyperref.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- hyperref)%
-]
-\scr at ifexpected\@schapter{%
- \def\@schapter#1{%
- \H at old@schapter{#1}%
- \begingroup
- \let\@mkboth\@gobbletwo
- \Hy at GlobalStepCount\Hy at linkcounter
- \xdef\@currentHref{\Hy at chapapp*.\the\Hy at linkcounter}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- \endgroup
- }%
-}{%
- \PackageInfo{scrhack}{redefining \string\@schapter}%
- \def\@schapter#1{%
- \begingroup
- \let\@mkboth\@gobbletwo
- \Hy at GlobalStepCount\Hy at linkcounter
- \xdef\@currentHref{\Hy at chapapp*.\the\Hy at linkcounter}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- \endgroup
- \H at old@schapter{#1}%
- }%
-}{%
- \scr at ifexpected\@schapter{%
- \def\@schapter#1{%
- \begingroup
- \let\@mkboth\@gobbletwo
- \Hy at GlobalStepCount\Hy at linkcounter
- \xdef\@currentHref{\Hy at chapapp*.\the\Hy at linkcounter}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- \endgroup
- \H at old@schapter{#1}%
- }%
- }{}{%
- \PackageWarningNoLine{scrhack}{unknown \string\@schapter\space
- definition found!\MessageBreak
- Maybe you are using a unsupported hyperref version}%
- }%
-}
-\scr at ifexpected\@spart{%
- \def\@spart#1{%
- \H at old@spart{#1}%
- \Hy at GlobalStepCount\Hy at linkcounter
- \xdef\@currentHref{part*.\the\Hy at linkcounter}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- }%
-}{%
- \PackageInfo{scrhack}{redefining \string\@spart}%
- \def\@spart#1{%
- \Hy at GlobalStepCount\Hy at linkcounter
- \xdef\@currentHref{part*.\the\Hy at linkcounter}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- \H at old@spart{#1}%
- }%
-}{%
- \scr at ifexpected\@spart{%
- \def\@spart#1{%
- \Hy at GlobalStepCount\Hy at linkcounter
- \xdef\@currentHref{part*.\the\Hy at linkcounter}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- \H at old@spart{#1}%
- }%
- }{}{%
- \PackageWarningNoLine{scrhack}{unknown \string\@spart\space
- definition found!\MessageBreak
- Maybe you are using a unsupported hyperref version}%
- }%
-}
-\scr at ifexpected\@ssect{%
- \def\@ssect#1#2#3#4#5{%
- \H at old@ssect{#1}{#2}{#3}{#4}{#5}%
- \phantomsection
- }%
-}{%
- \PackageInfo{scrhack}{redefining \string\@ssect}%
- \def\@ssect#1#2#3#4#5{%
- \H at old@ssect{#1}{#2}{#3}{#4}{\phantomsection\ignorespaces#5}%
- }%
-}{%
- \scr at ifexpected\@ssect{%
- \def\@ssect#1#2#3#4#5{%
- \H at old@ssect{#1}{#2}{#3}{#4}{\phantomsection\ignorespaces#5}%
- }%
- }{}{%
- \PackageWarningNoLine{scrhack}{unknown \string\@ssect\space
- definition found!\MessageBreak
- Maybe you are using a unsupported hyperref version}%
- }%
-}
-\endinput
-%%
-%% End of file `hyperref.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/listings.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/listings.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/listings.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,115 +0,0 @@
-%%
-%% This is file `listings.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,listings,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,listings,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from listings.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{listings.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- listings)%
-]
-\newcommand*{\scr at do@hack at listings}{%
- \RequirePackage{tocbasic}%
- \addtotoclist[float]{lol}%
- \setuptoc{lol}{chapteratlist}%
- \PackageInfo{scrhack}{redefining \string\lstlistoflistings}%
- \renewcommand*{\lstlistoflistings}{\listoftoc[{\lstlistlistingname}]{lol}}%
- \providecommand*{\ext at lstlisting}{lol}%
- \@tempswafalse
- \xpatchcmd\lst at MakeCaption
- {\addcontentsline{lol}}%
- {\addcontentsline{\ext at lstlisting}}%
- {\PackageInfo{scrhack}{patching \string\lst at MakeCaption}\@tempswatrue}%
- {\PackageWarning{scrhack}{cannot patch \string\lst at MakeCaption}}%
- \@whilesw\if at tempswa\fi{%
- \xpatchcmd\lst at MakeCaption
- {\addcontentsline{lol}}%
- {\addcontentsline{\ext at lstlisting}}%
- {}%
- {\@tempswafalse}%
- }%
- \AtBeginDocument{%
- \scr at ifexpected{\float at addtolists}{%
- \def\float at addtolists##1{\addtocontents{lol}{##1}}%
- }{%
- \PackageInfo{scrhack}{undefining \string\float at addtolists}%
- \let\float at addtolists\relax
- }{%
- \scr at ifexpected{\float at addtolists}{%
- \def\float at addtolists##1{\addtocontents{lol}{##1}%
- \orig at float@addtolists{##1}}%
- }{%
- \PackageInfo{scrhack}{setting \string\float at addtolists\MessageBreak
- to \string\orig at float@addtolists}%
- \let\float at addtolists\orig at float@addtolists
- }{%
- \PackageWarningNoLine{scrhack}{unkown \string\float at addtolists\space
- definition found!\MessageBreak
- Maybe you are using a unsupported listings version}%
- }%
- }%
- }%
- \expandafter\def\expandafter\lst at makecaption\expandafter{%
- \expandafter\def\expandafter\@captype\expandafter{%
- \expandafter l\expandafter s\expandafter t\expandafter l%
- \expandafter i\expandafter s\expandafter t\expandafter i%
- \expandafter n\expandafter g\expandafter}\lst at makecaption
- }%
- \let\scr at do@hack at listings\relax
-}
-\scr at ifexpected{\lstlistoflistings}{%
- \def\lstlistoflistings{\bgroup
- \let\contentsname\lstlistlistingname
- \let\lst at temp\@starttoc \def\@starttoc##1{\lst at temp{lol}}%
- \tableofcontents \egroup}%
-}{%
- \scr at do@hack at listings
-}{%
- \scr at ifexpected{\lstlistoflistings}{%
- \def\lstlistoflistings{%
- \begingroup
- \@ifundefined{@restonecoltrue}{}{%
- \if at twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse
- \fi
- }%
- \float at listhead{\lstlistlistingname}%
- \parskip\z@\parindent\z@\parfillskip \z@ \@plus 1fil%
- \@starttoc{lol}%
- \@ifundefined{@restonecoltrue}{}{%
- \if at restonecol\twocolumn\fi
- }%
- \endgroup
- }%
- }{%
- \scr at do@hack at listings
- }{%
- \PackageWarningNoLine{scrhack}{unknown \string\lstlistoflistings\space
- definition found!\MessageBreak
- Maybe you are using a unsupported listings version}%
- }%
-}
-\endinput
-%%
-%% End of file `listings.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/lscape.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/lscape.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/lscape.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,49 +0,0 @@
-%%
-%% This is file `lscape.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,lscape,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,lscape,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from lscape.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{lscape.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- lscape)%
-]
-\xpatchcmd{\landscape}{\textheight=\vsize}{%
- \if at scrhack@lscape
- \scrh at LT@textheight=\vsize
- \let\scrh at LT@outputpage\@outputpage
- \def\@outputpage{\scrh at LT@outputpage\global\@colht\scrh at LT@textheight}%
- \else
- \textheight=\vsize
- \fi
-}{%
- \PackageInfo{scrhack}{\string\landscape\space patched to make
- \string\textheight\space change optional}%
-}{%
- \PackageWarning{scrhack}{Cannot patch \string\landscape!\MessageBreak
- Maybe you are using a unsupported lscape version}%
- \@scrhack at lscapefalse
-}
-\newlength{\scrh at LT@textheight}
-\endinput
-%%
-%% End of file `lscape.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/nomencl.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/nomencl.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/nomencl.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,118 +0,0 @@
-%%
-%% This is file `nomencl.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,nomencl,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,nomencl,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from nomencl.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{nomencl.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- nomencl)%
-]
-\RequirePackage{tocbasic}
-\@ifpackagelater{nomencl}{2019/01/01}{%
- \PackageInfo{scrhack}{only `tocbasic' loaded for `nomencl'}%
- \expandafter\endinput
-}{}
-\addtotoclist[nomencl]{nlo}
-\addtotoclist[nomencl]{nls}
-\xpatchcmd{\thenomenclature}{%
- \@ifundefined{chapter}%
- {
- \section*{\nomname}
- \if at intoc\addcontentsline{toc}{section}{\nomname}\fi%
- }%
- {
- \chapter*{\nomname}
- \if at intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
- }%
-}{%
- \scr at hack@nomencl at head
-}{%
- \PackageInfo{scrhack}{\string\thenomenclature\space successfully patched}%
-}{%
- \xpatchcmd{\thenomenclature}{%
- \@ifundefined{chapter}%
- {
- \section*{\nomname}
- \if at intoc\addcontentsline{toc}{section}{\nomname}\fi%
- }%
- {
- \chapter*{\nomname}
- \markboth{\nomname}{\nomname}%
- \if at intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
- }%
- }{%
- \scr at hack@nomencl at head
- }{%
- \PackageInfo{scrhack}{\string\thenomenclature\space successfully patched}%
- }{%
- \xpatchcmd{\thenomenclature}{%
- \@ifundefined{chapter}%
- {
- \section*{\nomname}
- \if at intoc\addcontentsline{toc}{section}{\nomname}\fi%
- }%
- {
- \chapter*{\nomname}
- \@mkboth{\nomname}{\nomname}%
- \if at intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
- }%
- }{%
- \scr at hack@nomencl at head
- }{%
- \PackageInfo{scrhack}{\string\thenomenclature\space successfully patched}%
- }{%
- \xpatchcmd{\thenomenclature}{%
- \@ifundefined{chapter}%
- }{%
- \scr at hack@nomencl at head
- \@gobbletwo
- }{%
- \PackageWarning{scrhack}{%
- using emergency patch of \string\thenomenclature.\MessageBreak
- This could happen if you are using an unknown\MessageBreak
- release of package `nomencl'.\MessageBreak
- Mostly this patch does work too, but it also could\MessageBreak
- break `nomencl`. If this happens, please deactivate\MessageBreak
- the `nomencl` hack of `scrhack`%
- }%
- }{%
- \PackageWarning{scrhack}{%
- cannot patch \string\thenomenclature.\MessageBreak
- This could happen if you are using an unknown\MessageBreak
- release of package `nomencl'%
- }%
- }%
- }%
- }%
-}
-\newcommand*{\scr at hack@nomencl at head}{%
- \providecommand*{\listofnlsname}{\nomname}%
- \def\@currext{nls}%
- \tocbasic at listhead{\nomname}%
-}
-\if at intoc
- \setuptoc{nls}{totoc}
-\fi
-\endinput
-%%
-%% End of file `nomencl.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/setspace.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/setspace.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/setspace.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,118 +0,0 @@
-%%
-%% This is file `setspace.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,setspace,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,setspace,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from setspace.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{setspace.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (hacking package
- setspace)%
-]
-\scr at ifexpected{\onehalfspacing}{%
- \long\def\onehalfspacing{%
- \setstretch{1.25}% default
- \ifcase \@ptsize \relax % 10pt
- \setstretch {1.25}%
- \or % 11pt
- \setstretch {1.213}%
- \or % 12pt
- \setstretch {1.241}%
- \fi
- }%
-}{%
- \renewcommand*{\onehalfspacing}{%
- \@tempdima=\dimexpr (\f at size pt)*1500/
- (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
- \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
- }%
-}{%
- \scr at ifexpected{\onehalfspacing}{%
- \long\def\onehalfspacing{%
- \setstretch{1.25}% default
- \ifx\@ptsize\@undefined\else
- \ifcase \@ptsize \relax % 10pt
- \setstretch {1.25}%
- \or % 11pt
- \setstretch {1.213}%
- \or % 12pt
- \setstretch {1.241}%
- \fi
- \fi
- }%
- }{%
- \renewcommand*{\onehalfspacing}{%
- \@tempdima=\dimexpr (\f at size pt)*1500/
- (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
- \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
- }%
- }{%
- \PackageWarning{scrhack}{unknown \string\onehalfspacing\space
- definition found!\MessageBreak
- Maybe you are using a unsupported setpace version}%
- }%
-}
-\scr at ifexpected{\doublespacing}{%
- \long\def\doublespacing{%
- \setstretch{1.667}% default
- \ifcase \@ptsize \relax % 10pt
- \setstretch {1.667}%
- \or % 11pt
- \setstretch {1.618}%
- \or % 12pt
- \setstretch {1.655}%
- \fi
- }%
-}{%
- \renewcommand*{\doublespacing}{%
- \@tempdima=\dimexpr (\f at size pt)*2000/
- (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
- \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
- }%
-}{%
- \scr at ifexpected{\doublespacing}{%
- \long\def\doublespacing{%
- \setstretch {1.667}% default
- \ifx\@ptsize\@undefined\else
- \ifcase \@ptsize \relax % 10pt
- \setstretch {1.667}%
- \or % 11pt
- \setstretch {1.618}%
- \or % 12pt
- \setstretch {1.655}%
- \fi
- \fi
- }%
- }{%
- \renewcommand*{\doublespacing}{%
- \@tempdima=\dimexpr (\f at size pt)*2000/
- (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
- \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
- }%
- }{%
- \PackageWarning{scrhack}{unknown \string\doublespacing\space
- definition found!\MessageBreak
- Maybe you are using a unsupported setpace version}%
- }%
-}
-\endinput
-%%
-%% End of file `setspace.hak'.
Deleted: trunk/Master/texmf-dist/doc/latex/scrhack/standardsections.hak
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scrhack/standardsections.hak 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/texmf-dist/doc/latex/scrhack/standardsections.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -1,568 +0,0 @@
-%%
-%% This is file `standardsections.hak',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% scrhack-2023-07-07.dtx (with options: `hack,standardsections,identify')
-%% scrhack-2023-07-07.dtx (with options: `hack,standardsections,body')
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For the copyright see the source file.
-%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from standardsections.hak.
-%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
-%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\ProvidesFile{standardsections.hak}[%
- 2024-04-17 v3.42
- scrhack part
- (defining standard LaTeX class section headings)%
-]
-\PackageWarningNoLine{scrhack}{%
- You are loosing every kind of support because of\MessageBreak
- using the dangerous standard classes sections hack!\MessageBreak
- This hack can break several classes and packages.\MessageBreak
- However, sometimes it is needed to make a\MessageBreak
- package work%
-}%
-\PackageInfo{scrhack}{%
- Using code from the standard LaTeX classes.\MessageBreak
- For more information about this code and the\MessageBreak
- license of this code, please see:\MessageBreak
- https://ctan.org/tex-archive/macros/latex/base/classes.dtx
-}%
-\@ifpackageloaded{hyperref}{%
- \PackageWarning{scrhack}{this hack should not be loaded after `hyperref'}%
-}{}
-\@ifpackageloaded{titlesec}{%
- \PackageWarning{scrhack}{this hack should not be loaded after `titlesec'}%
-}{}
-\@ifpackageloaded{sectsty}{%
- \PackageWarning{scrhack}{this hack should not be loaded after `sectsty'}%
-}{}
-\scr at ifundefinedorrelax{chapter}{%
- \scr at ifundefinedorrelax{c at part}{\newcounter{part}}{}%
- \scr at ifundefinedorrelax{c at section}{\newcounter{section}}{}%
- \scr at ifundefinedorrelax{c at subsection}{\newcounter{subsection}[section]}{}%
- \scr at ifundefinedorrelax{c at subsubsection}{%
- \newcounter{subsubsection}[subsection]}{}%
- \scr at ifundefinedorrelax{c at paragraph}{%
- \newcounter{paragraph}[subsubsection]}{}%
- \scr at ifundefinedorrelax{c at subparagraph}{%
- \newcounter{subparagraph}[paragraph]}{}%
- \renewcommand\thepart {\@Roman\c at part}%
- \renewcommand\thesection {\@arabic\c at section}%
- \renewcommand\thesubsection {\thesection.\@arabic\c at subsection}%
- \renewcommand\thesubsubsection{\thesubsection.\@arabic\c at subsubsection}%
- \renewcommand\theparagraph {\thesubsubsection.\@arabic\c at paragraph}%
- \renewcommand\thesubparagraph {\theparagraph.\@arabic\c at subparagraph}%
- \def\part{%
- \if at noskipsec \leavevmode \fi
- \par
- \addvspace{4ex}%
- \@afterindentfalse
- \secdef\@part\@spart}%
- \def\@part[#1]#2{%
- \ifnum \c at secnumdepth >\m at ne
- \refstepcounter{part}%
- \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
- \else
- \addcontentsline{toc}{part}{#1}%
- \fi
- {\parindent \z@ \raggedright
- \interlinepenalty \@M
- \normalfont
- \ifnum \c at secnumdepth >\m at ne
- \Large\bfseries \partname\nobreakspace\thepart
- \par\nobreak
- \fi
- \huge \bfseries #2%
- \markboth{}{}\par}%
- \nobreak
- \vskip 3ex
- \@afterheading}%
- \def\@spart#1{%
- {\parindent \z@ \raggedright
- \interlinepenalty \@M
- \normalfont
- \huge \bfseries #1\par}%
- \nobreak
- \vskip 3ex
- \@afterheading}%
- \def\section{\@startsection {section}{1}{\z@}%
- {-3.5ex \@plus -1ex \@minus -.2ex}%
- {2.3ex \@plus.2ex}%
- {\normalfont\Large\bfseries}}%
- \def\subsection{\@startsection{subsection}{2}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\large\bfseries}}%
- \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\normalsize\bfseries}}%
- \def\paragraph{\@startsection{paragraph}{4}{\z@}%
- {3.25ex \@plus1ex \@minus.2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}%
- \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
- {3.25ex \@plus1ex \@minus .2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}%
-}{%
- \scr at ifundefinedorrelax{c at part}{\newcounter{part}}{}%
- \scr at ifundefinedorrelax{c at chapter}{\newcounter{chapter}}{}%
- \scr at ifundefinedorrelax{c at section}{\newcounter{section}[chapter]}{}%
- \scr at ifundefinedorrelax{c at subsection}{\newcounter{subsection}[section]}{}%
- \scr at ifundefinedorrelax{c at subsubsection}{%
- \newcounter{subsubsection}[subsection]}{}%
- \scr at ifundefinedorrelax{c at paragraph}{%
- \newcounter{paragraph}[subsubsection]}{}%
- \scr at ifundefinedorrelax{c at subparagraph}{%
- \newcounter{subparagraph}[paragraph]}{}%
- \def\@chapapp{\chaptername}%
- \scr at ifundefinedorrelax{frontmatter}{%
- \def\part{%
- \if at openright
- \cleardoublepage
- \else
- \clearpage
- \fi
- \thispagestyle{plain}%
- \if at twocolumn
- \onecolumn
- \@tempswatrue
- \else
- \@tempswafalse
- \fi
- \null\vfil
- \secdef\@part\@spart}
-
- \def\@part[#1]#2{%
- \ifnum \c at secnumdepth >-2\relax
- \refstepcounter{part}%
- \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
- \else
- \addcontentsline{toc}{part}{#1}%
- \fi
- \markboth{}{}%
- {\centering
- \interlinepenalty \@M
- \normalfont
- \ifnum \c at secnumdepth >-2\relax
- \huge\bfseries \partname\nobreakspace\thepart
- \par
- \vskip 20\p@
- \fi
- \Huge \bfseries #2\par}%
- \@endpart}
- \def\@spart#1{%
- {\centering
- \interlinepenalty \@M
- \normalfont
- \Huge \bfseries #1\par}%
- \@endpart}
- \def\@endpart{\vfil\newpage
- \if at twoside
- \if at openright
- \null
- \thispagestyle{empty}%
- \newpage
- \fi
- \fi
- \if at tempswa
- \twocolumn
- \fi}
- \def\chapter{\if at openright\cleardoublepage\else\clearpage\fi
- \thispagestyle{plain}%
- \global\@topnum\z@
- \@afterindentfalse
- \secdef\@chapter\@schapter}
- \def\@chapter[#1]#2{\ifnum \c at secnumdepth >\m at ne
- \refstepcounter{chapter}%
- \typeout{\@chapapp\space\thechapter.}%
- \addcontentsline{toc}{chapter}%
- {\protect\numberline{\thechapter}#1}%
- \else
- \addcontentsline{toc}{chapter}{#1}%
- \fi
- \chaptermark{#1}%
- \addtocontents{lof}{\protect\addvspace{10\p@}}%
- \addtocontents{lot}{\protect\addvspace{10\p@}}%
- \if at twocolumn
- \@topnewpage[\@makechapterhead{#2}]%
- \else
- \@makechapterhead{#2}%
- \@afterheading
- \fi}
- \def\@makechapterhead#1{%
- \vspace*{50\p@}%
- {\parindent \z@ \raggedright \normalfont
- \ifnum \c at secnumdepth >\m at ne
- \huge\bfseries \@chapapp\space \thechapter
- \par\nobreak
- \vskip 20\p@
- \fi
- \interlinepenalty\@M
- \Huge \bfseries #1\par\nobreak
- \vskip 40\p@
- }}
- \def\@schapter#1{\if at twocolumn
- \@topnewpage[\@makeschapterhead{#1}]%
- \else
- \@makeschapterhead{#1}%
- \@afterheading
- \fi}
- \def\@makeschapterhead#1{%
- \vspace*{50\p@}%
- {\parindent \z@ \raggedright
- \normalfont
- \interlinepenalty\@M
- \Huge \bfseries #1\par\nobreak
- \vskip 40\p@
- }}
- \def\section{\@startsection {section}{1}{\z@}%
- {-3.5ex \@plus -1ex \@minus -.2ex}%
- {2.3ex \@plus.2ex}%
- {\normalfont\Large\bfseries}}%
- \def\subsection{\@startsection{subsection}{2}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\large\bfseries}}%
- \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\normalsize\bfseries}}%
- \def\paragraph{\@startsection{paragraph}{4}{\z@}%
- {3.25ex \@plus1ex \@minus.2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}%
- \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
- {3.25ex \@plus1ex \@minus .2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}%
- }{%
- \scr at ifundefinedorrelax{if at mainmatter}{%
- \expandafter\newif\csname if at mainmatter\endcsname
- }{}%
- \def\frontmatter{%
- \cleardoublepage
- \@mainmatterfalse
- \pagenumbering{roman}}%
- \def\mainmatter{%
- \cleardoublepage
- \@mainmattertrue
- \pagenumbering{arabic}}%
- \def\backmatter{%
- \if at openright
- \cleardoublepage
- \else
- \clearpage
- \fi
- \@mainmatterfalse}%
- \def\part{%
- \if at openright
- \cleardoublepage
- \else
- \clearpage
- \fi
- \thispagestyle{plain}%
- \if at twocolumn
- \onecolumn
- \@tempswatrue
- \else
- \@tempswafalse
- \fi
- \null\vfil
- \secdef\@part\@spart}%
-
- \def\@part[#1]#2{%
- \ifnum \c at secnumdepth >-2\relax
- \refstepcounter{part}%
- \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
- \else
- \addcontentsline{toc}{part}{#1}%
- \fi
- \markboth{}{}%
- {\centering
- \interlinepenalty \@M
- \normalfont
- \ifnum \c at secnumdepth >-2\relax
- \huge\bfseries \partname\nobreakspace\thepart
- \par
- \vskip 20\p@
- \fi
- \Huge \bfseries #2\par}%
- \@endpart}%
- \def\@spart#1{%
- {\centering
- \interlinepenalty \@M
- \normalfont
- \Huge \bfseries #1\par}%
- \@endpart}%
- \def\@endpart{\vfil\newpage
- \if at twoside
- \if at openright
- \null
- \thispagestyle{empty}%
- \newpage
- \fi
- \fi
- \if at tempswa
- \twocolumn
- \fi}%
- \def\chapter{\if at openright\cleardoublepage\else\clearpage\fi
- \thispagestyle{plain}%
- \global\@topnum\z@
- \@afterindentfalse
- \secdef\@chapter\@schapter}%
- \def\@chapter[#1]#2{\ifnum \c at secnumdepth >\m at ne
- \if at mainmatter
- \refstepcounter{chapter}%
- \typeout{\@chapapp\space\thechapter.}%
- \addcontentsline{toc}{chapter}%
- {\protect\numberline{\thechapter}#1}%
- \else
- \addcontentsline{toc}{chapter}{#1}%
- \fi
- \else
- \addcontentsline{toc}{chapter}{#1}%
- \fi
- \chaptermark{#1}%
- \addtocontents{lof}{\protect\addvspace{10\p@}}%
- \addtocontents{lot}{\protect\addvspace{10\p@}}%
- \if at twocolumn
- \@topnewpage[\@makechapterhead{#2}]%
- \else
- \@makechapterhead{#2}%
- \@afterheading
- \fi}%
- \def\@makechapterhead#1{%
- \vspace*{50\p@}%
- {\parindent \z@ \raggedright \normalfont
- \ifnum \c at secnumdepth >\m at ne
- \if at mainmatter
- \huge\bfseries \@chapapp\space \thechapter
- \par\nobreak
- \vskip 20\p@
- \fi
- \fi
- \interlinepenalty\@M
- \Huge \bfseries #1\par\nobreak
- \vskip 40\p@
- }}%
- \def\@schapter#1{\if at twocolumn
- \@topnewpage[\@makeschapterhead{#1}]%
- \else
- \@makeschapterhead{#1}%
- \@afterheading
- \fi}%
- \def\@makeschapterhead#1{%
- \vspace*{50\p@}%
- {\parindent \z@ \raggedright
- \normalfont
- \interlinepenalty\@M
- \Huge \bfseries #1\par\nobreak
- \vskip 40\p@
- }}%
- \def\section{\@startsection {section}{1}{\z@}%
- {-3.5ex \@plus -1ex \@minus -.2ex}%
- {2.3ex \@plus.2ex}%
- {\normalfont\Large\bfseries}}%
- \def\subsection{\@startsection{subsection}{2}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\large\bfseries}}%
- \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\normalsize\bfseries}}%
- \def\paragraph{\@startsection{paragraph}{4}{\z@}%
- {3.25ex \@plus1ex \@minus.2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}%
- \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
- {3.25ex \@plus1ex \@minus .2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}%
- }%
-}% End of the derived code.
-\scr at ifundefinedorrelax{scr at saved@startsection}{}{%
- \ifx\@startsection\scr at saved@startsection\else
- \PackageWarningNoLine{scrhack}{%
- Resetting \string\@startsection,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \let\@startsection\scr at saved@startsection
- \fi
-}
-\scr at ifundefinedorrelax{scr at latex@sect}{}{%
- \ifx\@sect\scr at latex@sect\else
- \PackageWarningNoLine{scrhack}{%
- Resetting \string\@sect,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \let\@sect\scr at latex@sect
- \fi
-}
-\scr at ifundefinedorrelax{scr at latex@ssect}{}{%
- \ifx\@ssect\scr at latex@ssect\else
- \PackageWarningNoLine{scrhack}{%
- Resetting \string\@ssect,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \let\@ssect\scr at latex@ssect
- \fi
-}
-\scr at ifundefinedorrelax{scr at latex@xsect}{}{%
- \ifx\@xsect\scr at latex@xsect\else
- \PackageWarningNoLine{scrhack}{%
- Resetting \string\@xsect,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \let\@xsect\scr at latex@xsect
- \fi
-}
-\scr at ifundefinedorrelax{DeclareSectionCommand}{}{%
- \PackageWarningNoLine{scrhack}{%
- \string\DeclareSectionCommand\space
- and all derivates deactivated,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \let\DeclareSectionCommand\undefined
- \let\DeclareSectionCommands\undefined
- \let\RedeclareSectionCommand\undefined
- \let\RedeclareSectionCommands\undefined
- \let\DeclareNewSectionCommand\undefined
- \let\DeclareNewSectionCommands\undefined
- \let\ProvideSectionCommand\undefined
- \let\ProvideSectionCommands\undefined
-}
-\let\scr at chapter@before at hyperref@patch\relax
-\let\scr at chapter@after at hyperref@patch\relax
-\scr at ifundefinedorrelax{scr at osectarg}{}{%
- \def\reserved at a{0}%
- \ifx\scr at osectarg\reserved at a\else
- \let\scr at osectarg\reserved at a
- \PackageWarningNoLine{scrhack}{%
- Extended option handling for section commands deactivated,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \fi
-}%
-\scr at ifundefinedorrelax{scr at activate@xsection}{}{%
- \renewcommand*{\scr at activate@xsection}[1]{%
- \edef\scr at osectarg{#1}\def\reserved at a{0}%
- \ifx\scr at osectarg\reserved at a
- \else
- \let\scr at osectarg\reserved at a
- \PackageWarning{scrhack}{%
- Because of loading the standard classes\MessageBreak
- sections hack, the extended option handling\MessageBreak
- of section commands failed%
- }%
- \fi
- }%
-}
-\scr at ifundefinedorrelax{partformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- Usage of \string\partformat\space
- deactivated,\MessageBreak
- because of loading the standard classes sections hack%
- }%
-}
-\scr at ifundefinedorrelax{chapterformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- Usage of \string\chapterformat\space
- deactivated,\MessageBreak
- because of loading the standard classes sections hack%
- }%
-}
-\scr at ifundefinedorrelax{sectionformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- \string\sectionformat\space set to
- `\string\thesection\string\quad',\MessageBreak
- because of loading the standard classes sections hack%
- }%
- \renewcommand*{\sectionformat}{\thesection\quad}%
-}
-\scr at ifundefinedorrelax{subsectionformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- \string\subsectionformat\space set to
- `\string\thesubsection\string\quad'\MessageBreak
- because of loading the standard classes sections hack%
- }%
- \renewcommand*{\subsectionformat}{\thesubsection\quad}%
-}
-\scr at ifundefinedorrelax{subsubsectionformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- \string\subsubsectionformat\space set to
- `\string\thesubsubsection\string\quad'\MessageBreak
- because of loading the standard classes sections hack%
- }%
- \renewcommand*{\subsubsectionformat}{\thesubsubsection\quad}%
-}
-\scr at ifundefinedorrelax{paragraphformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- \string\paragraphformat\space set to
- `\string\theparagraph\string\quad'\MessageBreak
- because of loading the standard classes sections hack%
- }%
- \renewcommand*{\paragraphformat}{\theparagraph\quad}%
-}
-\scr at ifundefinedorrelax{subparagraphformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- \string\subparagraphformat\space set to
- `\string\thesubparagraph\string\quad'\MessageBreak
- because of loading the standard classes sections hack%
- }%
- \renewcommand*{\subparagraphformat}{\thesubparagraph\quad}%
-}
-\scr at ifundefinedorrelax{partlineswithprefixformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- Usage of \string\partlineswithprefixformat\space deactivated,\MessageBreak
- because of loading the standard classes sections hack%
- }%
-}
-\scr at ifundefinedorrelax{chapterlineswithprefixformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- Usage of \string\chapterlineswithprefixformat\space and\MessageBreak
- \string\chapterlinesformat\space deactivated,\MessageBreak
- because of using standard classes sections hack%
- }%
-}
-\scr at ifundefinedorrelax{sectionlinesformat}{}{%
- \PackageWarningNoLine{scrhack}{%
- Usage of \string\sectionlinesformat\space and\MessageBreak
- \string\sectioncatchphraseformat\space deactivated,\MessageBreak
- because of using standard classes sections hack%
- }%
-}
-\scr at ifundefinedorrelax{KOMAClassName}{}{%
- \PackageWarningNoLine{scrhack}{%
- KOMA-Script option `headings' removed,\MessageBreak
- because of loading standard classes sections hack%
- }%
- \RelaxFamilyKey[.\KOMAClassFileName]{KOMA}{headings}%
- \KOMA at kav@removekey{\KOMAClassFileName}{headings}%
-}
-\def\scr at class@titlesec at warning{%
- \PackageWarning{scrhack}{%
- Usage of `titlesec' should work, because of\MessageBreak
- loading the standard classes sections hack.\MessageBreak
- However, you should know, there is not any\MessageBreak
- support for this combination by the\MessageBreak
- KOMA-Script author%
- }%
-}
-\endinput
-%%
-%% End of file `standardsections.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/float.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/float.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/float.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,121 @@
+%%
+%% This is file `float.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,float,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,float,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from float.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{float.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ float)%
+]
+\scr at ifexpected{\newfloat}{%
+ \long\def\newfloat#1#2#3{\@namedef{ext@#1}{#3}
+ \let\float at do=\relax
+ \xdef\@tempa{\noexpand\float at exts{\the\float at exts \float at do{#3}}}%
+ \@tempa
+ \floatplacement{#1}{#2}%
+ \@ifundefined{fname@#1}{\floatname{#1}{#1}}{}
+ \expandafter\edef\csname ftype@#1\endcsname{\value{float at type}}%
+ \addtocounter{float at type}{\value{float at type}}
+ \restylefloat{#1}%
+ \expandafter\edef\csname fnum@#1\endcsname%
+ {\expandafter\noexpand\csname fname@#1\endcsname{}
+ \expandafter\noexpand\csname the#1\endcsname}
+ \@ifnextchar[%]
+ {\float at newx{#1}}%
+ {\@ifundefined{c@#1}{\newcounter{#1}\@namedef{the#1}{\arabic{#1}}}%
+ {}}}%
+}{%
+ \scr at ifexpected{\listof}{%
+ \def\listof#1#2{%
+ \@ifundefined{ext@#1}{\float at error{#1}}{%
+ \@namedef{l@#1}{\@dottedtocline{1}{1.5em}{2.3em}}%
+ \float at listhead{#2}%
+ \begingroup\setlength{\parskip}{\z@}%
+ \@starttoc{\@nameuse{ext@#1}}%
+ \endgroup}}%
+ }{%
+ \RequirePackage{tocbasic}%
+ \PackageInfo{scrhack}{redefining \string\newfloat}%
+ \renewcommand\newfloat[3]{%
+ \Ifattoclist{#3}{%
+ \PackageError{scrhack}{extension `#3' already in use}{%
+ Each extension may be used only once.\MessageBreak
+ You, the class, or another package already uses extension
+ `#3'.\MessageBreak
+ \string\newfloat\space command will be ignored!}%
+ }{%
+ \addtotoclist[float]{#3}%
+ \setuptoc{#3}{chapteratlist}%
+ \@namedef{ext@#1}{#3}%
+ \let\float at do=\relax
+ \xdef\@tempa{\noexpand\float at exts{\the\float at exts \float at do{#3}}}%
+ \@tempa
+ \floatplacement{#1}{#2}%
+ \@ifundefined{fname@#1}{\floatname{#1}{#1}}{}%
+ \expandafter\edef\csname ftype@#1\endcsname{\value{float at type}}%
+ \addtocounter{float at type}{\value{float at type}}
+ \restylefloat{#1}%
+ \expandafter\edef\csname fnum@#1\endcsname%
+ {\expandafter\noexpand\csname fname@#1\endcsname{}
+ \expandafter\noexpand\csname the#1\endcsname}%
+ \@ifnextchar[%]
+ {\float at newx{#1}}%
+ {\@ifundefined{c@#1}{\newcounter{#1}\@namedef{the#1}{\arabic{#1}}}%
+ {}}}%
+ }%
+ \PackageInfo{scrhack}{redefining \string\listof}%
+ \renewcommand*\listof[2]{%
+ \@ifundefined{ext@#1}{\float at error{#1}}{%
+ \@ifundefined{l@#1}{\expandafter\let\csname l@#1\endcsname\l at figure
+ \@ifundefined{l@#1}{%
+ \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]
+ {default}{#1}%
+ }{}%
+ }{}%
+ \listoftoc[{#2}]{\csname ext@#1\endcsname}%
+ }%
+ }%
+ \scr at ifexpected{\float at addtolists}{%
+ \long\def\float at addtolists#1{%
+ \def\float at do##1{\addtocontents{##1}{#1}} \the\float at exts}%
+ }{%
+ \PackageInfo{scrhack}{undefining \string\float at addtolists}%
+ \let\float at addtolists\relax
+ }{%
+ \PackageWarningNoLine{scrhack}{unkown \string\float at addtolists\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported float version}%
+ }%
+ }{%
+ \PackageWarningNoLine{scrhack}{unknown \string\listof\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported float version}%
+ }%
+}{%
+ \PackageWarningNoLine{scrhack}{unknown \string\newfloat\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported float version}%
+}
+\endinput
+%%
+%% End of file `float.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/floatrow.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/floatrow.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/floatrow.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,108 @@
+%%
+%% This is file `floatrow.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,floatrow,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,floatrow,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from floatrow.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{floatrow.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ floatrow)%
+]
+\scr at ifexpected{\DeclareNewFloatType}{%
+ \long\def\DeclareNewFloatType#1#2{\def\FB at captype{#1}%
+ \expandafter\edef\csname ftype@#1\endcsname{\the\c at float@type}%
+ \addtocounter{float at type}{\value{float at type}}%
+ \@namedef{#1name}{#1}\newcounter{#1}%
+ \expandafter\edef\csname fnum@#1\endcsname
+ {\expandafter\noexpand\csname #1name\endcsname\nobreakspace
+ \expandafter\noexpand\csname the#1\endcsname}%
+ \@namedef{the#1}{\arabic{#1}}\flnew at ext{lo#1}\@namedef{fps@#1}{tbp}%
+ \@namedef{l@#1}{\@dottedtocline{1}{1.5em}{2.3em}}%
+ \caption at setkeys[floatrow]{newfloat}{#2}\let\FR at tmp=\relax
+ \xdef\@tempa{\noexpand\flrow at types{\the\flrow at types \FR at tmp{#1}}}%
+ \@tempa}%
+}{%
+ \scr at ifexpected{\listof}{%
+ \def\listof#1#2{%
+ \@ifundefined{ext@#1}{\flrow at error{Unknown float style `#1'}}{%
+ \expandafter\providecommand\csname l@#1\endcsname
+ {\@dottedtocline{1}{1.5em}{2.3em}}%
+ \float at listhead{#2}%
+ \begingroup\setlength{\parskip}{\z@}%
+ \@starttoc{\@nameuse{ext@#1}}%
+ \endgroup}}%
+ }{%
+ \RequirePackage{tocbasic}%
+ \PackageInfo{scrhack}{redefining \string\DeclareNewFloatType}%
+ \renewcommand\DeclareNewFloatType[2]{\def\FB at captype{#1}%
+ \expandafter\edef\csname ftype@#1\endcsname{\the\c at float@type}%
+ \addtocounter{float at type}{\value{float at type}}%
+ \@namedef{#1name}{#1}\newcounter{#1}%
+ \expandafter\edef\csname fnum@#1\endcsname
+ {\expandafter\noexpand\csname #1name\endcsname\nobreakspace
+ \expandafter\noexpand\csname the#1\endcsname}%
+ \@namedef{the#1}{\arabic{#1}}\flnew at ext{lo#1}\@namedef{fps@#1}{tbp}%
+ \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]{default}{#1}%
+ \caption at setkeys[floatrow]{newfloat}{#2}\let\FR at tmp=\relax
+ \xdef\@tempa{\noexpand\flrow at types{\the\flrow at types \FR at tmp{#1}}}%
+ \@tempa
+ \xdef\@tempa{\noexpand\addtotoclist[float]{\@nameuse{ext@\FB at captype}}%
+ \noexpand\setuptoc{\@nameuse{ext@\FB at captype}}{chapteratlist}%
+ }%
+ \@tempa
+ }%
+ \PackageInfo{scrhack}{redefining \string\listof}%
+ \renewcommand*\listof[2]{%
+ \@ifundefined{ext@#1}{\flrow at error{Unknown float style `#1'}}{%
+ \@ifundefined{l@#1}{\expandafter\let\csname l@#1\endcsname\l at figure
+ \@ifundefined{l@#1}{%
+ \DeclareTOCStyleEntry[level=1,numwidth=2.3em,indent=1.5em]
+ {default}{#1}%
+ }{}%
+ }{}%
+ \listoftoc[{#2}]{\csname ext@#1\endcsname}%
+ }%
+ }%
+ \scr at ifexpected{\float at addtolists}{%
+ \long\def\float at addtolists#1{%
+ \def\float at do##1{\addtocontents{##1}{#1}} \the\float at exts}%
+ }{%
+ \PackageInfo{scrhack}{undefining \string\float at addtolists}%
+ \let\float at addtolists\relax
+ }{%
+ \PackageWarningNoLine{scrhack}{unkown \string\float at addtolists\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported floatrow version}%
+ }%
+ }{%
+ \PackageWarningNoLine{scrhack}{unknown \string\listof\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported floatrow version}%
+ }%
+}{%
+ \PackageWarningNoLine{scrhack}{unknown \string\DeclareNewFloatType\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported floatrow version}%
+}
+\endinput
+%%
+%% End of file `floatrow.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/hyperref.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/hyperref.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/hyperref.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,132 @@
+%%
+%% This is file `hyperref.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,hyperref,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,hyperref,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from hyperref.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{hyperref.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ hyperref)%
+]
+\scr at ifexpected\@schapter{%
+ \def\@schapter#1{%
+ \H at old@schapter{#1}%
+ \begingroup
+ \let\@mkboth\@gobbletwo
+ \Hy at GlobalStepCount\Hy at linkcounter
+ \xdef\@currentHref{\Hy at chapapp*.\the\Hy at linkcounter}%
+ \Hy at raisedlink{%
+ \hyper at anchorstart{\@currentHref}\hyper at anchorend
+ }%
+ \endgroup
+ }%
+}{%
+ \PackageInfo{scrhack}{redefining \string\@schapter}%
+ \def\@schapter#1{%
+ \begingroup
+ \let\@mkboth\@gobbletwo
+ \Hy at GlobalStepCount\Hy at linkcounter
+ \xdef\@currentHref{\Hy at chapapp*.\the\Hy at linkcounter}%
+ \Hy at raisedlink{%
+ \hyper at anchorstart{\@currentHref}\hyper at anchorend
+ }%
+ \endgroup
+ \H at old@schapter{#1}%
+ }%
+}{%
+ \scr at ifexpected\@schapter{%
+ \def\@schapter#1{%
+ \begingroup
+ \let\@mkboth\@gobbletwo
+ \Hy at GlobalStepCount\Hy at linkcounter
+ \xdef\@currentHref{\Hy at chapapp*.\the\Hy at linkcounter}%
+ \Hy at raisedlink{%
+ \hyper at anchorstart{\@currentHref}\hyper at anchorend
+ }%
+ \endgroup
+ \H at old@schapter{#1}%
+ }%
+ }{}{%
+ \PackageWarningNoLine{scrhack}{unknown \string\@schapter\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported hyperref version}%
+ }%
+}
+\scr at ifexpected\@spart{%
+ \def\@spart#1{%
+ \H at old@spart{#1}%
+ \Hy at GlobalStepCount\Hy at linkcounter
+ \xdef\@currentHref{part*.\the\Hy at linkcounter}%
+ \Hy at raisedlink{%
+ \hyper at anchorstart{\@currentHref}\hyper at anchorend
+ }%
+ }%
+}{%
+ \PackageInfo{scrhack}{redefining \string\@spart}%
+ \def\@spart#1{%
+ \Hy at GlobalStepCount\Hy at linkcounter
+ \xdef\@currentHref{part*.\the\Hy at linkcounter}%
+ \Hy at raisedlink{%
+ \hyper at anchorstart{\@currentHref}\hyper at anchorend
+ }%
+ \H at old@spart{#1}%
+ }%
+}{%
+ \scr at ifexpected\@spart{%
+ \def\@spart#1{%
+ \Hy at GlobalStepCount\Hy at linkcounter
+ \xdef\@currentHref{part*.\the\Hy at linkcounter}%
+ \Hy at raisedlink{%
+ \hyper at anchorstart{\@currentHref}\hyper at anchorend
+ }%
+ \H at old@spart{#1}%
+ }%
+ }{}{%
+ \PackageWarningNoLine{scrhack}{unknown \string\@spart\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported hyperref version}%
+ }%
+}
+\scr at ifexpected\@ssect{%
+ \def\@ssect#1#2#3#4#5{%
+ \H at old@ssect{#1}{#2}{#3}{#4}{#5}%
+ \phantomsection
+ }%
+}{%
+ \PackageInfo{scrhack}{redefining \string\@ssect}%
+ \def\@ssect#1#2#3#4#5{%
+ \H at old@ssect{#1}{#2}{#3}{#4}{\phantomsection\ignorespaces#5}%
+ }%
+}{%
+ \scr at ifexpected\@ssect{%
+ \def\@ssect#1#2#3#4#5{%
+ \H at old@ssect{#1}{#2}{#3}{#4}{\phantomsection\ignorespaces#5}%
+ }%
+ }{}{%
+ \PackageWarningNoLine{scrhack}{unknown \string\@ssect\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported hyperref version}%
+ }%
+}
+\endinput
+%%
+%% End of file `hyperref.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/listings.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/listings.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/listings.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,115 @@
+%%
+%% This is file `listings.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,listings,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,listings,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from listings.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{listings.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ listings)%
+]
+\newcommand*{\scr at do@hack at listings}{%
+ \RequirePackage{tocbasic}%
+ \addtotoclist[float]{lol}%
+ \setuptoc{lol}{chapteratlist}%
+ \PackageInfo{scrhack}{redefining \string\lstlistoflistings}%
+ \renewcommand*{\lstlistoflistings}{\listoftoc[{\lstlistlistingname}]{lol}}%
+ \providecommand*{\ext at lstlisting}{lol}%
+ \@tempswafalse
+ \xpatchcmd\lst at MakeCaption
+ {\addcontentsline{lol}}%
+ {\addcontentsline{\ext at lstlisting}}%
+ {\PackageInfo{scrhack}{patching \string\lst at MakeCaption}\@tempswatrue}%
+ {\PackageWarning{scrhack}{cannot patch \string\lst at MakeCaption}}%
+ \@whilesw\if at tempswa\fi{%
+ \xpatchcmd\lst at MakeCaption
+ {\addcontentsline{lol}}%
+ {\addcontentsline{\ext at lstlisting}}%
+ {}%
+ {\@tempswafalse}%
+ }%
+ \AtBeginDocument{%
+ \scr at ifexpected{\float at addtolists}{%
+ \def\float at addtolists##1{\addtocontents{lol}{##1}}%
+ }{%
+ \PackageInfo{scrhack}{undefining \string\float at addtolists}%
+ \let\float at addtolists\relax
+ }{%
+ \scr at ifexpected{\float at addtolists}{%
+ \def\float at addtolists##1{\addtocontents{lol}{##1}%
+ \orig at float@addtolists{##1}}%
+ }{%
+ \PackageInfo{scrhack}{setting \string\float at addtolists\MessageBreak
+ to \string\orig at float@addtolists}%
+ \let\float at addtolists\orig at float@addtolists
+ }{%
+ \PackageWarningNoLine{scrhack}{unkown \string\float at addtolists\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported listings version}%
+ }%
+ }%
+ }%
+ \expandafter\def\expandafter\lst at makecaption\expandafter{%
+ \expandafter\def\expandafter\@captype\expandafter{%
+ \expandafter l\expandafter s\expandafter t\expandafter l%
+ \expandafter i\expandafter s\expandafter t\expandafter i%
+ \expandafter n\expandafter g\expandafter}\lst at makecaption
+ }%
+ \let\scr at do@hack at listings\relax
+}
+\scr at ifexpected{\lstlistoflistings}{%
+ \def\lstlistoflistings{\bgroup
+ \let\contentsname\lstlistlistingname
+ \let\lst at temp\@starttoc \def\@starttoc##1{\lst at temp{lol}}%
+ \tableofcontents \egroup}%
+}{%
+ \scr at do@hack at listings
+}{%
+ \scr at ifexpected{\lstlistoflistings}{%
+ \def\lstlistoflistings{%
+ \begingroup
+ \@ifundefined{@restonecoltrue}{}{%
+ \if at twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ }%
+ \float at listhead{\lstlistlistingname}%
+ \parskip\z@\parindent\z@\parfillskip \z@ \@plus 1fil%
+ \@starttoc{lol}%
+ \@ifundefined{@restonecoltrue}{}{%
+ \if at restonecol\twocolumn\fi
+ }%
+ \endgroup
+ }%
+ }{%
+ \scr at do@hack at listings
+ }{%
+ \PackageWarningNoLine{scrhack}{unknown \string\lstlistoflistings\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported listings version}%
+ }%
+}
+\endinput
+%%
+%% End of file `listings.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/lscape.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/lscape.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/lscape.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,49 @@
+%%
+%% This is file `lscape.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,lscape,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,lscape,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from lscape.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{lscape.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ lscape)%
+]
+\xpatchcmd{\landscape}{\textheight=\vsize}{%
+ \if at scrhack@lscape
+ \scrh at LT@textheight=\vsize
+ \let\scrh at LT@outputpage\@outputpage
+ \def\@outputpage{\scrh at LT@outputpage\global\@colht\scrh at LT@textheight}%
+ \else
+ \textheight=\vsize
+ \fi
+}{%
+ \PackageInfo{scrhack}{\string\landscape\space patched to make
+ \string\textheight\space change optional}%
+}{%
+ \PackageWarning{scrhack}{Cannot patch \string\landscape!\MessageBreak
+ Maybe you are using a unsupported lscape version}%
+ \@scrhack at lscapefalse
+}
+\newlength{\scrh at LT@textheight}
+\endinput
+%%
+%% End of file `lscape.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/nomencl.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/nomencl.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/nomencl.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,118 @@
+%%
+%% This is file `nomencl.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,nomencl,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,nomencl,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from nomencl.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{nomencl.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ nomencl)%
+]
+\RequirePackage{tocbasic}
+\@ifpackagelater{nomencl}{2019/01/01}{%
+ \PackageInfo{scrhack}{only `tocbasic' loaded for `nomencl'}%
+ \expandafter\endinput
+}{}
+\addtotoclist[nomencl]{nlo}
+\addtotoclist[nomencl]{nls}
+\xpatchcmd{\thenomenclature}{%
+ \@ifundefined{chapter}%
+ {
+ \section*{\nomname}
+ \if at intoc\addcontentsline{toc}{section}{\nomname}\fi%
+ }%
+ {
+ \chapter*{\nomname}
+ \if at intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
+ }%
+}{%
+ \scr at hack@nomencl at head
+}{%
+ \PackageInfo{scrhack}{\string\thenomenclature\space successfully patched}%
+}{%
+ \xpatchcmd{\thenomenclature}{%
+ \@ifundefined{chapter}%
+ {
+ \section*{\nomname}
+ \if at intoc\addcontentsline{toc}{section}{\nomname}\fi%
+ }%
+ {
+ \chapter*{\nomname}
+ \markboth{\nomname}{\nomname}%
+ \if at intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
+ }%
+ }{%
+ \scr at hack@nomencl at head
+ }{%
+ \PackageInfo{scrhack}{\string\thenomenclature\space successfully patched}%
+ }{%
+ \xpatchcmd{\thenomenclature}{%
+ \@ifundefined{chapter}%
+ {
+ \section*{\nomname}
+ \if at intoc\addcontentsline{toc}{section}{\nomname}\fi%
+ }%
+ {
+ \chapter*{\nomname}
+ \@mkboth{\nomname}{\nomname}%
+ \if at intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
+ }%
+ }{%
+ \scr at hack@nomencl at head
+ }{%
+ \PackageInfo{scrhack}{\string\thenomenclature\space successfully patched}%
+ }{%
+ \xpatchcmd{\thenomenclature}{%
+ \@ifundefined{chapter}%
+ }{%
+ \scr at hack@nomencl at head
+ \@gobbletwo
+ }{%
+ \PackageWarning{scrhack}{%
+ using emergency patch of \string\thenomenclature.\MessageBreak
+ This could happen if you are using an unknown\MessageBreak
+ release of package `nomencl'.\MessageBreak
+ Mostly this patch does work too, but it also could\MessageBreak
+ break `nomencl`. If this happens, please deactivate\MessageBreak
+ the `nomencl` hack of `scrhack`%
+ }%
+ }{%
+ \PackageWarning{scrhack}{%
+ cannot patch \string\thenomenclature.\MessageBreak
+ This could happen if you are using an unknown\MessageBreak
+ release of package `nomencl'%
+ }%
+ }%
+ }%
+ }%
+}
+\newcommand*{\scr at hack@nomencl at head}{%
+ \providecommand*{\listofnlsname}{\nomname}%
+ \def\@currext{nls}%
+ \tocbasic at listhead{\nomname}%
+}
+\if at intoc
+ \setuptoc{nls}{totoc}
+\fi
+\endinput
+%%
+%% End of file `nomencl.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/setspace.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/setspace.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/setspace.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,118 @@
+%%
+%% This is file `setspace.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,setspace,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,setspace,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from setspace.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{setspace.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (hacking package
+ setspace)%
+]
+\scr at ifexpected{\onehalfspacing}{%
+ \long\def\onehalfspacing{%
+ \setstretch{1.25}% default
+ \ifcase \@ptsize \relax % 10pt
+ \setstretch {1.25}%
+ \or % 11pt
+ \setstretch {1.213}%
+ \or % 12pt
+ \setstretch {1.241}%
+ \fi
+ }%
+}{%
+ \renewcommand*{\onehalfspacing}{%
+ \@tempdima=\dimexpr (\f at size pt)*1500/
+ (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
+ \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
+ }%
+}{%
+ \scr at ifexpected{\onehalfspacing}{%
+ \long\def\onehalfspacing{%
+ \setstretch{1.25}% default
+ \ifx\@ptsize\@undefined\else
+ \ifcase \@ptsize \relax % 10pt
+ \setstretch {1.25}%
+ \or % 11pt
+ \setstretch {1.213}%
+ \or % 12pt
+ \setstretch {1.241}%
+ \fi
+ \fi
+ }%
+ }{%
+ \renewcommand*{\onehalfspacing}{%
+ \@tempdima=\dimexpr (\f at size pt)*1500/
+ (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
+ \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
+ }%
+ }{%
+ \PackageWarning{scrhack}{unknown \string\onehalfspacing\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported setpace version}%
+ }%
+}
+\scr at ifexpected{\doublespacing}{%
+ \long\def\doublespacing{%
+ \setstretch{1.667}% default
+ \ifcase \@ptsize \relax % 10pt
+ \setstretch {1.667}%
+ \or % 11pt
+ \setstretch {1.618}%
+ \or % 12pt
+ \setstretch {1.655}%
+ \fi
+ }%
+}{%
+ \renewcommand*{\doublespacing}{%
+ \@tempdima=\dimexpr (\f at size pt)*2000/
+ (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
+ \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
+ }%
+}{%
+ \scr at ifexpected{\doublespacing}{%
+ \long\def\doublespacing{%
+ \setstretch {1.667}% default
+ \ifx\@ptsize\@undefined\else
+ \ifcase \@ptsize \relax % 10pt
+ \setstretch {1.667}%
+ \or % 11pt
+ \setstretch {1.618}%
+ \or % 12pt
+ \setstretch {1.655}%
+ \fi
+ \fi
+ }%
+ }{%
+ \renewcommand*{\doublespacing}{%
+ \@tempdima=\dimexpr (\f at size pt)*2000/
+ (\dimexpr \f at baselineskip\relax)*\p@/1000\relax
+ \expandafter\setstretch\expandafter{\strip at pt\@tempdima}%
+ }%
+ }{%
+ \PackageWarning{scrhack}{unknown \string\doublespacing\space
+ definition found!\MessageBreak
+ Maybe you are using a unsupported setpace version}%
+ }%
+}
+\endinput
+%%
+%% End of file `setspace.hak'.
Added: trunk/Master/texmf-dist/tex/latex/scrhack/standardsections.hak
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scrhack/standardsections.hak (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/scrhack/standardsections.hak 2024-10-20 20:35:37 UTC (rev 72608)
@@ -0,0 +1,568 @@
+%%
+%% This is file `standardsections.hak',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% scrhack-2023-07-07.dtx (with options: `hack,standardsections,identify')
+%% scrhack-2023-07-07.dtx (with options: `hack,standardsections,body')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from standardsections.hak.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\ProvidesFile{standardsections.hak}[%
+ 2024-04-17 v3.42
+ scrhack part
+ (defining standard LaTeX class section headings)%
+]
+\PackageWarningNoLine{scrhack}{%
+ You are loosing every kind of support because of\MessageBreak
+ using the dangerous standard classes sections hack!\MessageBreak
+ This hack can break several classes and packages.\MessageBreak
+ However, sometimes it is needed to make a\MessageBreak
+ package work%
+}%
+\PackageInfo{scrhack}{%
+ Using code from the standard LaTeX classes.\MessageBreak
+ For more information about this code and the\MessageBreak
+ license of this code, please see:\MessageBreak
+ https://ctan.org/tex-archive/macros/latex/base/classes.dtx
+}%
+\@ifpackageloaded{hyperref}{%
+ \PackageWarning{scrhack}{this hack should not be loaded after `hyperref'}%
+}{}
+\@ifpackageloaded{titlesec}{%
+ \PackageWarning{scrhack}{this hack should not be loaded after `titlesec'}%
+}{}
+\@ifpackageloaded{sectsty}{%
+ \PackageWarning{scrhack}{this hack should not be loaded after `sectsty'}%
+}{}
+\scr at ifundefinedorrelax{chapter}{%
+ \scr at ifundefinedorrelax{c at part}{\newcounter{part}}{}%
+ \scr at ifundefinedorrelax{c at section}{\newcounter{section}}{}%
+ \scr at ifundefinedorrelax{c at subsection}{\newcounter{subsection}[section]}{}%
+ \scr at ifundefinedorrelax{c at subsubsection}{%
+ \newcounter{subsubsection}[subsection]}{}%
+ \scr at ifundefinedorrelax{c at paragraph}{%
+ \newcounter{paragraph}[subsubsection]}{}%
+ \scr at ifundefinedorrelax{c at subparagraph}{%
+ \newcounter{subparagraph}[paragraph]}{}%
+ \renewcommand\thepart {\@Roman\c at part}%
+ \renewcommand\thesection {\@arabic\c at section}%
+ \renewcommand\thesubsection {\thesection.\@arabic\c at subsection}%
+ \renewcommand\thesubsubsection{\thesubsection.\@arabic\c at subsubsection}%
+ \renewcommand\theparagraph {\thesubsubsection.\@arabic\c at paragraph}%
+ \renewcommand\thesubparagraph {\theparagraph.\@arabic\c at subparagraph}%
+ \def\part{%
+ \if at noskipsec \leavevmode \fi
+ \par
+ \addvspace{4ex}%
+ \@afterindentfalse
+ \secdef\@part\@spart}%
+ \def\@part[#1]#2{%
+ \ifnum \c at secnumdepth >\m at ne
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ {\parindent \z@ \raggedright
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c at secnumdepth >\m at ne
+ \Large\bfseries \partname\nobreakspace\thepart
+ \par\nobreak
+ \fi
+ \huge \bfseries #2%
+ \markboth{}{}\par}%
+ \nobreak
+ \vskip 3ex
+ \@afterheading}%
+ \def\@spart#1{%
+ {\parindent \z@ \raggedright
+ \interlinepenalty \@M
+ \normalfont
+ \huge \bfseries #1\par}%
+ \nobreak
+ \vskip 3ex
+ \@afterheading}%
+ \def\section{\@startsection {section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\Large\bfseries}}%
+ \def\subsection{\@startsection{subsection}{2}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\large\bfseries}}%
+ \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}}%
+ \def\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}%
+ \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}%
+}{%
+ \scr at ifundefinedorrelax{c at part}{\newcounter{part}}{}%
+ \scr at ifundefinedorrelax{c at chapter}{\newcounter{chapter}}{}%
+ \scr at ifundefinedorrelax{c at section}{\newcounter{section}[chapter]}{}%
+ \scr at ifundefinedorrelax{c at subsection}{\newcounter{subsection}[section]}{}%
+ \scr at ifundefinedorrelax{c at subsubsection}{%
+ \newcounter{subsubsection}[subsection]}{}%
+ \scr at ifundefinedorrelax{c at paragraph}{%
+ \newcounter{paragraph}[subsubsection]}{}%
+ \scr at ifundefinedorrelax{c at subparagraph}{%
+ \newcounter{subparagraph}[paragraph]}{}%
+ \def\@chapapp{\chaptername}%
+ \scr at ifundefinedorrelax{frontmatter}{%
+ \def\part{%
+ \if at openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{plain}%
+ \if at twocolumn
+ \onecolumn
+ \@tempswatrue
+ \else
+ \@tempswafalse
+ \fi
+ \null\vfil
+ \secdef\@part\@spart}
+
+ \def\@part[#1]#2{%
+ \ifnum \c at secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \markboth{}{}%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c at secnumdepth >-2\relax
+ \huge\bfseries \partname\nobreakspace\thepart
+ \par
+ \vskip 20\p@
+ \fi
+ \Huge \bfseries #2\par}%
+ \@endpart}
+ \def\@spart#1{%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \Huge \bfseries #1\par}%
+ \@endpart}
+ \def\@endpart{\vfil\newpage
+ \if at twoside
+ \if at openright
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi
+ \fi
+ \if at tempswa
+ \twocolumn
+ \fi}
+ \def\chapter{\if at openright\cleardoublepage\else\clearpage\fi
+ \thispagestyle{plain}%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@chapter\@schapter}
+ \def\@chapter[#1]#2{\ifnum \c at secnumdepth >\m at ne
+ \refstepcounter{chapter}%
+ \typeout{\@chapapp\space\thechapter.}%
+ \addcontentsline{toc}{chapter}%
+ {\protect\numberline{\thechapter}#1}%
+ \else
+ \addcontentsline{toc}{chapter}{#1}%
+ \fi
+ \chaptermark{#1}%
+ \addtocontents{lof}{\protect\addvspace{10\p@}}%
+ \addtocontents{lot}{\protect\addvspace{10\p@}}%
+ \if at twocolumn
+ \@topnewpage[\@makechapterhead{#2}]%
+ \else
+ \@makechapterhead{#2}%
+ \@afterheading
+ \fi}
+ \def\@makechapterhead#1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright \normalfont
+ \ifnum \c at secnumdepth >\m at ne
+ \huge\bfseries \@chapapp\space \thechapter
+ \par\nobreak
+ \vskip 20\p@
+ \fi
+ \interlinepenalty\@M
+ \Huge \bfseries #1\par\nobreak
+ \vskip 40\p@
+ }}
+ \def\@schapter#1{\if at twocolumn
+ \@topnewpage[\@makeschapterhead{#1}]%
+ \else
+ \@makeschapterhead{#1}%
+ \@afterheading
+ \fi}
+ \def\@makeschapterhead#1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright
+ \normalfont
+ \interlinepenalty\@M
+ \Huge \bfseries #1\par\nobreak
+ \vskip 40\p@
+ }}
+ \def\section{\@startsection {section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\Large\bfseries}}%
+ \def\subsection{\@startsection{subsection}{2}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\large\bfseries}}%
+ \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}}%
+ \def\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}%
+ \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}%
+ }{%
+ \scr at ifundefinedorrelax{if at mainmatter}{%
+ \expandafter\newif\csname if at mainmatter\endcsname
+ }{}%
+ \def\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{roman}}%
+ \def\mainmatter{%
+ \cleardoublepage
+ \@mainmattertrue
+ \pagenumbering{arabic}}%
+ \def\backmatter{%
+ \if at openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \@mainmatterfalse}%
+ \def\part{%
+ \if at openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{plain}%
+ \if at twocolumn
+ \onecolumn
+ \@tempswatrue
+ \else
+ \@tempswafalse
+ \fi
+ \null\vfil
+ \secdef\@part\@spart}%
+
+ \def\@part[#1]#2{%
+ \ifnum \c at secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \markboth{}{}%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c at secnumdepth >-2\relax
+ \huge\bfseries \partname\nobreakspace\thepart
+ \par
+ \vskip 20\p@
+ \fi
+ \Huge \bfseries #2\par}%
+ \@endpart}%
+ \def\@spart#1{%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \Huge \bfseries #1\par}%
+ \@endpart}%
+ \def\@endpart{\vfil\newpage
+ \if at twoside
+ \if at openright
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi
+ \fi
+ \if at tempswa
+ \twocolumn
+ \fi}%
+ \def\chapter{\if at openright\cleardoublepage\else\clearpage\fi
+ \thispagestyle{plain}%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@chapter\@schapter}%
+ \def\@chapter[#1]#2{\ifnum \c at secnumdepth >\m at ne
+ \if at mainmatter
+ \refstepcounter{chapter}%
+ \typeout{\@chapapp\space\thechapter.}%
+ \addcontentsline{toc}{chapter}%
+ {\protect\numberline{\thechapter}#1}%
+ \else
+ \addcontentsline{toc}{chapter}{#1}%
+ \fi
+ \else
+ \addcontentsline{toc}{chapter}{#1}%
+ \fi
+ \chaptermark{#1}%
+ \addtocontents{lof}{\protect\addvspace{10\p@}}%
+ \addtocontents{lot}{\protect\addvspace{10\p@}}%
+ \if at twocolumn
+ \@topnewpage[\@makechapterhead{#2}]%
+ \else
+ \@makechapterhead{#2}%
+ \@afterheading
+ \fi}%
+ \def\@makechapterhead#1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright \normalfont
+ \ifnum \c at secnumdepth >\m at ne
+ \if at mainmatter
+ \huge\bfseries \@chapapp\space \thechapter
+ \par\nobreak
+ \vskip 20\p@
+ \fi
+ \fi
+ \interlinepenalty\@M
+ \Huge \bfseries #1\par\nobreak
+ \vskip 40\p@
+ }}%
+ \def\@schapter#1{\if at twocolumn
+ \@topnewpage[\@makeschapterhead{#1}]%
+ \else
+ \@makeschapterhead{#1}%
+ \@afterheading
+ \fi}%
+ \def\@makeschapterhead#1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright
+ \normalfont
+ \interlinepenalty\@M
+ \Huge \bfseries #1\par\nobreak
+ \vskip 40\p@
+ }}%
+ \def\section{\@startsection {section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\Large\bfseries}}%
+ \def\subsection{\@startsection{subsection}{2}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\large\bfseries}}%
+ \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}}%
+ \def\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}%
+ \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}%
+ }%
+}% End of the derived code.
+\scr at ifundefinedorrelax{scr at saved@startsection}{}{%
+ \ifx\@startsection\scr at saved@startsection\else
+ \PackageWarningNoLine{scrhack}{%
+ Resetting \string\@startsection,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \let\@startsection\scr at saved@startsection
+ \fi
+}
+\scr at ifundefinedorrelax{scr at latex@sect}{}{%
+ \ifx\@sect\scr at latex@sect\else
+ \PackageWarningNoLine{scrhack}{%
+ Resetting \string\@sect,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \let\@sect\scr at latex@sect
+ \fi
+}
+\scr at ifundefinedorrelax{scr at latex@ssect}{}{%
+ \ifx\@ssect\scr at latex@ssect\else
+ \PackageWarningNoLine{scrhack}{%
+ Resetting \string\@ssect,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \let\@ssect\scr at latex@ssect
+ \fi
+}
+\scr at ifundefinedorrelax{scr at latex@xsect}{}{%
+ \ifx\@xsect\scr at latex@xsect\else
+ \PackageWarningNoLine{scrhack}{%
+ Resetting \string\@xsect,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \let\@xsect\scr at latex@xsect
+ \fi
+}
+\scr at ifundefinedorrelax{DeclareSectionCommand}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ \string\DeclareSectionCommand\space
+ and all derivates deactivated,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \let\DeclareSectionCommand\undefined
+ \let\DeclareSectionCommands\undefined
+ \let\RedeclareSectionCommand\undefined
+ \let\RedeclareSectionCommands\undefined
+ \let\DeclareNewSectionCommand\undefined
+ \let\DeclareNewSectionCommands\undefined
+ \let\ProvideSectionCommand\undefined
+ \let\ProvideSectionCommands\undefined
+}
+\let\scr at chapter@before at hyperref@patch\relax
+\let\scr at chapter@after at hyperref@patch\relax
+\scr at ifundefinedorrelax{scr at osectarg}{}{%
+ \def\reserved at a{0}%
+ \ifx\scr at osectarg\reserved at a\else
+ \let\scr at osectarg\reserved at a
+ \PackageWarningNoLine{scrhack}{%
+ Extended option handling for section commands deactivated,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \fi
+}%
+\scr at ifundefinedorrelax{scr at activate@xsection}{}{%
+ \renewcommand*{\scr at activate@xsection}[1]{%
+ \edef\scr at osectarg{#1}\def\reserved at a{0}%
+ \ifx\scr at osectarg\reserved at a
+ \else
+ \let\scr at osectarg\reserved at a
+ \PackageWarning{scrhack}{%
+ Because of loading the standard classes\MessageBreak
+ sections hack, the extended option handling\MessageBreak
+ of section commands failed%
+ }%
+ \fi
+ }%
+}
+\scr at ifundefinedorrelax{partformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ Usage of \string\partformat\space
+ deactivated,\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+}
+\scr at ifundefinedorrelax{chapterformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ Usage of \string\chapterformat\space
+ deactivated,\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+}
+\scr at ifundefinedorrelax{sectionformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ \string\sectionformat\space set to
+ `\string\thesection\string\quad',\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+ \renewcommand*{\sectionformat}{\thesection\quad}%
+}
+\scr at ifundefinedorrelax{subsectionformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ \string\subsectionformat\space set to
+ `\string\thesubsection\string\quad'\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+ \renewcommand*{\subsectionformat}{\thesubsection\quad}%
+}
+\scr at ifundefinedorrelax{subsubsectionformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ \string\subsubsectionformat\space set to
+ `\string\thesubsubsection\string\quad'\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+ \renewcommand*{\subsubsectionformat}{\thesubsubsection\quad}%
+}
+\scr at ifundefinedorrelax{paragraphformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ \string\paragraphformat\space set to
+ `\string\theparagraph\string\quad'\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+ \renewcommand*{\paragraphformat}{\theparagraph\quad}%
+}
+\scr at ifundefinedorrelax{subparagraphformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ \string\subparagraphformat\space set to
+ `\string\thesubparagraph\string\quad'\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+ \renewcommand*{\subparagraphformat}{\thesubparagraph\quad}%
+}
+\scr at ifundefinedorrelax{partlineswithprefixformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ Usage of \string\partlineswithprefixformat\space deactivated,\MessageBreak
+ because of loading the standard classes sections hack%
+ }%
+}
+\scr at ifundefinedorrelax{chapterlineswithprefixformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ Usage of \string\chapterlineswithprefixformat\space and\MessageBreak
+ \string\chapterlinesformat\space deactivated,\MessageBreak
+ because of using standard classes sections hack%
+ }%
+}
+\scr at ifundefinedorrelax{sectionlinesformat}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ Usage of \string\sectionlinesformat\space and\MessageBreak
+ \string\sectioncatchphraseformat\space deactivated,\MessageBreak
+ because of using standard classes sections hack%
+ }%
+}
+\scr at ifundefinedorrelax{KOMAClassName}{}{%
+ \PackageWarningNoLine{scrhack}{%
+ KOMA-Script option `headings' removed,\MessageBreak
+ because of loading standard classes sections hack%
+ }%
+ \RelaxFamilyKey[.\KOMAClassFileName]{KOMA}{headings}%
+ \KOMA at kav@removekey{\KOMAClassFileName}{headings}%
+}
+\def\scr at class@titlesec at warning{%
+ \PackageWarning{scrhack}{%
+ Usage of `titlesec' should work, because of\MessageBreak
+ loading the standard classes sections hack.\MessageBreak
+ However, you should know, there is not any\MessageBreak
+ support for this combination by the\MessageBreak
+ KOMA-Script author%
+ }%
+}
+\endinput
+%%
+%% End of file `standardsections.hak'.
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2024-10-20 20:23:26 UTC (rev 72607)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2024-10-20 20:35:37 UTC (rev 72608)
@@ -2523,6 +2523,7 @@
'sansmath', '^..[^s].*\.sty', # not miscdoc.sty
'sapthesis', 'sapienzalogo.pdf|' . $standardtex,
'scholax', '.*-subs\.tex|' . $standardtex,
+ 'scrhack', '.hak$|' . $standardtex,
'scrlttr2copy','\.lco',
'sdaps', '\.dict$|code128|' . $standardtex,
'sduthesis', 'figures|' . $standardtex,
More information about the tex-live-commits
mailing list.