diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-22 20:06:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-22 20:06:18 +0000 |
commit | e3c3b67b42aca4d8aee2cea4dbe454c66f7de159 (patch) | |
tree | f920740634de7b3b1e274006b36a6e4a89764dfb /Master/texmf-dist | |
parent | f6f59051b1089b0409fa1f06800b22119ab95137 (diff) |
oberdiek (22sep22)
git-svn-id: svn://tug.org/texlive/trunk@64463 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
48 files changed, 3 insertions, 2699 deletions
diff --git a/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib b/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib index 5639fc952cf..1a584cc3e98 100644 --- a/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib +++ b/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib @@ -131,20 +131,6 @@ version={1.7}, url={https://ctan.org/pkg/iflang}, } -@manual{oberdiek:pagegrid, - title={The pagegrid package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.5}, - url={https://ctan.org/pkg/pagegrid}, -} -@manual{oberdiek:pdfcol, - title={The pdfcol package}, - author={Heiko Oberdiek}, - date={2018-11-01}, - version={1.5}, - url={https://ctan.org/pkg/pdfcol}, -} @manual{oberdiek:pdfcolfoot, title={The pdfcolfoot package}, author={Heiko Oberdiek}, diff --git a/Master/texmf-dist/doc/latex/oberdiek/README.md b/Master/texmf-dist/doc/latex/oberdiek/README.md index 682184dc81b..b38e4326846 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/README.md +++ b/Master/texmf-dist/doc/latex/oberdiek/README.md @@ -1,6 +1,6 @@ # Oberdiek bundle -Version: 2021-11-15 +Version: 2022-09-21 This file describes the directory CTAN:macros/latex/contrib/oberdiek/ @@ -11,7 +11,7 @@ It contains several packages: ## Copyright (C) * 2007, 2009-2011 Heiko Oberdiek -* 2016-2020 Oberdiek Package Support Group +* 2016-2022 Oberdiek Package Support Group ## License LATEX Project Public License, version 1.3c or later. @@ -53,9 +53,7 @@ Other files in the CTAN directory: * hyphsubst: substitute hyphenation patterns; * ifdraft: switch for option draft; * iflang: provides expandable checks for the current language; -* pagegrid: prints a page grid in the background; * pdfcolfoot: using pdfTeX’s color stack for footnotes; -* pdfcol: macros for setting and maintaining new color stacks; * pdfcolparallel: fixes colour problems in package parallel; * pdfcolparcolumns: fixes colour problems in package parcolumns; * pdfcrypt: setting PDF encryption; diff --git a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf Binary files differindex 3d37bde0a64..8b606cc806f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf Binary files differindex f551dcd1d6b..12c25efac68 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf Binary files differindex 1c365a0a296..62f2d9da698 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf Binary files differindex 3be586e5eda..a0491c8dcc8 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf Binary files differindex 8ff77331587..f7489d1bd48 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf Binary files differindex 8668c34d3d8..5c3cb08f417 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf Binary files differindex cf0e002b7d9..8cb994eaccd 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf Binary files differindex 067fbca25b8..3e45bede84c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/enparen.pdf b/Master/texmf-dist/doc/latex/oberdiek/enparen.pdf Binary files differindex e085b3062e6..c84e418b5f9 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/enparen.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/enparen.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/eolgrab.pdf b/Master/texmf-dist/doc/latex/oberdiek/eolgrab.pdf Binary files differindex c1b38c591ed..23422c71bd9 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/eolgrab.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/eolgrab.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/fibnum.pdf b/Master/texmf-dist/doc/latex/oberdiek/fibnum.pdf Binary files differindex b471eb5ef99..838c7866a17 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/fibnum.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/fibnum.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf Binary files differindex 4f476fc9319..38cfdfce4e8 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf Binary files differindex 72f5ebe9bd8..4defa8d604d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf Binary files differindex e0aa81018e0..29f5c45d4a4 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf Binary files differindex 0417e6f54f2..302590434b4 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf Binary files differindex cfbc9e8f114..4237695b37c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf b/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf Binary files differindex 318eb95edc4..bebccb75855 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf Binary files differindex 799e8b9c251..4745dadca86 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf Binary files differindex b7f3a56530c..de5fa254fe7 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf Binary files differindex ae33dcf68ab..1ee28ae5097 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf Binary files differdeleted file mode 100644 index b5ea0888180..00000000000 --- a/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf Binary files differdeleted file mode 100644 index cfc5d41d3b2..00000000000 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf Binary files differindex d611ba65d2f..bc2bcfc34fa 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf Binary files differindex 51c9014324f..5bf37a6deaa 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf Binary files differindex 56a69feb08d..9ef22b141ba 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf Binary files differindex 79740fa6519..ebcfef66c02 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf Binary files differindex ae0d3a5b510..f5d7da9a0ff 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/protecteddef.pdf b/Master/texmf-dist/doc/latex/oberdiek/protecteddef.pdf Binary files differindex 52d39ec04ca..351db603315 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/protecteddef.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/protecteddef.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf b/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf Binary files differindex 97a1ff7f448..7cbdc874d65 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/rotchiffre.pdf b/Master/texmf-dist/doc/latex/oberdiek/rotchiffre.pdf Binary files differindex 15262166fde..db416d802d6 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/rotchiffre.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/rotchiffre.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf b/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf Binary files differindex d6a80e564ca..0d5b4f9ff67 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf Binary files differindex d63d0f6f4be..4c6388b5fba 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf Binary files differindex 97e9a8862f2..7c534622e3d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf Binary files differindex c28caf45222..8cfb4f6e679 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf b/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf Binary files differindex 1df073bb3ab..853e3478c05 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf Binary files differindex 7ef081099d0..af03656d554 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf Binary files differindex 25560a6b56c..dd9bc6df3f5 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf Binary files differindex 0b8e6808b56..a01f02b13b6 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/thepdfnumber.pdf b/Master/texmf-dist/doc/latex/oberdiek/thepdfnumber.pdf Binary files differindex 8efaa9e500a..a2a14e0cfc9 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/thepdfnumber.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/thepdfnumber.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf Binary files differindex 5a1292e804d..415203aef14 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins index 81ee3c264b3..ecf6df13a6b 100644 --- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins +++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins @@ -45,8 +45,6 @@ \batchinput{hyphsubst.dtx} \batchinput{ifdraft.dtx} \batchinput{iflang.dtx} -\batchinput{pagegrid.dtx} -\batchinput{pdfcol.dtx} \batchinput{pdfcolfoot.dtx} \batchinput{pdfcolparallel.dtx} \batchinput{pdfcolparcolumns.dtx} diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex index 83bbce0abac..c8a2ae588b2 100644 --- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex +++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex @@ -10,7 +10,7 @@ \newcommand*{\Author}{Heiko Oberdiek} \newcommand*{\Email}{ho-tex at tug.org} -\newcommand*{\Date}{2021/11/15} +\newcommand*{\Date}{2022/09/21} % Copyright (C) 2006-2016 by % Heiko Oberdiek @@ -212,10 +212,6 @@ [\entrysep] \entry{iflang}{Checks for the current language}% [\entrysep] -\entry{pagegrid}{Print page grid in background}% -[\entrysep] -\entry{pdfcol}{Handle new color stacks for \hologo{pdfTeX}}% -[\entrysep] \entry{pdfcolfoot}{Color stack for footnotes with \hologo{pdfTeX}}% [\entrysep] \entry{pdfcolparallel}{Color stacks support for parallel}% @@ -450,26 +446,6 @@ based on macro \cs{languagename} or hyphenation patterns. \tocinclude{iflang} \newpage -\subsection{\pkgsectformat{pagegrid}} -\label{pagegrid} -\begin{abstract} -The \LaTeX\ package prints a page grid in the background. -\end{abstract} -\tocinclude{pagegrid} - -\newpage -\subsection{\pkgsectformat{pdfcol}} -\label{pdfcol} -\begin{abstract} -Since version 1.40 \pdfTeX\ supports color stacks. -The driver file \xfile{pdftex.def} for package \xpackage{color} -defines and uses a main color stack since version v0.04b. -Package \xpackage{pdfcol} is intended for package writers. -It defines macros for setting and maintaining new color stacks. -\end{abstract} -\tocinclude{pdfcol} - -\newpage \subsection{\pkgsectformat{pdfcolfoot}} \label{pdfcolfoot} \begin{abstract} diff --git a/Master/texmf-dist/source/latex/oberdiek/pagegrid.dtx b/Master/texmf-dist/source/latex/oberdiek/pagegrid.dtx deleted file mode 100644 index 60c0794247b..00000000000 --- a/Master/texmf-dist/source/latex/oberdiek/pagegrid.dtx +++ /dev/null @@ -1,955 +0,0 @@ -% \iffalse meta-comment -% -% File: pagegrid.dtx -% Version: 2016/05/16 v1.5 -% Info: Print page grid in background -% -% Copyright (C) -% 2009 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% 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 pagegrid.dtx -% and the derived files -% pagegrid.sty, pagegrid.pdf, pagegrid.ins, pagegrid.drv, -% pagegrid-test1.tex. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/pagegrid.dtx -% CTAN:macros/latex/contrib/oberdiek/pagegrid.pdf -% -% Unpacking: -% (a) If pagegrid.ins is present: -% tex pagegrid.ins -% (b) Without pagegrid.ins: -% tex pagegrid.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{pagegrid.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If pagegrid.drv is present: -% latex pagegrid.drv -% (b) Without pagegrid.drv: -% latex pagegrid.dtx; ... -% The class ltxdoc loads the configuration file ltxdoc.cfg -% if available. Here you can specify further options, e.g. -% use A4 as paper format: -% \PassOptionsToClass{a4paper}{article} -% -% Programm calls to get the documentation (example): -% pdflatex pagegrid.dtx -% makeindex -s gind.ist pagegrid.idx -% pdflatex pagegrid.dtx -% makeindex -s gind.ist pagegrid.idx -% pdflatex pagegrid.dtx -% -% Installation: -% TDS:tex/latex/oberdiek/pagegrid.sty -% TDS:doc/latex/oberdiek/pagegrid.pdf -% TDS:source/latex/oberdiek/pagegrid.dtx -% -%<*ignore> -\begingroup - \catcode123=1 % - \catcode125=2 % - \def\x{LaTeX2e}% -\expandafter\endgroup -\ifcase 0\ifx\install y1\fi\expandafter - \ifx\csname processbatchFile\endcsname\relax\else1\fi - \ifx\fmtname\x\else 1\fi\relax -\else\csname fi\endcsname -%</ignore> -%<*install> -\input docstrip.tex -\Msg{************************************************************************} -\Msg{* Installation} -\Msg{* Package: pagegrid 2016/05/16 v1.5 Print page grid in background (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: pagegrid -Version: 2016/05/16 v1.5 - -Copyright (C) - 2009 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 pagegrid.dtx -and the derived files - pagegrid.sty, pagegrid.pdf, pagegrid.ins, pagegrid.drv, - pagegrid-test1.tex. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{pagegrid.ins}{\from{pagegrid.dtx}{install}}% - \file{pagegrid.drv}{\from{pagegrid.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% - \file{pagegrid.sty}{\from{pagegrid.dtx}{package}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{pagegrid-test1.tex}{\from{pagegrid.dtx}{test1}}% -} - -\catcode32=13\relax% active space -\let =\space% -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* pagegrid.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `pagegrid.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -%</install> -%<*ignore> -\fi -%</ignore> -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{pagegrid.drv}% - [2016/05/16 v1.5 Print page grid in background (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\begin{document} - \DocInput{pagegrid.dtx}% -\end{document} -%</driver> -% \fi -% -% -% -% \GetFileInfo{pagegrid.drv} -% -% \title{The \xpackage{pagegrid} package} -% \date{2016/05/16 v1.5} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% The \LaTeX\ package prints a page grid in the background. -% \end{abstract} -% -% \tableofcontents -% -% \section{Documentation} -% -% The package puts a grid on the paper. It was written for -% developers of a class or package -% who have to put elements on definite locations on a page -% (e.g. letter class). The grid allows a faster optical check, -% whether the positions are correct. If the previewer already -% offers features for measuring, the package might be obsolete. -% Otherwise it saves the developer from printing the page and -% measuring by hand. -% -% \subsection{Options} -% -% Options are evaluated in the following order: -% \begin{enumerate} -% \item -% Configuration file \xfile{pagegrid.cfg} using \cs{pagegridsetup} -% if the file exists. -% \item -% Package options given for \cs{usepackage}. -% \item -% Later calls of \cs{pagegridsetup}. -% \end{enumerate} -% \begin{declcs}{pagegridsetup}\M{option list} -% \end{declcs} -% The options are key value options. Boolean options are enabled by -% default (without value) or by using the explicit value \texttt{true}. -% Value \texttt{false} disable the option. -% -% \subsubsection{Options \xoption{enable}, \xoption{disable}} -% -% \begin{description} -% \item[\xoption{enable}:] This boolean option controls whether the page grid -% is drawn. As default the page grid drawing is activated. -% \item[\xoption{disable}:] It is the opposite -% of option \xoption{enable}. It was added for convenience and -% allows the abbreviation \texttt{disable} for \texttt{enable=false}. -% \end{description} -% -% \subsubsection{Grid origins} -% -% The package supports up to two grids on a page allowing -% measurement from opposite directions. As default two grids are drawn, -% the first from bottom left to top right. The origin of the second -% grid is at the opposite top right corner. -% The origins are controlled by the following options. -% The number of grids (one or two) depend on the number of these options -% in one call of \cs{pagegridsetup}. -% The following frame shows a paper and in its corners are the -% corresponding options. At the left and right side alias names -% are given for the options inside the paper. -% \begin{quote} -% \begin{tabular}{@{}r|@{\,}l@{\qquad}r@{\,}|l@{}} -% \cline{2-3} -% \xoption{left-top}, \xoption{lt}, \xoption{top-left} -% & \vphantom{\"U}\xoption{tl} & \xoption{tr} -% & \xoption{top-right}, \xoption{rt}, \xoption{right-top}\\ -% &&&\\ -% \xoption{left-bottom}, \xoption{lb}, \xoption{bottom-left} -% & \xoption{bl} & \xoption{br} -% & \xoption{bottom-right}, \xoption{rb}, \xoption{right-bottom}\\ -% \cline{2-3} -% \end{tabular} -% \end{quote} -% Examples: -% \begin{quote} -% |\pagegridsetup{bl,tr}| -% \end{quote} -% This is the default setting with two grids as described previously. -% The following setups one grid only. Its origin is the upper left -% corner: -% \begin{quote} -% |\pagegridsetup{top-left}| -% \end{quote} -% -% \subsubsection{Grid unit} -% -% \begin{description} -% \item[\xoption{step}] This option takes a length and -% setups the unit for the grid. The page width and page height -% should be multiples of this unit. -% Currently the default is \texttt{1mm}. But this might change -% later by a heuristic based on the paper size. -% \end{description} -% -% \subsubsection{Color options} -% -% The basic grid lines are drawn as ultra thin help lines and is only -% drawn for the first grid. -% Each tenth and fiftyth line of the basic net is drawn thicker in a special -% color for the two grids. -% \begin{description} -% \item[\xoption{firstcolor}:] Color for the thicker lines and the arrows -% of the first grid. Default value is \texttt{red}. -% \item[\xoption{secondcolor}:] Color for the thicker lines and the arrows -% of the second grid. Default value is \texttt{blue}. -% \end{description} -% Use a color specification that package \xpackage{tikz} understands. -% (The grid is drawn with \xpackage{pgf}/\xpackage{tikz}.) -% -% \subsubsection{Arrow options} -% -% Arrows are put at the origin at the grid to show the grid start -% and the direction of the grid. -% \begin{description} -% \item[\xoption{arrows}:] This boolean option turns the arrows on or off. -% As default arrows are enabled. -% \item[\xoption{arrowlength}:] The length given as value is the -% length of the edge of a square at the origin within the -% arrow is put as diagonal. Default is 10 times the grid unit (10\,mm). -% The real arrow length is this length multiplied by $\sqrt2$. -% \end{description} -% -% \subsubsection{Miscellaneous options} -% -% \begin{description} -% \item[\xoption{double}:] The output page is doubled, one without page -% grid and the other with page grid. Possible values are shown in the -% following table: -% \begin{quote} -% \begin{tabular}{ll} -% Option & Meaning\\ -% \hline -% |false| & Turns option off.\\ -% |first| & Grid page comes first.\\ -% |last| & Grid page comes after the page without grid.\\ -% |true| & Same as |last|.\\ -% \meta{no value} & Same as |true|.\\ -% \end{tabular} -% \end{quote} -% \textbf{Note:} -% The double output of the page has side effects. -% All whatits are executed twice, for example: file writing -% and anchor setting. Some unwanted actions are catched such -% as multiple \cs{label} definitions, duplicate entries in -% the table of contents. For bookmarks, use package \xpackage{bookmarks}. -% \item[\xoption{foreground}:] Boolean option, default is \texttt{false}. -% Sometimes there might be elements on the page (e.g. large images) -% that hide the grid. Then option \xoption{foreground} puts the grids -% over the current output page. -% \end{description} -% -% \StopEventually{ -% } -% -% \section{Implementation} -% \begin{macrocode} -%<*package> -% \end{macrocode} -% Reload check, especially if the package is not used with \LaTeX. -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode58=12 % : - \catcode64=11 % @ - \catcode123=1 % { - \catcode125=2 % } - \expandafter\let\expandafter\x\csname ver@pagegrid.sty\endcsname - \ifx\x\relax % plain-TeX, first loading - \else - \def\empty{}% - \ifx\x\empty % LaTeX, first loading, - % variable is initialized, but \ProvidesPackage not yet seen - \else - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{pagegrid}{The package is already loaded}% - \aftergroup\endinput - \fi - \fi -\endgroup% -% \end{macrocode} -% Package identification: -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode40=12 % ( - \catcode41=12 % ) - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode47=12 % / - \catcode58=12 % : - \catcode64=11 % @ - \catcode91=12 % [ - \catcode93=12 % ] - \catcode123=1 % { - \catcode125=2 % } - \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \immediate\write-1{Package: #3 #4}% - \xdef#1{#4}% - }% - \else - \def\x#1#2[#3]{\endgroup - #2[{#3}]% - \ifx#1\@undefined - \xdef#1{#3}% - \fi - \ifx#1\relax - \xdef#1{#3}% - \fi - }% - \fi -\expandafter\x\csname ver@pagegrid.sty\endcsname -\ProvidesPackage{pagegrid}% - [2016/05/16 v1.5 Print page grid in background (HO)]% -% \end{macrocode} -% -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname pagegrid@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\pagegrid@AtEnd{% - \pagegrid@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{9}{10}% (tab) -\TMP@EnsureCode{10}{12}% ^^J -\TMP@EnsureCode{33}{12}% ! -\TMP@EnsureCode{34}{12}% " -\TMP@EnsureCode{36}{3}% $ -\TMP@EnsureCode{38}{4}% & -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{40}{12}% ( -\TMP@EnsureCode{41}{12}% ) -\TMP@EnsureCode{42}{12}% * -\TMP@EnsureCode{43}{12}% + -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{45}{12}% - -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{58}{12}% : -\TMP@EnsureCode{59}{12}% ; -\TMP@EnsureCode{60}{12}% < -\TMP@EnsureCode{62}{12}% > -\TMP@EnsureCode{63}{12}% ? -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{94}{7}% ^ (superscript) -\TMP@EnsureCode{95}{8}% _ (subscript) -\TMP@EnsureCode{96}{12}% ` -\TMP@EnsureCode{124}{12}% | -\edef\pagegrid@AtEnd{\pagegrid@AtEnd\noexpand\endinput} -% \end{macrocode} -% -% \begin{macrocode} -\RequirePackage{tikz} -\RequirePackage{atbegshi}[2009/12/02] -\RequirePackage{kvoptions}[2009/07/17] -% \end{macrocode} -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname stockwidth\endcsname\relax - \def\pagegrid@width{\paperwidth}% - \def\pagegrid@height{\paperheight}% -\else - \def\pagegrid@width{\stockwidth}% - \def\pagegrid@height{\stockheight}% -\fi -% \end{macrocode} -% -% \begin{macrocode} -\SetupKeyvalOptions{% - family=pagegrid,% - prefix=pagegrid@,% -} -\def\pagegrid@init{% - \let\pagegrid@origin@a\@empty - \let\pagegrid@origin@b\@empty - \let\pagegrid@init\relax -} -\let\pagegrid@@init\pagegrid@init -\def\pagegrid@origin@a{bl} -\def\pagegrid@origin@b{tr} -\def\pagegrid@SetOrigin#1{% - \pagegrid@init - \ifx\pagegrid@origin@a\@empty - \def\pagegrid@origin@a{#1}% - \else - \ifx\pagegrid@origin@b\@empty - \else - \let\pagegrid@origin@a\pagegrid@origin@b - \fi - \def\pagegrid@origin@b{#1}% - \fi -} -\def\pagegrid@temp#1{% - \DeclareVoidOption{#1}{\pagegrid@SetOrigin{#1}}% - \@namedef{pagegrid@N@#1}{#1}% -} -\pagegrid@temp{bl} -\pagegrid@temp{br} -\pagegrid@temp{tl} -\pagegrid@temp{tr} -\def\pagegrid@temp#1#2{% - \DeclareVoidOption{#2}{\pagegrid@SetOrigin{#1}}% -}% -\pagegrid@temp{bl}{lb} -\pagegrid@temp{br}{rb} -\pagegrid@temp{tl}{lt} -\pagegrid@temp{tr}{rt} -\pagegrid@temp{bl}{bottom-left} -\pagegrid@temp{br}{bottom-right} -\pagegrid@temp{tl}{top-left} -\pagegrid@temp{tr}{top-right} -\pagegrid@temp{bl}{left-bottom} -\pagegrid@temp{br}{right-bottom} -\pagegrid@temp{tl}{left-top} -\pagegrid@temp{tr}{right-top} -% \end{macrocode} -% \begin{macrocode} -\DeclareBoolOption[true]{enable} -\DeclareComplementaryOption{disable}{enable} -% \end{macrocode} -% \begin{macrocode} -\DeclareBoolOption{foreground} -% \end{macrocode} -% \begin{macrocode} -\newlength{\pagegrid@step} -\define@key{pagegrid}{step}{% - \setlength{\pagegrid@step}{#1}% -} -% \end{macrocode} -% \begin{macrocode} -\DeclareStringOption[red]{firstcolor} -\DeclareStringOption[blue]{secondcolor} -% \end{macrocode} -% \begin{macrocode} -\DeclareBoolOption[true]{arrows} -\newlength\pagegrid@arrowlength -\pagegrid@arrowlength=\z@ -\define@key{pagegrid}{arrowlength}{% - \setlength{\pagegrid@arrowlength}{#1}% -} -% \end{macrocode} -% \begin{macrocode} -\define@key{pagegrid}{double}[true]{% - \@ifundefined{pagegrid@double@#1}{% - \PackageWarning{pagegrid}{% - Unsupported value `#1' for option `double'.\MessageBreak - Known values are:\MessageBreak - `false', `first', `last', `true'.\MessageBreak - Now `false' is used% - }% - \chardef\pagegrid@double\z@ - }{% - \chardef\pagegrid@double\csname pagegrid@double@#1\endcsname\relax - }% -} -\@namedef{pagegrid@double@false}{0} -\@namedef{pagegrid@double@first}{1} -\@namedef{pagegrid@double@last}{2} -\@namedef{pagegrid@double@true}{2} -\chardef\pagegrid@double\z@ -% \end{macrocode} -% \begin{macrocode} -\newcommand*{\pagegridsetup}{% - \let\pagegrid@init\pagegrid@@init - \setkeys{pagegrid}% -} -% \end{macrocode} -% \begin{macrocode} -\pagegridsetup{% - step=1mm% -} -\InputIfFileExists{pagegrid.cfg}{}% -\ProcessKeyvalOptions*\relax -\AtBeginDocument{% - \ifdim\pagegrid@arrowlength>\z@ - \else - \pagegrid@arrowlength=10\pagegrid@step - \fi -} -% \end{macrocode} -% -% \begin{macrocode} -\def\pagegridShipoutDoubleBegin{% - \begingroup - \let\newlabel\@gobbletwo - \let\zref@newlabel\@gobbletwo - \let\@writefile\@gobbletwo - \let\select@language\@gobble -} -\def\pagegridShipoutDoubleEnd{% - \endgroup -} -\def\pagegrid@WriteDouble#1#2{% - \immediate\write#1{% - \@backslashchar csname % - pagegridShipoutDouble#2% - \@backslashchar endcsname% - }% -} -\def\pagegrid@ShipoutDouble#1{% - \begingroup - \if@filesw - \pagegrid@WriteDouble\@mainaux{Begin}% - \ifx\@auxout\@partaux - \pagegrid@WriteDouble\@partaux{Begin}% - \def\pagegrid@temp{% - \pagegrid@WriteDouble\@mainaux{End}% - \pagegrid@WriteDouble\@partaux{End}% - }% - \else - \def\pagegrid@temp{% - \pagegrid@WriteDouble\@mainaux{End}% - }% - \fi - \else - \def\pagegrid@temp{}% - \fi - \let\protect\noexpand - \AtBeginShipoutOriginalShipout\copy#1\relax - \pagegrid@temp - \endgroup -} -% \end{macrocode} -% -% \begin{macrocode} -\AtBeginShipout{% - \ifdim\pagegrid@step>\z@ - \else - \pagegrid@enablefalse - \fi - \ifpagegrid@enable - \ifnum\pagegrid@double=\@ne - \pagegrid@ShipoutDouble\AtBeginShipoutBox - \else - \ifnum\pagegrid@double=\tw@ - \@ifundefined{pagegrid@DoubleBox}{% - \newbox\pagegrid@DoubleBox - }{}% - \setbox\pagegrid@DoubleBox=\copy\AtBeginShipoutBox - \fi - \fi - \ifpagegrid@foreground - \expandafter\AtBeginShipoutUpperLeftForeground - \else - \expandafter\AtBeginShipoutUpperLeft - \fi - {% - \put(0,0){% - \makebox(0,0)[lt]{% - \begin{tikzpicture}[% - bl/.style={},% - br/.style={xshift=\pagegrid@width,xscale=-1},% - tl/.style={yshift=\pagegrid@height,yscale=-1},% - tr/.style={xshift=\pagegrid@width,% - yshift=\pagegrid@height,scale=-1}% - ]% - \useasboundingbox - (0mm,\pagegrid@height) rectangle (0mm,\pagegrid@height);% - \draw[% - \pagegrid@origin@a,% - step=\pagegrid@step,% - style=help lines,% - ultra thin% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \ifx\pagegrid@origin@b\@empty - \else - \draw[% - \pagegrid@origin@b,% - step=10\pagegrid@step,% - {\pagegrid@secondcolor},% - very thin% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \fi - \draw[% - \pagegrid@origin@a,% - step=10\pagegrid@step,% - {\pagegrid@firstcolor},% - very thin% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \ifx\pagegrid@origin@b\@empty - \else - \draw[% - \pagegrid@origin@b,% - step=50\pagegrid@step,% - {\pagegrid@secondcolor},% - thick% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \fi - \draw[% - \pagegrid@origin@a,% - step=50\pagegrid@step,% - {\pagegrid@firstcolor},% - thick% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \ifpagegrid@arrows - \ifx\pagegrid@origin@b\@empty - \else - \draw[% - \pagegrid@origin@b,% - {\pagegrid@secondcolor},% - stroke,% - line width=1pt,% - line cap=round% - ] (0mm,0mm) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - (\pagegrid@arrowlength,.5\pagegrid@arrowlength) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - -- (.5\pagegrid@arrowlength,\pagegrid@arrowlength);% - \fi - \draw[% - \pagegrid@origin@a,% - {\pagegrid@firstcolor},% - stroke,% - line width=1pt,% - line cap=round% - ] (0mm,0mm) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - (\pagegrid@arrowlength,.5\pagegrid@arrowlength) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - -- (.5\pagegrid@arrowlength,\pagegrid@arrowlength);% - \fi - \end{tikzpicture}% - }% - }% - }% - \ifnum\pagegrid@double=\tw@ - \pagegrid@ShipoutDouble\pagegrid@DoubleBox - \fi - \fi -} -% \end{macrocode} -% -% \begin{macrocode} -\pagegrid@AtEnd% -%</package> -% \end{macrocode} -%% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{pagegrid}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/pagegrid.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/pagegrid.pdf}] Documentation. -% \end{description} -% -% -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' -% are also available in a TDS compliant ZIP archive. There -% the packages are already unpacked and the documentation files -% are generated. The files and directories obey the TDS standard. -% \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). Directories -% with \xfile{texmf} in their name are usually organized this way. -% -% \subsection{Bundle installation} -% -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the -% TDS tree (also known as \xfile{texmf} tree) of your choice. -% Example (linux): -% \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| -% \end{quote} -% -% \subsection{Package installation} -% -% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting -% \docstrip\ archive. The files are extracted by running the -% \xfile{.dtx} through \plainTeX: -% \begin{quote} -% \verb|tex pagegrid.dtx| -% \end{quote} -% -% \paragraph{TDS.} Now the different files must be moved into -% the different directories in your installation TDS tree -% (also known as \xfile{texmf} tree): -% \begin{quote} -% \def\t{^^A -% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% pagegrid.sty & tex/latex/oberdiek/pagegrid.sty\\ -% pagegrid.pdf & doc/latex/oberdiek/pagegrid.pdf\\ -% pagegrid.dtx & source/latex/oberdiek/pagegrid.dtx\\ -% \end{tabular}^^A -% }^^A -% \sbox0{\t}^^A -% \ifdim\wd0>\linewidth -% \begingroup -% \advance\linewidth by\leftmargin -% \advance\linewidth by\rightmargin -% \edef\x{\endgroup -% \def\noexpand\lw{\the\linewidth}^^A -% }\x -% \def\lwbox{^^A -% \leavevmode -% \hbox to \linewidth{^^A -% \kern-\leftmargin\relax -% \hss -% \usebox0 -% \hss -% \kern-\rightmargin\relax -% }^^A -% }^^A -% \ifdim\wd0>\lw -% \sbox0{\small\t}^^A -% \ifdim\wd0>\linewidth -% \ifdim\wd0>\lw -% \sbox0{\footnotesize\t}^^A -% \ifdim\wd0>\linewidth -% \ifdim\wd0>\lw -% \sbox0{\scriptsize\t}^^A -% \ifdim\wd0>\linewidth -% \ifdim\wd0>\lw -% \sbox0{\tiny\t}^^A -% \ifdim\wd0>\linewidth -% \lwbox -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \end{quote} -% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's -% TDS installing feature, then some files can already be in the right -% place, see the documentation of \docstrip. -% -% \subsection{Refresh file name databases} -% -% If your \TeX~distribution -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \paragraph{Unpacking with \LaTeX.} -% The \xfile{.dtx} chooses its action depending on the format: -% \begin{description} -% \item[\plainTeX:] Run \docstrip\ and extract the files. -% \item[\LaTeX:] Generate the documentation. -% \end{description} -% If you insist on using \LaTeX\ for \docstrip\ (really, -% \docstrip\ does not need \LaTeX), then inform the autodetect routine -% about your intention: -% \begin{quote} -% \verb|latex \let\install=y\input{pagegrid.dtx}| -% \end{quote} -% Do not forget to quote the argument according to the demands -% of your shell. -% -% \paragraph{Generating the documentation.} -% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate -% the documentation. The process can be configured by the -% configuration file \xfile{ltxdoc.cfg}. For instance, put this -% line into this file, if you want to have A4 as paper format: -% \begin{quote} -% \verb|\PassOptionsToClass{a4paper}{article}| -% \end{quote} -% An example follows how to generate the -% documentation with pdf\LaTeX: -% \begin{quote} -%\begin{verbatim} -%pdflatex pagegrid.dtx -%makeindex -s gind.ist pagegrid.idx -%pdflatex pagegrid.dtx -%makeindex -s gind.ist pagegrid.idx -%pdflatex pagegrid.dtx -%\end{verbatim} -% \end{quote} -% -% \section{Acknowledgement} -% -% \begin{description} -% \item[Klaus Braune:] -% He provided the idea and the first \xpackage{tikz} code. -% \end{description} -% -% \begin{History} -% \begin{Version}{2009/11/06 v1.0} -% \item -% The first version. -% \end{Version} -% \begin{Version}{2009/11/06 v1.1} -% \item -% Option \xoption{foreground} added. -% \end{Version} -% \begin{Version}{2009/12/02 v1.2} -% \item -% Color options, arrow options added. -% \item -% Names for origin options changed. -% \end{Version} -% \begin{Version}{2009/12/03 v1.3} -% \item -% Option \xoption{double} added. -% \item -% First CTAN release. -% \end{Version} -% \begin{Version}{2009/12/04 v1.4} -% \item -% Option \xoption{double}: Some unwanted side effects removed. -% \end{Version} -% \begin{Version}{2016/05/16 v1.5} -% \item -% Documentation updates. -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx deleted file mode 100644 index 8e30a6f451d..00000000000 --- a/Master/texmf-dist/source/latex/oberdiek/pdfcol.dtx +++ /dev/null @@ -1,939 +0,0 @@ -% \iffalse meta-comment -% -% File: pdfcol.dtx -% Version: 2019/12/29 v1.6 -% Info: Handle new color stacks for pdfTeX -% -% Copyright (C) -% 2007 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% 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 -% -% The Base Interpreter refers to any `TeX-Format', -% because some files are installed in TDS:tex/generic//. -% -% This work consists of the main source file pdfcol.dtx -% and the derived files -% pdfcol.sty, pdfcol.pdf, pdfcol.ins, pdfcol.drv, pdfcol-test1.tex, -% pdfcol-test2.tex, pdfcol-test3.tex, pdfcol-test4.tex. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/pdfcol.dtx -% CTAN:macros/latex/contrib/oberdiek/pdfcol.pdf -% -% Unpacking: -% (a) If pdfcol.ins is present: -% tex pdfcol.ins -% (b) Without pdfcol.ins: -% tex pdfcol.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{pdfcol.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If pdfcol.drv is present: -% latex pdfcol.drv -% (b) Without pdfcol.drv: -% latex pdfcol.dtx; ... -% The class ltxdoc loads the configuration file ltxdoc.cfg -% if available. Here you can specify further options, e.g. -% use A4 as paper format: -% \PassOptionsToClass{a4paper}{article} -% -% Programm calls to get the documentation (example): -% pdflatex pdfcol.dtx -% makeindex -s gind.ist pdfcol.idx -% pdflatex pdfcol.dtx -% makeindex -s gind.ist pdfcol.idx -% pdflatex pdfcol.dtx -% -% Installation: -% TDS:tex/generic/oberdiek/pdfcol.sty -% TDS:doc/latex/oberdiek/pdfcol.pdf -% TDS:source/latex/oberdiek/pdfcol.dtx -% -%<*ignore> -\begingroup - \catcode123=1 % - \catcode125=2 % - \def\x{LaTeX2e}% -\expandafter\endgroup -\ifcase 0\ifx\install y1\fi\expandafter - \ifx\csname processbatchFile\endcsname\relax\else1\fi - \ifx\fmtname\x\else 1\fi\relax -\else\csname fi\endcsname -%</ignore> -%<*install> -\input docstrip.tex -\Msg{************************************************************************} -\Msg{* Installation} -\Msg{* Package: pdfcol 2019/12/29 v1.6 Handle new color stacks for pdfTeX (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: pdfcol -Version: 2019/12/29 v1.6 - -Copyright (C) - 2007 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 - - -The Base Interpreter refers to any `TeX-Format', -because some files are installed in TDS:tex/generic//. - -This work consists of the main source file pdfcol.dtx -and the derived files - pdfcol.sty, pdfcol.pdf, pdfcol.ins, pdfcol.drv, pdfcol-test1.tex, - pdfcol-test2.tex, pdfcol-test3.tex, pdfcol-test4.tex. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{pdfcol.ins}{\from{pdfcol.dtx}{install}}% - \file{pdfcol.drv}{\from{pdfcol.dtx}{driver}}% - \usedir{tex/generic/oberdiek}% - \file{pdfcol.sty}{\from{pdfcol.dtx}{package}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{pdfcol-test1.tex}{\from{pdfcol.dtx}{test1}}% -% \file{pdfcol-test2.tex}{\from{pdfcol.dtx}{test2}}% -% \file{pdfcol-test3.tex}{\from{pdfcol.dtx}{test3}}% -% \file{pdfcol-test4.tex}{\from{pdfcol.dtx}{test4}}% -} - -\catcode32=13\relax% active space -\let =\space% -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* pdfcol.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `pdfcol.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -%</install> -%<*ignore> -\fi -%</ignore> -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{pdfcol.drv}% - [2019/12/29 v1.6 Handle new color stacks for pdfTeX (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\begin{document} - \DocInput{pdfcol.dtx}% -\end{document} -%</driver> -% \fi -% -% -% -% \GetFileInfo{pdfcol.drv} -% -% \title{The \xpackage{pdfcol} package} -% \date{2019/12/29 v1.6} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% Since version 1.40 \pdfTeX\ supports color stacks. -% The driver file \xfile{pdftex.def} for package \xpackage{color} -% defines and uses a main color stack since version v0.04b. -% Package \xpackage{pdfcol} is intended for package writers. -% It defines macros for setting and maintaining new color stacks. -% \end{abstract} -% -% \tableofcontents -% -% \section{Documentation} -% -% Version 1.40 of \pdfTeX\ adds new primitives \cs{pdfcolorstackinit} -% and \cs{pdfcolorstack}. Now color stacks can be defined and used. -% A main color stack is maintained by the driver file \xfile{pdftex.def} -% similar to dvips or dvipdfm. However the number of color stacks -% is not limited to one in \pdfTeX. Thus further color problems -% can now be solved, such as footnotes across pages or text -% that is set in parallel columns (e.g. packages \xpackage{parallel} -% or \xpackage{parcolumn}). Unlike the main color stack, -% the support by additional color stacks cannot be done in -% a transparent manner. -% -% This package \xpackage{pdfcol} provides an easier interface to -% additional color stacks without the need to use the -% low level primitives. -% -% \subsection{Requirements} -% \label{sec:req} -% -% \begin{itemize} -% \item -% \pdfTeX\ 1.40 or greater. -% \item -% \pdfTeX in PDF mode. (I don't know a DVI driver that -% support several color stacks.) -% \item -% \xfile{pdftex.def} 2007/01/02 v0.04b. -% \end{itemize} -% Package \xpackage{pdfcol} checks the requirements and -% sets switch \cs{ifpdfcolAvailable} accordingly. -% -% \subsection{Interface} -% -% \begin{declcs}{ifpdfcolAvailable} -% \end{declcs} -% If the requirements of section \ref{sec:req} are met the -% switch \cs{ifpdfcolAvailable} behaves as \cs{iftrue}. -% Otherwise the other interface macros in this section will -% be disabled with a message. Also the first use of such a -% macro will print a message. The messages are print to -% the \xext{log} file only if \pdfTeX\ is not used in PDF mode. -% -% \begin{declcs}{pdfcolErrorNoStacks} -% \end{declcs} -% The first call of \cs{pdfcolErrorNoStacks} prints an error -% message, if color stacks are not available. -% -% \begin{declcs}{pdfcolInitStack} \M{name} -% \end{declcs} -% A new color stack is initialized by \cs{pdfcolInitStack}. -% The \meta{name} is used for indentifying the stack. It usually -% consists of letters and digits. (The name must survive a \cs{csname}.) -% -% The intension of the macro is the definition of an additional -% color stack. Thus the stack is not page bounded like the -% main color stack. Black (\texttt{0 g 0 G}) is used as initial -% color value. And colors are written with modifier \texttt{direct} -% that means without setting the current transfer matrix and changing -% the current point (see documentation of \pdfTeX\ for -% |\pdfliteral direct{...}|). -% -% \begin{declcs}{pdfcolIfStackExists} \M{name} \M{then} \M{else} -% \end{declcs} -% Macro \cs{pdfcolIfStackExists} checks whether color stack \meta{name} -% exists. In case of success argument \meta{then} is executed -% and \meta{else} otherwise. -% -% \begin{declcs}{pdfcolSwitchStack} \M{name} -% \end{declcs} -% Macro \cs{pdfcolSwitchStack} switches the color stack. The color macros -% of package \xpackage{color} (or \xpackage{xcolor}) now uses the -% new color stack with name \meta{name}. -% -% \begin{declcs}{pdfcolSetCurrentColor} -% \end{declcs} -% Macro \cs{pdfcolSetCurrentColor} replaces the topmost -% entry of the stack by the current color (\cs{current@color}). -% -% \begin{declcs}{pdfcolSetCurrent} \M{name} -% \end{declcs} -% Macro \cs{pdfcolSetCurrent} sets the color that is read in -% the top-most entry of color stack \meta{name}. If \meta{name} -% is empty, the default color stack is used. -% -% \StopEventually{ -% } -% -% \section{Implementation} -% -% \begin{macrocode} -%<*package> -% \end{macrocode} -% -% \subsection{Reload check and package identification} -% Reload check, especially if the package is not used with \LaTeX. -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode58=12 % : - \catcode64=11 % @ - \catcode123=1 % { - \catcode125=2 % } - \expandafter\let\expandafter\x\csname ver@pdfcol.sty\endcsname - \ifx\x\relax % plain-TeX, first loading - \else - \def\empty{}% - \ifx\x\empty % LaTeX, first loading, - % variable is initialized, but \ProvidesPackage not yet seen - \else - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{pdfcol}{The package is already loaded}% - \aftergroup\endinput - \fi - \fi -\endgroup% -% \end{macrocode} -% Package identification: -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode40=12 % ( - \catcode41=12 % ) - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode47=12 % / - \catcode58=12 % : - \catcode64=11 % @ - \catcode91=12 % [ - \catcode93=12 % ] - \catcode123=1 % { - \catcode125=2 % } - \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \immediate\write-1{Package: #3 #4}% - \xdef#1{#4}% - }% - \else - \def\x#1#2[#3]{\endgroup - #2[{#3}]% - \ifx#1\@undefined - \xdef#1{#3}% - \fi - \ifx#1\relax - \xdef#1{#3}% - \fi - }% - \fi -\expandafter\x\csname ver@pdfcol.sty\endcsname -\ProvidesPackage{pdfcol}% - [2019/12/29 v1.6 Handle new color stacks for pdfTeX (HO)]% -% \end{macrocode} -% -% \subsection{Catcodes} -% -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname PDFCOL@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\PDFCOL@AtEnd{% - \PDFCOL@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{40}{12}% ( -\TMP@EnsureCode{41}{12}% ) -\TMP@EnsureCode{43}{12}% + -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{96}{12}% ` -\edef\PDFCOL@AtEnd{\PDFCOL@AtEnd\noexpand\endinput} -% \end{macrocode} -% -% \subsection{Check requirements} -% -% \begin{macro}{\PDFCOL@RequirePackage} -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname RequirePackage\endcsname\relax - \def\PDFCOL@RequirePackage#1[#2]{\input #1.sty\relax}% -\else - \def\PDFCOL@RequirePackage#1[#2]{% - \RequirePackage{#1}[{#2}]% - }% -\fi -% \end{macrocode} -% \end{macro} -% -% LuaTeX Compatability -% \begin{macrocode} -\ifx\pdfextension\@undefined\else - \def\pdfcolorstackinit {\pdffeedback colorstackinit} - \protected\def\pdfcolorstack {\pdfextension colorstack} -\fi -% \end{macrocode} -% -% \begin{macrocode} -\PDFCOL@RequirePackage{ltxcmds}[2010/03/01] -% \end{macrocode} -% -% \begin{macro}{ifpdfcolAvailable} -% \begin{macrocode} -\ltx@newif\ifpdfcolAvailable -\pdfcolAvailabletrue -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Check package \xpackage{luacolor}} -% -% \begin{macrocode} -\ltx@newif\ifPDFCOL@luacolor -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname ver@luacolor.sty\endcsname\relax - \PDFCOL@luacolorfalse -\else - \PDFCOL@luacolortrue -\fi -% \end{macrocode} -% -% \subsubsection{Check PDF mode} -% -% \begin{macrocode} -\PDFCOL@RequirePackage{infwarerr}[2007/09/09] -\PDFCOL@RequirePackage{iftex}[2019/11/07] -\ifcase\ifpdf\ifPDFCOL@luacolor 1\fi\else 1\fi0 % - \def\PDFCOL@Message{% - \@PackageWarningNoLine{pdfcol}% - }% -\else - \pdfcolAvailablefalse - \def\PDFCOL@Message{% - \@PackageInfoNoLine{pdfcol}% - }% - \PDFCOL@Message{% - Interface disabled because of % - \ifPDFCOL@luacolor - package `luacolor'% - \else - missing PDF mode of pdfTeX% - \fi - }% -\fi -% \end{macrocode} -% -% \subsubsection{Check version of \pdfTeX} -% -% \begin{macrocode} -\ifpdfcolAvailable - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname pdfcolorstack\endcsname\relax - \pdfcolAvailablefalse - \PDFCOL@Message{% - Interface disabled because of too old pdfTeX.\MessageBreak - Required is version 1.40+ for \string\pdfcolorstack - }% - \fi -\fi -\ifpdfcolAvailable - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname pdfcolorstack\endcsname\relax - \pdfcolAvailablefalse - \PDFCOL@Message{% - Interface disabled because of too old pdfTeX.\MessageBreak - Required is version 1.40+ for \string\pdfcolorstackinit - }% - \fi -\fi -% \end{macrocode} -% -% \subsubsection{Check \xfile{pdftex.def}} -% -% \begin{macrocode} -\ifpdfcolAvailable - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname @pdfcolorstack\endcsname\relax -% \end{macrocode} -% Try to load package color if it is not yet loaded (\LaTeX\ case). -% \begin{macrocode} - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname ver@color.sty\endcsname\relax - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname documentclass\endcsname\relax - \else - \RequirePackage[pdftex]{color}\relax - \fi - \fi - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname @pdfcolorstack\endcsname\relax - \pdfcolAvailablefalse - \PDFCOL@Message{% - Interface disabled because `pdftex.def'\MessageBreak - is not loaded or it is too old.\MessageBreak - Required is version 0.04b or greater% - }% - \fi - \fi -\fi -% \end{macrocode} -% -% \begin{macrocode} -\let\pdfcolAvailabletrue\relax -\let\pdfcolAvailablefalse\relax -% \end{macrocode} -% -% \subsection{Enabled interface macros} -% -% \begin{macrocode} -\ifpdfcolAvailable -% \end{macrocode} -% -% \begin{macro}{\pdfcolErrorNoStacks} -% \begin{macrocode} - \let\pdfcolErrorNoStacks\relax -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcol@Value} -% \begin{macrocode} - \expandafter\ifx\csname pdfcol@Value\endcsname\relax - \def\pdfcol@Value{0 g 0 G}% - \fi -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcol@LiteralModifier} -% \begin{macrocode} - \expandafter\ifx\csname pdfcol@LiteralModifier\endcsname\relax - \def\pdfcol@LiteralModifier{direct}% - \fi -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolInitStack} -% \begin{macrocode} - \def\pdfcolInitStack#1{% - \expandafter\ifx\csname pdfcol@Stack@#1\endcsname\relax - \global\expandafter\chardef\csname pdfcol@Stack@#1\endcsname=% - \pdfcolorstackinit\pdfcol@LiteralModifier{\pdfcol@Value}% - \relax - \@PackageInfo{pdfcol}{% - New color stack `#1' = \number\csname pdfcol@Stack@#1\endcsname - }% - \else - \@PackageError{pdfcol}{% - Stack `#1' is already defined% - }\@ehc - \fi - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolIfStackExists} -% \begin{macrocode} - \def\pdfcolIfStackExists#1{% - \expandafter\ifx\csname pdfcol@Stack@#1\endcsname\relax - \expandafter\@secondoftwo - \else - \expandafter\@firstoftwo - \fi - }% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\@firstoftwo} -% \begin{macrocode} - \expandafter\ifx\csname @firstoftwo\endcsname\relax - \long\def\@firstoftwo#1#2{#1}% - \fi -% \end{macrocode} -% \end{macro} -% \begin{macro}{\@secondoftwo} -% \begin{macrocode} - \expandafter\ifx\csname @secondoftwo\endcsname\relax - \long\def\@secondoftwo#1#2{#2}% - \fi -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolSwitchStack} -% \begin{macrocode} - \def\pdfcolSwitchStack#1{% - \pdfcolIfStackExists{#1}{% - \expandafter\let\expandafter\@pdfcolorstack - \csname pdfcol@Stack@#1\endcsname - }{% - \pdfcol@ErrorNoStack{#1}% - }% - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolSetCurrentColor} -% \begin{macrocode} - \def\pdfcolSetCurrentColor{% - \pdfcolorstack\@pdfcolorstack set{\current@color}% - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolSetCurrent} -% \begin{macrocode} - \def\pdfcolSetCurrent#1{% - \ifx\\#1\\% - \pdfcolorstack\@pdfcolorstack current\relax - \else - \pdfcolIfStackExists{#1}{% - \pdfcolorstack\csname pdfcol@Stack@#1\endcsname current\relax - }{% - \pdfcol@ErrorNoStack{#1}% - }% - \fi - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcol@ErrorNoStack} -% \begin{macrocode} - \def\pdfcol@ErrorNoStack#1{% - \@PackageError{pdfcol}{Stack `#1' does not exists}\@ehc - }% -% \end{macrocode} -% \end{macro} -% -% \subsection{Disabled interface macros} -% -% \begin{macrocode} -\else -% \end{macrocode} -% -% \begin{macro}{\pdfcolErrorNoStacks} -% \begin{macrocode} - \def\pdfcolErrorNoStacks{% - \@PackageError{pdfcol}{% - Color stacks are not available% - }{% - Update pdfTeX (1.40) and `pdftex.def' (0.04b) % - if necessary.\MessageBreak - Ensure that `pdftex.def' is loaded % - (package `color' or `xcolor').\MessageBreak - Further messages can be found in TeX's % - protocol file `\jobname.log'.\MessageBreak - \MessageBreak - \@ehc - }% - \global\let\pdfcolErrorNoStacks\relax - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\PDFCOL@Disabled} -% \begin{macrocode} - \def\PDFCOL@Disabled{% - \PDFCOL@Message{% - pdfTeX's color stacks are not available% - }% - \global\let\PDFCOL@Disabled\relax - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolInitStack} -% \begin{macrocode} - \def\pdfcolInitStack#1{% - \PDFCOL@Disabled - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolIfStackExists} -% \begin{macrocode} - \long\def\pdfcolIfStackExists#1#2#3{#3}% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolSwitchStack} -% \begin{macrocode} - \def\pdfcolSwitchStack#1{% - \PDFCOL@Disabled - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolSetCurrentColor} -% \begin{macrocode} - \def\pdfcolSetCurrentColor{% - \PDFCOL@Disabled - }% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pdfcolSetCurrent} -% \begin{macrocode} - \def\pdfcolSetCurrent#1{% - \PDFCOL@Disabled - }% -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\fi -% \end{macrocode} -% -% \begin{macrocode} -\PDFCOL@AtEnd% -%</package> -% \end{macrocode} -%% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{pdfcol}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/pdfcol.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/pdfcol.pdf}] Documentation. -% \end{description} -% -% -% \paragraph{Bundle.} All the packages of the bundle `oberdiek' -% are also available in a TDS compliant ZIP archive. There -% the packages are already unpacked and the documentation files -% are generated. The files and directories obey the TDS standard. -% \begin{description} -% \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). Directories -% with \xfile{texmf} in their name are usually organized this way. -% -% \subsection{Bundle installation} -% -% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the -% TDS tree (also known as \xfile{texmf} tree) of your choice. -% Example (linux): -% \begin{quote} -% |unzip oberdiek.tds.zip -d ~/texmf| -% \end{quote} -% -% \subsection{Package installation} -% -% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting -% \docstrip\ archive. The files are extracted by running the -% \xfile{.dtx} through \plainTeX: -% \begin{quote} -% \verb|tex pdfcol.dtx| -% \end{quote} -% -% \paragraph{TDS.} Now the different files must be moved into -% the different directories in your installation TDS tree -% (also known as \xfile{texmf} tree): -% \begin{quote} -% \def\t{^^A -% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} -% pdfcol.sty & tex/generic/oberdiek/pdfcol.sty\\ -% pdfcol.pdf & doc/latex/oberdiek/pdfcol.pdf\\ -% pdfcol.dtx & source/latex/oberdiek/pdfcol.dtx\\ -% \end{tabular}^^A -% }^^A -% \sbox0{\t}^^A -% \ifdim\wd0>\linewidth -% \begingroup -% \advance\linewidth by\leftmargin -% \advance\linewidth by\rightmargin -% \edef\x{\endgroup -% \def\noexpand\lw{\the\linewidth}^^A -% }\x -% \def\lwbox{^^A -% \leavevmode -% \hbox to \linewidth{^^A -% \kern-\leftmargin\relax -% \hss -% \usebox0 -% \hss -% \kern-\rightmargin\relax -% }^^A -% }^^A -% \ifdim\wd0>\lw -% \sbox0{\small\t}^^A -% \ifdim\wd0>\linewidth -% \ifdim\wd0>\lw -% \sbox0{\footnotesize\t}^^A -% \ifdim\wd0>\linewidth -% \ifdim\wd0>\lw -% \sbox0{\scriptsize\t}^^A -% \ifdim\wd0>\linewidth -% \ifdim\wd0>\lw -% \sbox0{\tiny\t}^^A -% \ifdim\wd0>\linewidth -% \lwbox -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \else -% \lwbox -% \fi -% \else -% \usebox0 -% \fi -% \end{quote} -% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's -% TDS installing feature, then some files can already be in the right -% place, see the documentation of \docstrip. -% -% \subsection{Refresh file name databases} -% -% If your \TeX~distribution -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \paragraph{Unpacking with \LaTeX.} -% The \xfile{.dtx} chooses its action depending on the format: -% \begin{description} -% \item[\plainTeX:] Run \docstrip\ and extract the files. -% \item[\LaTeX:] Generate the documentation. -% \end{description} -% If you insist on using \LaTeX\ for \docstrip\ (really, -% \docstrip\ does not need \LaTeX), then inform the autodetect routine -% about your intention: -% \begin{quote} -% \verb|latex \let\install=y\input{pdfcol.dtx}| -% \end{quote} -% Do not forget to quote the argument according to the demands -% of your shell. -% -% \paragraph{Generating the documentation.} -% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate -% the documentation. The process can be configured by the -% configuration file \xfile{ltxdoc.cfg}. For instance, put this -% line into this file, if you want to have A4 as paper format: -% \begin{quote} -% \verb|\PassOptionsToClass{a4paper}{article}| -% \end{quote} -% An example follows how to generate the -% documentation with pdf\LaTeX: -% \begin{quote} -%\begin{verbatim} -%pdflatex pdfcol.dtx -%makeindex -s gind.ist pdfcol.idx -%pdflatex pdfcol.dtx -%makeindex -s gind.ist pdfcol.idx -%pdflatex pdfcol.dtx -%\end{verbatim} -% \end{quote} -% -% \begin{History} -% \begin{Version}{2007/09/09 v1.0} -% \item -% First version. -% \end{Version} -% \begin{Version}{2007/12/09 v1.1} -% \item -% \cs{pdfcolSetCurrentColor} added. -% \end{Version} -% \begin{Version}{2007/12/12 v1.2} -% \item -% Detection for package \xpackage{luacolor} added. -% \end{Version} -% \begin{Version}{2016/05/16 v1.3} -% \item -% Documentation updates. -% \end{Version} -% \begin{Version}{2016/05/17 v1.4} -% \item -% Use luatex85 package for new luatex compatibility -% \end{Version} -% \begin{Version}{2018/11/01 v1.5} -% \item -% Remove luatex85 dependency -% \end{Version} -% \begin{Version}{2019/12/29 v1.6} -% \item -% \xpackage{iftex} package. -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty b/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty deleted file mode 100644 index c66a46108f6..00000000000 --- a/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty +++ /dev/null @@ -1,339 +0,0 @@ -%% -%% This is file `pdfcol.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% pdfcol.dtx (with options: `package') -%% -%% This is a generated file. -%% -%% Project: pdfcol -%% Version: 2019/12/29 v1.6 -%% -%% Copyright (C) -%% 2007 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 -%% -%% -%% The Base Interpreter refers to any `TeX-Format', -%% because some files are installed in TDS:tex/generic//. -%% -%% This work consists of the main source file pdfcol.dtx -%% and the derived files -%% pdfcol.sty, pdfcol.pdf, pdfcol.ins, pdfcol.drv, pdfcol-test1.tex, -%% pdfcol-test2.tex, pdfcol-test3.tex, pdfcol-test4.tex. -%% -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode58=12 % : - \catcode64=11 % @ - \catcode123=1 % { - \catcode125=2 % } - \expandafter\let\expandafter\x\csname ver@pdfcol.sty\endcsname - \ifx\x\relax % plain-TeX, first loading - \else - \def\empty{}% - \ifx\x\empty % LaTeX, first loading, - % variable is initialized, but \ProvidesPackage not yet seen - \else - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{pdfcol}{The package is already loaded}% - \aftergroup\endinput - \fi - \fi -\endgroup% -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode40=12 % ( - \catcode41=12 % ) - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode47=12 % / - \catcode58=12 % : - \catcode64=11 % @ - \catcode91=12 % [ - \catcode93=12 % ] - \catcode123=1 % { - \catcode125=2 % } - \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \immediate\write-1{Package: #3 #4}% - \xdef#1{#4}% - }% - \else - \def\x#1#2[#3]{\endgroup - #2[{#3}]% - \ifx#1\@undefined - \xdef#1{#3}% - \fi - \ifx#1\relax - \xdef#1{#3}% - \fi - }% - \fi -\expandafter\x\csname ver@pdfcol.sty\endcsname -\ProvidesPackage{pdfcol}% - [2019/12/29 v1.6 Handle new color stacks for pdfTeX (HO)]% -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname PDFCOL@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\PDFCOL@AtEnd{% - \PDFCOL@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{40}{12}% ( -\TMP@EnsureCode{41}{12}% ) -\TMP@EnsureCode{43}{12}% + -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{96}{12}% ` -\edef\PDFCOL@AtEnd{\PDFCOL@AtEnd\noexpand\endinput} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname RequirePackage\endcsname\relax - \def\PDFCOL@RequirePackage#1[#2]{\input #1.sty\relax}% -\else - \def\PDFCOL@RequirePackage#1[#2]{% - \RequirePackage{#1}[{#2}]% - }% -\fi -\ifx\pdfextension\@undefined\else - \def\pdfcolorstackinit {\pdffeedback colorstackinit} - \protected\def\pdfcolorstack {\pdfextension colorstack} -\fi -\PDFCOL@RequirePackage{ltxcmds}[2010/03/01] -\ltx@newif\ifpdfcolAvailable -\pdfcolAvailabletrue -\ltx@newif\ifPDFCOL@luacolor -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname ver@luacolor.sty\endcsname\relax - \PDFCOL@luacolorfalse -\else - \PDFCOL@luacolortrue -\fi -\PDFCOL@RequirePackage{infwarerr}[2007/09/09] -\PDFCOL@RequirePackage{iftex}[2019/11/07] -\ifcase\ifpdf\ifPDFCOL@luacolor 1\fi\else 1\fi0 % - \def\PDFCOL@Message{% - \@PackageWarningNoLine{pdfcol}% - }% -\else - \pdfcolAvailablefalse - \def\PDFCOL@Message{% - \@PackageInfoNoLine{pdfcol}% - }% - \PDFCOL@Message{% - Interface disabled because of % - \ifPDFCOL@luacolor - package `luacolor'% - \else - missing PDF mode of pdfTeX% - \fi - }% -\fi -\ifpdfcolAvailable - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname pdfcolorstack\endcsname\relax - \pdfcolAvailablefalse - \PDFCOL@Message{% - Interface disabled because of too old pdfTeX.\MessageBreak - Required is version 1.40+ for \string\pdfcolorstack - }% - \fi -\fi -\ifpdfcolAvailable - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname pdfcolorstack\endcsname\relax - \pdfcolAvailablefalse - \PDFCOL@Message{% - Interface disabled because of too old pdfTeX.\MessageBreak - Required is version 1.40+ for \string\pdfcolorstackinit - }% - \fi -\fi -\ifpdfcolAvailable - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname @pdfcolorstack\endcsname\relax - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname ver@color.sty\endcsname\relax - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname documentclass\endcsname\relax - \else - \RequirePackage[pdftex]{color}\relax - \fi - \fi - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname @pdfcolorstack\endcsname\relax - \pdfcolAvailablefalse - \PDFCOL@Message{% - Interface disabled because `pdftex.def'\MessageBreak - is not loaded or it is too old.\MessageBreak - Required is version 0.04b or greater% - }% - \fi - \fi -\fi -\let\pdfcolAvailabletrue\relax -\let\pdfcolAvailablefalse\relax -\ifpdfcolAvailable - \let\pdfcolErrorNoStacks\relax - \expandafter\ifx\csname pdfcol@Value\endcsname\relax - \def\pdfcol@Value{0 g 0 G}% - \fi - \expandafter\ifx\csname pdfcol@LiteralModifier\endcsname\relax - \def\pdfcol@LiteralModifier{direct}% - \fi - \def\pdfcolInitStack#1{% - \expandafter\ifx\csname pdfcol@Stack@#1\endcsname\relax - \global\expandafter\chardef\csname pdfcol@Stack@#1\endcsname=% - \pdfcolorstackinit\pdfcol@LiteralModifier{\pdfcol@Value}% - \relax - \@PackageInfo{pdfcol}{% - New color stack `#1' = \number\csname pdfcol@Stack@#1\endcsname - }% - \else - \@PackageError{pdfcol}{% - Stack `#1' is already defined% - }\@ehc - \fi - }% - \def\pdfcolIfStackExists#1{% - \expandafter\ifx\csname pdfcol@Stack@#1\endcsname\relax - \expandafter\@secondoftwo - \else - \expandafter\@firstoftwo - \fi - }% - \expandafter\ifx\csname @firstoftwo\endcsname\relax - \long\def\@firstoftwo#1#2{#1}% - \fi - \expandafter\ifx\csname @secondoftwo\endcsname\relax - \long\def\@secondoftwo#1#2{#2}% - \fi - \def\pdfcolSwitchStack#1{% - \pdfcolIfStackExists{#1}{% - \expandafter\let\expandafter\@pdfcolorstack - \csname pdfcol@Stack@#1\endcsname - }{% - \pdfcol@ErrorNoStack{#1}% - }% - }% - \def\pdfcolSetCurrentColor{% - \pdfcolorstack\@pdfcolorstack set{\current@color}% - }% - \def\pdfcolSetCurrent#1{% - \ifx\\#1\\% - \pdfcolorstack\@pdfcolorstack current\relax - \else - \pdfcolIfStackExists{#1}{% - \pdfcolorstack\csname pdfcol@Stack@#1\endcsname current\relax - }{% - \pdfcol@ErrorNoStack{#1}% - }% - \fi - }% - \def\pdfcol@ErrorNoStack#1{% - \@PackageError{pdfcol}{Stack `#1' does not exists}\@ehc - }% -\else - \def\pdfcolErrorNoStacks{% - \@PackageError{pdfcol}{% - Color stacks are not available% - }{% - Update pdfTeX (1.40) and `pdftex.def' (0.04b) % - if necessary.\MessageBreak - Ensure that `pdftex.def' is loaded % - (package `color' or `xcolor').\MessageBreak - Further messages can be found in TeX's % - protocol file `\jobname.log'.\MessageBreak - \MessageBreak - \@ehc - }% - \global\let\pdfcolErrorNoStacks\relax - }% - \def\PDFCOL@Disabled{% - \PDFCOL@Message{% - pdfTeX's color stacks are not available% - }% - \global\let\PDFCOL@Disabled\relax - }% - \def\pdfcolInitStack#1{% - \PDFCOL@Disabled - }% - \long\def\pdfcolIfStackExists#1#2#3{#3}% - \def\pdfcolSwitchStack#1{% - \PDFCOL@Disabled - }% - \def\pdfcolSetCurrentColor{% - \PDFCOL@Disabled - }% - \def\pdfcolSetCurrent#1{% - \PDFCOL@Disabled - }% -\fi -\PDFCOL@AtEnd% -%% \section{Installation} -\endinput -%% -%% End of file `pdfcol.sty'. diff --git a/Master/texmf-dist/tex/latex/oberdiek/pagegrid.sty b/Master/texmf-dist/tex/latex/oberdiek/pagegrid.sty deleted file mode 100644 index 77729dd0cad..00000000000 --- a/Master/texmf-dist/tex/latex/oberdiek/pagegrid.sty +++ /dev/null @@ -1,421 +0,0 @@ -%% -%% This is file `pagegrid.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% pagegrid.dtx (with options: `package') -%% -%% This is a generated file. -%% -%% Project: pagegrid -%% Version: 2016/05/16 v1.5 -%% -%% Copyright (C) -%% 2009 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 pagegrid.dtx -%% and the derived files -%% pagegrid.sty, pagegrid.pdf, pagegrid.ins, pagegrid.drv, -%% pagegrid-test1.tex. -%% -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode58=12 % : - \catcode64=11 % @ - \catcode123=1 % { - \catcode125=2 % } - \expandafter\let\expandafter\x\csname ver@pagegrid.sty\endcsname - \ifx\x\relax % plain-TeX, first loading - \else - \def\empty{}% - \ifx\x\empty % LaTeX, first loading, - % variable is initialized, but \ProvidesPackage not yet seen - \else - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{pagegrid}{The package is already loaded}% - \aftergroup\endinput - \fi - \fi -\endgroup% -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode40=12 % ( - \catcode41=12 % ) - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode47=12 % / - \catcode58=12 % : - \catcode64=11 % @ - \catcode91=12 % [ - \catcode93=12 % ] - \catcode123=1 % { - \catcode125=2 % } - \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \immediate\write-1{Package: #3 #4}% - \xdef#1{#4}% - }% - \else - \def\x#1#2[#3]{\endgroup - #2[{#3}]% - \ifx#1\@undefined - \xdef#1{#3}% - \fi - \ifx#1\relax - \xdef#1{#3}% - \fi - }% - \fi -\expandafter\x\csname ver@pagegrid.sty\endcsname -\ProvidesPackage{pagegrid}% - [2016/05/16 v1.5 Print page grid in background (HO)]% -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname pagegrid@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\pagegrid@AtEnd{% - \pagegrid@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{9}{10}% (tab) -\TMP@EnsureCode{10}{12}% ^^J -\TMP@EnsureCode{33}{12}% ! -\TMP@EnsureCode{34}{12}% " -\TMP@EnsureCode{36}{3}% $ -\TMP@EnsureCode{38}{4}% & -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{40}{12}% ( -\TMP@EnsureCode{41}{12}% ) -\TMP@EnsureCode{42}{12}% * -\TMP@EnsureCode{43}{12}% + -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{45}{12}% - -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{58}{12}% : -\TMP@EnsureCode{59}{12}% ; -\TMP@EnsureCode{60}{12}% < -\TMP@EnsureCode{62}{12}% > -\TMP@EnsureCode{63}{12}% ? -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{94}{7}% ^ (superscript) -\TMP@EnsureCode{95}{8}% _ (subscript) -\TMP@EnsureCode{96}{12}% ` -\TMP@EnsureCode{124}{12}% | -\edef\pagegrid@AtEnd{\pagegrid@AtEnd\noexpand\endinput} -\RequirePackage{tikz} -\RequirePackage{atbegshi}[2009/12/02] -\RequirePackage{kvoptions}[2009/07/17] -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname stockwidth\endcsname\relax - \def\pagegrid@width{\paperwidth}% - \def\pagegrid@height{\paperheight}% -\else - \def\pagegrid@width{\stockwidth}% - \def\pagegrid@height{\stockheight}% -\fi -\SetupKeyvalOptions{% - family=pagegrid,% - prefix=pagegrid@,% -} -\def\pagegrid@init{% - \let\pagegrid@origin@a\@empty - \let\pagegrid@origin@b\@empty - \let\pagegrid@init\relax -} -\let\pagegrid@@init\pagegrid@init -\def\pagegrid@origin@a{bl} -\def\pagegrid@origin@b{tr} -\def\pagegrid@SetOrigin#1{% - \pagegrid@init - \ifx\pagegrid@origin@a\@empty - \def\pagegrid@origin@a{#1}% - \else - \ifx\pagegrid@origin@b\@empty - \else - \let\pagegrid@origin@a\pagegrid@origin@b - \fi - \def\pagegrid@origin@b{#1}% - \fi -} -\def\pagegrid@temp#1{% - \DeclareVoidOption{#1}{\pagegrid@SetOrigin{#1}}% - \@namedef{pagegrid@N@#1}{#1}% -} -\pagegrid@temp{bl} -\pagegrid@temp{br} -\pagegrid@temp{tl} -\pagegrid@temp{tr} -\def\pagegrid@temp#1#2{% - \DeclareVoidOption{#2}{\pagegrid@SetOrigin{#1}}% -}% -\pagegrid@temp{bl}{lb} -\pagegrid@temp{br}{rb} -\pagegrid@temp{tl}{lt} -\pagegrid@temp{tr}{rt} -\pagegrid@temp{bl}{bottom-left} -\pagegrid@temp{br}{bottom-right} -\pagegrid@temp{tl}{top-left} -\pagegrid@temp{tr}{top-right} -\pagegrid@temp{bl}{left-bottom} -\pagegrid@temp{br}{right-bottom} -\pagegrid@temp{tl}{left-top} -\pagegrid@temp{tr}{right-top} -\DeclareBoolOption[true]{enable} -\DeclareComplementaryOption{disable}{enable} -\DeclareBoolOption{foreground} -\newlength{\pagegrid@step} -\define@key{pagegrid}{step}{% - \setlength{\pagegrid@step}{#1}% -} -\DeclareStringOption[red]{firstcolor} -\DeclareStringOption[blue]{secondcolor} -\DeclareBoolOption[true]{arrows} -\newlength\pagegrid@arrowlength -\pagegrid@arrowlength=\z@ -\define@key{pagegrid}{arrowlength}{% - \setlength{\pagegrid@arrowlength}{#1}% -} -\define@key{pagegrid}{double}[true]{% - \@ifundefined{pagegrid@double@#1}{% - \PackageWarning{pagegrid}{% - Unsupported value `#1' for option `double'.\MessageBreak - Known values are:\MessageBreak - `false', `first', `last', `true'.\MessageBreak - Now `false' is used% - }% - \chardef\pagegrid@double\z@ - }{% - \chardef\pagegrid@double\csname pagegrid@double@#1\endcsname\relax - }% -} -\@namedef{pagegrid@double@false}{0} -\@namedef{pagegrid@double@first}{1} -\@namedef{pagegrid@double@last}{2} -\@namedef{pagegrid@double@true}{2} -\chardef\pagegrid@double\z@ -\newcommand*{\pagegridsetup}{% - \let\pagegrid@init\pagegrid@@init - \setkeys{pagegrid}% -} -\pagegridsetup{% - step=1mm% -} -\InputIfFileExists{pagegrid.cfg}{}% -\ProcessKeyvalOptions*\relax -\AtBeginDocument{% - \ifdim\pagegrid@arrowlength>\z@ - \else - \pagegrid@arrowlength=10\pagegrid@step - \fi -} -\def\pagegridShipoutDoubleBegin{% - \begingroup - \let\newlabel\@gobbletwo - \let\zref@newlabel\@gobbletwo - \let\@writefile\@gobbletwo - \let\select@language\@gobble -} -\def\pagegridShipoutDoubleEnd{% - \endgroup -} -\def\pagegrid@WriteDouble#1#2{% - \immediate\write#1{% - \@backslashchar csname % - pagegridShipoutDouble#2% - \@backslashchar endcsname% - }% -} -\def\pagegrid@ShipoutDouble#1{% - \begingroup - \if@filesw - \pagegrid@WriteDouble\@mainaux{Begin}% - \ifx\@auxout\@partaux - \pagegrid@WriteDouble\@partaux{Begin}% - \def\pagegrid@temp{% - \pagegrid@WriteDouble\@mainaux{End}% - \pagegrid@WriteDouble\@partaux{End}% - }% - \else - \def\pagegrid@temp{% - \pagegrid@WriteDouble\@mainaux{End}% - }% - \fi - \else - \def\pagegrid@temp{}% - \fi - \let\protect\noexpand - \AtBeginShipoutOriginalShipout\copy#1\relax - \pagegrid@temp - \endgroup -} -\AtBeginShipout{% - \ifdim\pagegrid@step>\z@ - \else - \pagegrid@enablefalse - \fi - \ifpagegrid@enable - \ifnum\pagegrid@double=\@ne - \pagegrid@ShipoutDouble\AtBeginShipoutBox - \else - \ifnum\pagegrid@double=\tw@ - \@ifundefined{pagegrid@DoubleBox}{% - \newbox\pagegrid@DoubleBox - }{}% - \setbox\pagegrid@DoubleBox=\copy\AtBeginShipoutBox - \fi - \fi - \ifpagegrid@foreground - \expandafter\AtBeginShipoutUpperLeftForeground - \else - \expandafter\AtBeginShipoutUpperLeft - \fi - {% - \put(0,0){% - \makebox(0,0)[lt]{% - \begin{tikzpicture}[% - bl/.style={},% - br/.style={xshift=\pagegrid@width,xscale=-1},% - tl/.style={yshift=\pagegrid@height,yscale=-1},% - tr/.style={xshift=\pagegrid@width,% - yshift=\pagegrid@height,scale=-1}% - ]% - \useasboundingbox - (0mm,\pagegrid@height) rectangle (0mm,\pagegrid@height);% - \draw[% - \pagegrid@origin@a,% - step=\pagegrid@step,% - style=help lines,% - ultra thin% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \ifx\pagegrid@origin@b\@empty - \else - \draw[% - \pagegrid@origin@b,% - step=10\pagegrid@step,% - {\pagegrid@secondcolor},% - very thin% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \fi - \draw[% - \pagegrid@origin@a,% - step=10\pagegrid@step,% - {\pagegrid@firstcolor},% - very thin% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \ifx\pagegrid@origin@b\@empty - \else - \draw[% - \pagegrid@origin@b,% - step=50\pagegrid@step,% - {\pagegrid@secondcolor},% - thick% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \fi - \draw[% - \pagegrid@origin@a,% - step=50\pagegrid@step,% - {\pagegrid@firstcolor},% - thick% - ] (0mm,0mm) grid (\pagegrid@width,\pagegrid@height);% - \ifpagegrid@arrows - \ifx\pagegrid@origin@b\@empty - \else - \draw[% - \pagegrid@origin@b,% - {\pagegrid@secondcolor},% - stroke,% - line width=1pt,% - line cap=round% - ] (0mm,0mm) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - (\pagegrid@arrowlength,.5\pagegrid@arrowlength) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - -- (.5\pagegrid@arrowlength,\pagegrid@arrowlength);% - \fi - \draw[% - \pagegrid@origin@a,% - {\pagegrid@firstcolor},% - stroke,% - line width=1pt,% - line cap=round% - ] (0mm,0mm) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - (\pagegrid@arrowlength,.5\pagegrid@arrowlength) % - -- (\pagegrid@arrowlength,\pagegrid@arrowlength) % - -- (.5\pagegrid@arrowlength,\pagegrid@arrowlength);% - \fi - \end{tikzpicture}% - }% - }% - }% - \ifnum\pagegrid@double=\tw@ - \pagegrid@ShipoutDouble\pagegrid@DoubleBox - \fi - \fi -} -\pagegrid@AtEnd% -%% \section{Installation} -\endinput -%% -%% End of file `pagegrid.sty'. |