summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-13 21:30:21 +0000
committerKarl Berry <karl@freefriends.org>2020-08-13 21:30:21 +0000
commit86d874e1e363029f23a84b6fad4dbda6b979428c (patch)
treee677e7e3a86b29c7e5114f4e544137c4e97e345c /Master/texmf-dist/tex/latex/oberdiek
parentedc6f5a22ca6cbae2fc144a07f4f4795f877b80d (diff)
oberdiek (13aug20)
git-svn-id: svn://tug.org/texlive/trunk@56100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/hopatch.sty182
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/pagesel.sty254
2 files changed, 0 insertions, 436 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty b/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty
deleted file mode 100644
index 2661d782780..00000000000
--- a/Master/texmf-dist/tex/latex/oberdiek/hopatch.sty
+++ /dev/null
@@ -1,182 +0,0 @@
-%%
-%% This is file `hopatch.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% hopatch.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Project: hopatch
-%% Version: 2016/05/16 v1.3
-%%
-%% Copyright (C)
-%% 2011, 2012 Heiko Oberdiek
-%% 2016-2019 Oberdiek Package Support 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. This version of this license is in
-%% https://www.latex-project.org/lppl/lppl-1-3c.txt
-%% and the latest version of this license is in
-%% https://www.latex-project.org/lppl.txt
-%% and version 1.3 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 Maintainers of this work are
-%% Heiko Oberdiek and the Oberdiek Package Support Group
-%% https://github.com/ho-tex/oberdiek/issues
-%%
-%%
-%% This work consists of the main source file hopatch.dtx
-%% and the derived files
-%% hopatch.sty, hopatch.pdf, hopatch.ins, hopatch.drv,
-%% hopatch-test1.tex, hopatch-test2.tex.
-%%
-\begingroup\catcode61\catcode48\catcode32=10\relax%
- \catcode13=5 % ^^M
- \endlinechar=13 %
- \catcode123=1 % {
- \catcode125=2 % }
- \catcode64=11 % @
- \def\x{\endgroup
- \expandafter\edef\csname HOpatch@AtEnd\endcsname{%
- \endlinechar=\the\endlinechar\relax
- \catcode13=\the\catcode13\relax
- \catcode32=\the\catcode32\relax
- \catcode35=\the\catcode35\relax
- \catcode61=\the\catcode61\relax
- \catcode64=\the\catcode64\relax
- \catcode123=\the\catcode123\relax
- \catcode125=\the\catcode125\relax
- }%
- }%
-\x\catcode61\catcode48\catcode32=10\relax%
-\catcode13=5 % ^^M
-\endlinechar=13 %
-\catcode35=6 % #
-\catcode64=11 % @
-\catcode123=1 % {
-\catcode125=2 % }
-\def\TMP@EnsureCode#1#2{%
- \edef\HOpatch@AtEnd{%
- \HOpatch@AtEnd
- \catcode#1=\the\catcode#1\relax
- }%
- \catcode#1=#2\relax
-}
-\TMP@EnsureCode{40}{12}% (
-\TMP@EnsureCode{41}{12}% )
-\TMP@EnsureCode{43}{12}% +
-\TMP@EnsureCode{46}{12}% .
-\TMP@EnsureCode{47}{12}% /
-\TMP@EnsureCode{91}{12}% [
-\TMP@EnsureCode{93}{12}% ]
-\edef\HOpatch@AtEnd{\HOpatch@AtEnd\noexpand\endinput}
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{hopatch}%
- [2016/05/16 v1.3 Wrapper for package hooks (HO)]
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname RequirePackage\endcsname\relax
- \def\TMP@RequirePackage#1[#2]{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname ver@#1.sty\endcsname\relax
- \input #1.sty\relax
- \fi
- }%
- \TMP@RequirePackage{ltxcmds}[2010/12/12]%
-\else
- \RequirePackage{ltxcmds}[2010/12/12]%
-\fi
-\def\HOpatch@counter{0}%
-\ltx@ifundefined{numexpr}{%
- \def\HOpatch@StepCounter{%
- \begingroup
- \count@\HOpatch@counter\relax
- \advance\count@\ltx@one\relax
- \edef\x{\endgroup
- \noexpand\def\noexpand\HOpatch@counter{\the\count@}%
- }%
- \x
- }%
-}{%
- \def\HOpatch@StepCounter{%
- \edef\HOpatch@counter{%
- \the\numexpr\HOpatch@counter+\ltx@one\relax
- }%
- }%
-}
-\def\HOpatch@list{}
-\def\HOpatch@Add{%
- \ltx@LocalAppendToMacro\HOpatch@list
-}
-\def\hopatch@AfterPackage#1{%
- \ltx@ifpackageloaded{#1}{%
- \ltx@firstofone
- }{%
- \HOpatch@AfterPackage{#1}%
- }%
-}
-\def\HOpatch@AfterPackage#1{%
- \edef\HOpatch@temp{#1}%
- \HOpatch@StepCounter
- \expandafter\HOpatch@@AfterPackage
- \csname HOpatch@\HOpatch@counter\expandafter\endcsname{%
- \HOpatch@temp
- }%
-}
-\def\HOpatch@@AfterPackage#1#2#3{%
- \begingroup
- \toks@{#3}%
- \xdef\HOpatch@gtemp{%
- \noexpand\ltx@ifpackageloaded{#2}{%
- \noexpand\let\noexpand#1\noexpand\relax
- \the\toks@
- }{}%
- }%
- \endgroup
- \let#1\HOpatch@gtemp
- \HOpatch@Add#1%
- \HOpatch@Try{AfterPackage}{#2}#1%
- \HOpatch@Try{AtEndPackage}{#2}#1%
- \HOpatch@Try{AtEndOfPackageFile}{#2}#1%
-}
-\def\HOpatch@Try#1#2#3{%
- \ltx@ifundefined{#1}{}{%
- \csname #1\endcsname{#2}{#3}%
- }%
-}
-\AtBeginDocument{\HOpatch@list}
-\ltx@ifundefined{AtEndPreamble}{}{%
- \ltx@ifundefined{@endpreamblehook}{}{%
- \AtEndPreamble{\HOpatch@list}%
- }%
-}
-\ltx@ifundefined{AfterEndPreamble}{}{%
- \ltx@ifundefined{@afterendpreamblehook}{}{%
- \AfterEndPreamble{%
- \let\HOpatch@OrgIfPackageLoaded\@ifpackageloaded
- \let\HOpatch@OrgIfPackageLater\@ifpackagelater
- \let\HOpatch@OrgIfClassLoaded\@ifclassloaded
- \let\HOpatch@OrgIfClassLater\@ifclasslater
- \let\@ifpackageloaded\ltx@ifpackageloaded
- \let\@ifpackagelater\ltx@ifpackagelater
- \let\@ifclassloaded\ltx@ifclassloaded
- \let\@ifclasslater\ltx@ifclasslater
- \HOpatch@list
- \let\@ifpackageloaded\HOpatch@OrgIfPackageLoaded
- \let\@ifpackagelater\HOpatch@OrgIfPackageLater
- \let\@ifclassloaded\HOpatch@OrgIfClassLoaded
- \let\@ifclasslater\HOpatch@OrgIfClassLater
- }%
- }%
-}
-\HOpatch@AtEnd%
-%% \section{Installation}
-\endinput
-%%
-%% End of file `hopatch.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pagesel.sty b/Master/texmf-dist/tex/latex/oberdiek/pagesel.sty
deleted file mode 100644
index 6d504427152..00000000000
--- a/Master/texmf-dist/tex/latex/oberdiek/pagesel.sty
+++ /dev/null
@@ -1,254 +0,0 @@
-%%
-%% This is file `pagesel.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% pagesel.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Project: pagesel
-%% Version: 2016/05/16 v1.9
-%%
-%% Copyright (C)
-%% 1999, 2003, 2006-2008 Heiko Oberdiek
-%% 2016-2019 Oberdiek Package Support 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. This version of this license is in
-%% https://www.latex-project.org/lppl/lppl-1-3c.txt
-%% and the latest version of this license is in
-%% https://www.latex-project.org/lppl.txt
-%% and version 1.3 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 Maintainers of this work are
-%% Heiko Oberdiek and the Oberdiek Package Support Group
-%% https://github.com/ho-tex/oberdiek/issues
-%%
-%%
-%% This work consists of the main source file pagesel.dtx
-%% and the derived files
-%% pagesel.sty, pagesel.pdf, pagesel.ins, pagesel.drv.
-%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pagesel}
- [2016/05/16 v1.9 Select pages of a document for output (HO)]%
-\@ifundefined{ps@makevoid}{}{%
- \PackageWarningNoLine{pagesel}{Package already loaded.}%
- \endinput
-}
-\newcommand*{\ps@makevoid}{%
- \global\setbox\@cclv\copy\voidb@x
- \begingroup
- \count@=\deadcycles
- \advance\count@ by -1\relax
- \deadcycles=\count@
- \endgroup
-}
-\newcommand*\ps@oddpages{0}
-\DeclareOption{odd}{\renewcommand*\ps@oddpages{1}}
-\DeclareOption{even}{\renewcommand*\ps@oddpages{2}}
-\DeclareOption{nofiles}{\let\ps@nofiles\nofiles}
-\DeclareOption{nonofiles}{\let\ps@nofiles\@empty}
-\DeclareOption{files}{\let\ps@nofiles\@empty}
-\ExecuteOptions{nofiles}
-\DeclareOption*{%
- \begingroup
- \expandafter\ps@checkoption\CurrentOption-\END
- \edef\x{\endgroup\noexpand\ps@store{\ps@first}{\ps@last}}%
- \x
-}
-\newcommand\ps@checkoption{}
-\def\ps@checkoption#1-#2\END{%
- \ifx\\#2\\%
- \ifx\\#1\\%
- % empty option
- \def\ps@first{\maxdimen}%
- \def\ps@last{\maxdimen}%
- \else
- \edef\ps@first{#1}%
- \edef\ps@last{#1}%
- \fi
- \else
- \ifx\\#1\\%
- \def\ps@first{-\maxdimen}%
- \else
- \edef\ps@first{#1}%
- \fi
- \ps@checklast#2%
- \fi
-}
-\newcommand\ps@checklast{}
-\def\ps@checklast#1-{%
- \ifx\\#1\\%
- \def\ps@last{\maxdimen}%
- \else
- \edef\ps@last{#1}%
- \fi
-}
-\newcommand*{\ps@store}[2]{%
- \expandafter\def\expandafter\ps@testlist\expandafter{%
- \ps@testlist\ps@pagetest{#1}{#2}%
- }%
-}
-\newcommand*\ps@testlist{}
-\ProcessOptions
-\begingroup
- \edef\x{%
- \ifnum\ps@oddpages>0 \relax\fi
- \ifx\ps@testlist\@empty\else\relax\fi
- }%
- \ifx\x\@empty
- \endgroup
- \PackageInfo{pagesel}{Nothing to do}%
- \expandafter\endinput
- \fi
-\endgroup
-\RequirePackage{everyshi}
-\ps@nofiles
-\newcounter{ps@count}
-\setcounter{ps@count}{0}
-\long\def\ps@ReturnAfterElseFi#1\else#2\fi{\fi#1}
-\long\def\ps@ReturnAfterFi#1\fi{\fi#1}
-\newcommand{\ps@lastpage}{\maxdimen}
-\ifx\ps@nofiles\nofiles
- \ifx\ps@testlist\@empty
- \else
- \def\ps@lastpage{0}%
- \newcommand*{\ps@pagetest}[2]{%
- \ifnum#2>\ps@lastpage\relax
- \def\ps@lastpage{#2}%
- \fi
- }%
- \ps@testlist
- \let\ps@pagetest\relax
- \fi
-\fi
-\newcommand*{\ps@ifinset}[4]{%
- \ifnum#1>\value{ps@count}%
- \ps@ReturnAfterElseFi{#4}%
- \else
- \ps@ReturnAfterFi{%
- \ifnum#2<\value{ps@count}%
- \ps@ReturnAfterElseFi{#4}%
- \else
- \ps@ReturnAfterFi{#3}%
- \fi
- }%
- \fi
-}
-\newcommand*{\ps@pagetest}[2]{%
- \ps@ifinset{#1}{#2}{\let\ps@next\@empty}{}%
-}
-\EveryShipout{%
- \stepcounter{ps@count}%
- \ifnum\value{ps@count}>\ps@lastpage\relax
- \global\output{%
- \ps@cleanup@if
- \ps@group@message
- \typeout{%
- Package pagesel Notice: Aborting LaTeX job %
- after last selected page (\ps@lastpage).%
- }%
- \ps@message@ignore
- \global\setbox\@cclv\box\voidb@x
- \deadcycles0\relax
- \aftergroup\@@end
- }%
- \fi
- \let\ps@next\@empty
- \ifx\ps@testlist\@empty
- \else
- \let\ps@next\ps@makevoid
- \ps@testlist
- \fi
- \ifnum\ps@oddpages=1 %
- \ifodd\value{ps@count}%
- \else
- \let\ps@next\ps@makevoid
- \fi
- \fi
- \ifnum\ps@oddpages=2 %
- \ifodd\value{ps@count}%
- \let\ps@next\ps@makevoid
- \else
- \fi
- \fi
- \ps@begindvi
- \ps@next
-}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname currentiflevel\endcsname\relax
- \let\ps@cleanup@if\@empty
-\else
- \def\ps@cleanup@if{%
- \ifnum\currentiflevel>\@ne
- \csname fi\endcsname
- \expandafter\ps@cleanup@if
- \fi
- }%
-\fi
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname currentgrouplevel\endcsname\relax
- \let\ps@group@message\@empty
- \def\ps@message@ignore{%
- \typeout{%
- (pagesel) \space\space\@spaces\@spaces\@spaces
- Messages (\string\end\space occurred ...) can be ignored.%
- }%
- }%
-\else
- \def\ps@group@message{%
- \ifnum\currentgrouplevel>\@ne
- \def\ps@message@ignore{%
- \typeout{%
- (pagesel) \space\space\@spaces\@spaces\@spaces
- Message (\string\end\space occurred ...) %
- can be ignored.%
- }%
- }%
- \else
- \let\ps@message@ignore\@empty
- \fi
- }%
-\fi
-\newbox\ps@begindvibox
-\ifvoid\@begindvibox
-\else
- \global\setbox\ps@begindvibox\vbox{%
- \unvbox\@begindvibox
- }%
-\fi
-\let\ps@org@AtBeginDvi\AtBeginDvi
-\def\AtBeginDvi#1{%
- \global\setbox\ps@begindvibox\vbox{%
- \unvbox\ps@begindvibox
- #1%
- }%
- \ps@org@AtBeginDvi{#1}%
-}
-\def\ps@begindvi{%
- \ifx\ps@next\@empty
- \global\let\ps@begindvi\@empty
- \else
- \global\let\ps@begindvi\ps@begindvi@do
- \fi
-}
-\def\ps@begindvi@do{%
- \ifx\ps@next\@empty
- \setbox\@cclv\vbox{%
- \unvbox\ps@begindvibox
- \box\@cclv
- }%
- \global\let\ps@begindvi\@empty
- \fi
-}
-\endinput
-%%
-%% End of file `pagesel.sty'.