diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-16 21:21:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-16 21:21:29 +0000 |
commit | 855e0c7dd1ed1c6b94656bce79b760399313887d (patch) | |
tree | 8ffe3d97b3da2653591fe7aea4b0a7b8cc628a49 | |
parent | bd218c25ef5a9d31b0932b6b93c1510c23d4a5e7 (diff) |
oberdiek (16nov21)
git-svn-id: svn://tug.org/texlive/trunk@61066 c570f23f-e606-0410-a88d-b1316a301751
48 files changed, 2 insertions, 1878 deletions
diff --git a/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib b/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib index fd2b6229a79..5639fc952cf 100644 --- a/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib +++ b/Master/texmf-dist/bibtex/bib/oberdiek/oberdiek-bundle.bib @@ -103,13 +103,6 @@ version={1.12}, url={https://ctan.org/pkg/hypcap}, } -@manual{oberdiek:hypdoc, - title={The hypdoc package}, - author={Heiko Oberdiek}, - date={2018-09-07}, - version={1.14}, - url={https://ctan.org/pkg/hypdoc}, -} @manual{oberdiek:hypgotoe, title={The hypgotoe 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 825d2685129..682184dc81b 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: 2020-09-02 +Version: 2021-11-15 This file describes the directory CTAN:macros/latex/contrib/oberdiek/ @@ -49,7 +49,6 @@ Other files in the CTAN directory: * holtxdoc: extra documentation macros; * hypbmsec: bookmarks in sectioning commands; * hypcap: anjusting anchors of captions; -* hypdoc: hyper-references in the LaTeX standard doc package; * hypgotoe: experimental package for links to embedded files; * hyphsubst: substitute hyphenation patterns; * ifdraft: switch for option draft; diff --git a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf Binary files differindex 99508dc8bfc..3d37bde0a64 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 7c435f524fa..f551dcd1d6b 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 f4ceda85500..1c365a0a296 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 6ed193a2161..3be586e5eda 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 63a575742ed..8ff77331587 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 50265fa311b..8668c34d3d8 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 9d98daddba9..cf0e002b7d9 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 403ec71aacd..067fbca25b8 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 0c604fc3b1d..e085b3062e6 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 61b21d1985e..c1b38c591ed 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 1f5e6a2245e..b471eb5ef99 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 5f561e1b335..4f476fc9319 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 d88cbae03dc..72f5ebe9bd8 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/hopatch.pdf b/Master/texmf-dist/doc/latex/oberdiek/hopatch.pdf Binary files differdeleted file mode 100644 index 2b36643cc11..00000000000 --- a/Master/texmf-dist/doc/latex/oberdiek/hopatch.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf Binary files differindex b6fcb731c5e..e0aa81018e0 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 334f67bf9e8..0417e6f54f2 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/hypdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf Binary files differdeleted file mode 100644 index 82eb5d51950..00000000000 --- a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf Binary files differindex 87858187c4a..cfbc9e8f114 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 a553d7ba51d..318eb95edc4 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 55042d429cb..799e8b9c251 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 fd72a8cb912..b7f3a56530c 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 482d935da64..ae33dcf68ab 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 differindex 1aefe9f9d64..b5ea0888180 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf Binary files differindex b09e4f602de..cfc5d41d3b2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf Binary files differindex 899ac9d9fcf..d611ba65d2f 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 5032716ee86..51c9014324f 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 29730a96bdb..56a69feb08d 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 03e5ce1f8ff..79740fa6519 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 212dc3664b0..ae0d3a5b510 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 1a640fb01eb..52d39ec04ca 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 04356d885a0..97a1ff7f448 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 f10a2e887d7..15262166fde 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 725e81f60da..d6a80e564ca 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 53bf65cac24..d63d0f6f4be 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 4e4cabfb46c..97e9a8862f2 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 a10c1ca7e4a..c28caf45222 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 a465d1468c5..1df073bb3ab 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 1fa8dbc47e4..7ef081099d0 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 7746fdb4391..25560a6b56c 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 58d1577101e..0b8e6808b56 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 3e4e1da4af6..8efaa9e500a 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 32de2441fcf..5a1292e804d 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/hypdoc.dtx b/Master/texmf-dist/source/latex/oberdiek/hypdoc.dtx deleted file mode 100644 index 481a53d8523..00000000000 --- a/Master/texmf-dist/source/latex/oberdiek/hypdoc.dtx +++ /dev/null @@ -1,1368 +0,0 @@ -% \iffalse meta-comment -% -% File: hypdoc.dtx -% Version: 2018/09/07 v1.14 -% Info: Hyper extensions for doc.sty -% -% Copyright (C) -% 2002, 2006, 2007, 2009-2011 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 hypdoc.dtx -% and the derived files -% hypdoc.sty, hypdoc.pdf, hypdoc.ins, hypdoc.drv. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/hypdoc.dtx -% CTAN:macros/latex/contrib/oberdiek/hypdoc.pdf -% -% Unpacking: -% (a) If hypdoc.ins is present: -% tex hypdoc.ins -% (b) Without hypdoc.ins: -% tex hypdoc.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{hypdoc.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If hypdoc.drv is present: -% latex hypdoc.drv -% (b) Without hypdoc.drv: -% latex hypdoc.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 hypdoc.dtx -% makeindex -s gind.ist hypdoc.idx -% pdflatex hypdoc.dtx -% makeindex -s gind.ist hypdoc.idx -% pdflatex hypdoc.dtx -% -% Installation: -% TDS:tex/latex/oberdiek/hypdoc.sty -% TDS:doc/latex/oberdiek/hypdoc.pdf -% TDS:source/latex/oberdiek/hypdoc.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: hypdoc 2018/09/07 v1.14 Hyper extensions for doc.sty (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: hypdoc -Version: 2018/09/07 v1.14 - -Copyright (C) - 2002, 2006, 2007, 2009-2011 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 hypdoc.dtx -and the derived files - hypdoc.sty, hypdoc.pdf, hypdoc.ins, hypdoc.drv. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{hypdoc.ins}{\from{hypdoc.dtx}{install}}% - \file{hypdoc.drv}{\from{hypdoc.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% - \file{hypdoc.sty}{\from{hypdoc.dtx}{package}}% -} - -\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{* hypdoc.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `hypdoc.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -%</install> -%<*ignore> -\fi -%</ignore> -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{hypdoc.drv}% - [2018/09/07 v1.14 Hyper extensions for doc.sty (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\begin{document} - \DocInput{hypdoc.dtx}% -\end{document} -%</driver> -% \fi -% -% -% -% \GetFileInfo{hypdoc.drv} -% -% \title{The \xpackage{hypdoc} package} -% \date{2018/09/07 v1.14} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% This package adds hyper features to the package -% \xpackage{doc} that is used in the documentation -% system of \LaTeXe. Bookmarks are added and references -% are linked as far as possible. -% \end{abstract} -% -% \tableofcontents -% -% \section{Features} -% -% The package adds the following features: -% \begin{description} -% \item[Bookmarks:] -% For supporting bookmarks package \verb|hyperref| is loaded. -% Some \TeX\ code inside section titles can cause problems -% during bookmark processing; these can be warnings, ugly -% bookmark titles or even errors. With the help of -% \verb|\pdfstringdefDisableCommands| or \verb|\texorpdfstring| -% you can manage these things, see \verb|hyperref|'s package -% documentation. -% \item[Additional bookmarks:] -% Unnumbered bookmark entries are generated for: -% \begin{itemize} -% \item Table of contents -% \item List of figures -% \item List of tables -% \item Index -% \item Glossary -% \end{itemize} -% Option \texttt{numbered} controls, whether these section or -% chapters should be numbered. The exception is the table -% of contents if this it would be the first numbered -% section. Then just a bookmark is added. -% \item[Metadata:] -% The loaded package \verb|hyperref|, enforced by -% option \verb|pdfusetitle|, tries to detect \verb|\title| -% and \verb|\author| and sets the corresponding PDF -% information fields. In case of problems see the previous -% item about bookmarks. -% These enries can be overwritten or new ones added by -% \verb|\hypersetup| after the packages is loaded, see -% documentation of package \verb|hyperref|. -% \item[References, links:] Because of package \verb|\hyperref| -% |\ref| become links, also \verb|\url|, footnote referencing -% are supported. -% \item[Index:] -% The main part of this package deals with index links in order -% to support the kind of index that package \verb|doc| provides. -% \item[Thumbnails:] -% Package \verb|thumbpdf| may additionally be loaded for the case that the -% PDF file also should contain thumbnails, see the documentation -% of this package. But thumbnail embedding is not really -% necessary, because nowadays AcrobatReader is able to -% generate and view thumbnails on the fly. -% \end{description} -% -% \section{Usage} -% -% The purpose of this packages is to add PDF features to -% the documentation of LaTeX packages. Thus just load -% the package in the driver file that generates the -% documentation: -% \begin{quote} -% \verb|\usepackage{hypdoc}| -% \end{quote} -% Package \verb|doc| is loaded by \verb|hypdoc|, thus you -% also can replace a \verb|\usepackage{doc}| with this line. -% At any case, the package must be loaded before macros of -% package \verb|doc| such as \verb|\CodelineIndex| or -% \verb|\PageIndex| are used. -% -% If the class \verb|ltxdoc| is used, you can also use -% the configuration file for this class to add -% package \verb|hypdoc|. Add the following line -% to the file \verb|ltxdoc.cfg| (or create a new one): -% \begin{quote} -%\begin{verbatim} -%\AtEndOfClass{\RequirePackage{hypdoc}} -%\end{verbatim} -% \end{quote} -% -% \subsection{Options} -% -% There is one option \texttt{numbered}. It controls, -% whether the starred versions of section or chapter -% inside \cs{tableofcontents}, \cs{listoffigures}, \dots -% should be replaced by the non-star versions. -% -% \subsection{Simple example} -% Example of a simple driver file \verb|foobar.drv| -% of a package \verb|foobar|. Often the driver file -% is packed in the file \verb|foobar.dtx| and can -% be extracted by docstrip or if an instruction file -% for docstrip is provided by: -% \begin{quote} -% \verb|tex foobar.ins| -% \end{quote} -% Note that although docstrip doesn't rely on \LaTeX, -% sometimes you need to run the \verb|.ins| file through -% \LaTeX. Oddly enough, often the only \LaTeX\ feature -% in use is \verb|\NeedsTeXFormat{LaTeX2e}| in the first line. -% \begin{quote} -%\begin{verbatim} -%\documentclass{ltxdoc} -%\usepackage{hypdoc} -%\RecordChanges -%\EnableCrossrefs -%\CodelineIndex -%\begin{document} -%\title{Title for package \texttt{foobar}} -%\author{Author of package \texttt{foobar}} -%\date{...} -%\maketitle -%\tableofcontents -%\DocInput{foobar.dtx} -%\PrintChanges -%\PrintIndex -%\end{document} -%\end{verbatim} -% \end{quote} -% -% Then compile it, for example with pdf\LaTeX. -% \begin{quote} -%\begin{verbatim} -%pdflatex foobar.drv -%makeindex -s gind.ist foobar.idx -%makeindex -s gglo.ist -o foobar.gls foobar.glo -%pdflatex foobar.drv -%\end{verbatim} -% \end{quote} -% You will need several cycles until the cross references -% and similar things are correct. -% -% \subsection{Example \texttt{source2e.tex}} -% -% The source code of the base of \LaTeX\ is available as -% a bunch of \verb|.dtx| files. \LaTeX\ provides the file -% \verb|source2e.tex| to merge them all together. -% -% Now you can either load package \verb|hypdoc| in a private copy -% of this file (please, respect the LPPL) or use the configuration -% file \verb|ltxdoc.cfg|. Example that also sets A4 paper size: -% \begin{quote} -%\begin{verbatim} -%\PassOptionsToClass{a4paper}{article} -%\AtEndOfClass{\RequirePackage{hypdoc}} -%\end{verbatim} -% \end{quote} -% -% Then \verb|source2e.tex| can be compiled by pdf\TeX, for example: -% \begin{quote} -%\begin{verbatim} -%pdflatex source2e -%makeindex -s gind.ist source2e.idx -%makeindex -s gglo.ist -o source2e.glo source2e.gls -%pdflatex source2e -%makeindex -s gind.ist source2e.idx -%makeindex -s gglo.ist -o source2e.glo source2e.gls -%pdflatex source2e -%\end{verbatim} -% \end{quote} -% -% \StopEventually{ -% } -% -% \section{Implementation} -% -% \begin{macrocode} -%<*package> -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{hypdoc}% - [2018/09/07 v1.14 Hyper extensions for doc.sty (HO)]% -% \end{macrocode} -% The package identification is done at the top of the |.dtx| file -% in order to use only one identification string. -% -% For unique command names this package uses |HD@| as prefix -% -% \subsection{Options} -% -% \begin{macro}{\ifHD@numbered} -% \begin{macrocode} -\newif\ifHD@numbered -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\DeclareOption{numbered}{\HD@numberedtrue} -\ProcessOptions*\relax -% \end{macrocode} -% -% \subsection{Package loading} -% -% \begin{macrocode} -\RequirePackage{atveryend}[2010/03/24] -\RequirePackage{doc} -% \end{macrocode} -% \begin{macrocode} -\ifx\numexpr\@undefined - \RequirePackage{calc}% -\fi -% \end{macrocode} -% \begin{macrocode} -\RequirePackage[% - hyperindex=false,% - pdfusetitle,% - colorlinks,% - pdfpagelabels% -]{hyperref}[2002/05/09]% -\hypersetup{% - plainpages=false,% - bookmarksopen,% - bookmarksnumbered,% - bookmarksopenlevel=0,% - pdfstartview={FitBH \hypercalcbp{% - \paperheight-\topmargin-1in-\headheight-\headsep - }},% -} -% \end{macrocode} -% -% \begin{macrocode} -\newcounter{HD@unique} -% \end{macrocode} -% \begin{macro}{\theHD@unique} -% \begin{macrocode} -\renewcommand{\theHD@unique}{% - \number\value{HD@unique}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -\g@addto@macro\Hy@UseMaketitleInfos{% - \@ifundefined{fileinfo}{}{% - \ifx\@pdfsubject\@empty - \hypersetup{pdfsubject={\fileinfo}}% - \fi - }% -} -% \end{macrocode} -% -% \begin{macrocode} -\pdfstringdefDisableCommands{% - \let\thanks\@gobble - \let\footnote\@gobble - \def\cs#1{\textbackslash #1}% - \let\normalfont\@empty - \let\scshape\@empty - \def\and{and }% -} -% \end{macrocode} -% -% \subsubsection{Patch for bug latex/4096} -% -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname mod@math@codes\endcsname\relax -\else - \def\HD@ModFix#1{% - \mathcode`#1=`#1\relax - }% - \g@addto@macro\mod@math@codes{% - \HD@ModFix\-% - \HD@ModFix\+% - \HD@ModFix\:% - \HD@ModFix\=% - \HD@ModFix\*% - }% -\fi -% \end{macrocode} -% -% \subsection{Bookmarks} -% -% \begin{macro}{\HD@sectionpatch} -% \begin{macrocode} -\def\HD@sectionpatch{% - \ifHD@numbered - \HD@@sectionpatch{section}% - \HD@@sectionpatch{chapter}% - \else - \let\Hy@writebookmark\HD@disable@writebookmark - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@@sectionpatch} -% \begin{macrocode} -\def\HD@@sectionpatch#1{% - \expandafter\let\csname HDorg@@#1\expandafter\endcsname - \csname #1\endcsname - \@namedef{#1}{% - \@ifstar{\@nameuse{HDorg@@#1}}{\@nameuse{HDorg@@#1}}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@disable@writebookmark} -% \begin{macrocode} -\def\HD@disable@writebookmark#1#2#3#4#5{} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HD@guesstoclevel} -% A wild guessing of the toclevel. There is the hope, that -% the macro |#1| starts with a sectioning command. -% \begin{macrocode} -\def\HD@guesstoclevel#1{% - \expandafter\HD@@guesstoclevel#1\section\HD@end -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@@guesstoclevel} -% \begin{macrocode} -\def\HD@@guesstoclevel#1#2\HD@end{% - \@ifundefined{toclevel@\expandafter\@gobble\string#1\@empty}{% - 1% - }{% - \@nameuse{toclevel@\expandafter\@gobble\string#1\@empty}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{tableofcontents}} -% -% \begin{macro}{\HDorg@tableofcontents} -% \begin{macrocode} -\let\HDorg@tableofcontents\tableofcontents -% \end{macrocode} -% \end{macro} -% \begin{macro}{\tableofcontents} -% As first section the table of contents shouldn't -% go into the toc itself. Also a number looks too funny then. -% Just a bookmark is enough in this case. -% \begin{macrocode} -\def\tableofcontents{% - \begingroup - \@ifundefined{c@section}{% - \def\c@section{0}% - }{}% - \expandafter\endgroup - \ifcase\c@section - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@tableofcontents}]% - {\contentsname}{toc\theHD@unique}% - \HDorg@tableofcontents - \else - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@tableofcontents}]% - {\contentsname}{toc\theHD@unique}% - \fi - \begingroup - \HD@sectionpatch - \HDorg@tableofcontents - \endgroup - \fi -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{listoffigures}} -% -% \begin{macro}{\HDorg@listoffigures} -% \begin{macrocode} -\let\HDorg@listoffigures\listoffigures -% \end{macrocode} -% \end{macro} -% \begin{macro}{\listoffigures} -% \begin{macrocode} -\def\listoffigures{% - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@listoffigures}]% - {\listfigurename}{toc\theHD@unique}% - \fi - \begingroup - \HD@sectionpatch - \HDorg@listoffigures - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{listoftables}} -% -% \begin{macro}{\HDorg@listoftables} -% \begin{macrocode} -\let\HDorg@listoftables\listoftables -% \end{macrocode} -% \end{macro} -% \begin{macro}{\listoftables} -% \begin{macrocode} -\def\listoftables{% - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@listoftables}]% - {\listtablename}{toc\theHD@unique}% - \fi - \begingroup - \HD@sectionpatch - \HDorg@listoftables - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{thebibliography}} -% -% \begin{macro}{\HDorg@thebibliography} -% \begin{macrocode} -\let\HDorg@thebibliography\thebibliography -% \end{macrocode} -% \end{macro} -% \begin{macro}{\thebibliography} -% \begin{macrocode} -\def\thebibliography{% - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@thebibliography}]% - {\@ifundefined{chapter}{\refname}{\bibname}}{bib\theHD@unique}% - \fi - \HD@sectionpatch - \HDorg@thebibliography -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{theindex}} -% -% \begin{macro}{\HDorg@theindex} -% \begin{macrocode} -\let\HDorg@theindex\theindex -% \end{macrocode} -% \end{macro} -% \begin{macro}{\theindex} -% \begin{macrocode} -\def\theindex{% - \let\HDorg@index@prologue\index@prologue - \let\HDorg@writebookmark\Hy@writebookmark - \HD@sectionpatch - \g@addto@macro\IndexParms{% - \ifHD@numbered - \else - \let\Hy@writebookmark\HDorg@writebookmark - \fi - \let\bfseries\HD@bfseries - }% - \edef\HD@toclevel@index{\HD@guesstoclevel{\index@prologue}}% - \begingroup - \count@=\HD@toclevel@index\relax - \advance\count@ by 1 % - \xdef\HD@toclevel@subindex{\the\count@}% - \endgroup - \def\index@prologue{% - \ifHD@numbered - \else - \begingroup - \stepcounter{HD@unique}% - \let\Hy@writebookmark\HDorg@writebookmark - \pdfbookmark[\HD@toclevel@index]% - {\indexname}{index\theHD@unique}% - \endgroup - \fi - \HDorg@index@prologue - }% - \HDorg@theindex -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HDorg@bfseries} -% \begin{macrocode} -\let\HDorg@bfseries\bfseries -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@bfseries} -% \begin{macrocode} -\def\HD@bfseries{\futurelet\HD@hfil\HD@@bfseries}% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@@bfseries} -% \begin{macrocode} -\def\HD@@bfseries{% - \HDorg@bfseries - \ifx\HD@hfil\hfil - \expandafter\HD@@@bfseries - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@@@bfseries} -% \begin{macrocode} -\def\HD@@@bfseries\hfil#1\hfil{% - \ifx\\#1\\% - \else - \raisebox{\baselineskip}[0pt]{% - \kern-\HD@margin\relax - \pdfbookmark[\HD@toclevel@subindex]{#1}{HD.#1}% - \kern\HD@margin\relax - }% - \fi - \hfil#1\hfil -}% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@margin} -% \begin{macrocode} -\def\HD@margin{1mm} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{theglossary}} -% -% \begin{macro}{\HDorg@theglossary} -% \begin{macrocode} -\let\HDorg@theglossary\theglossary -% \end{macrocode} -% \end{macro} -% \begin{macro}{\theglossary} -% \begin{macrocode} -\def\theglossary{% - \let\HDorg@glossary@prologue\glossary@prologue - \let\HDorg@writebookmark\Hy@writebookmark - \HD@sectionpatch - \def\glossary@prologue{% - \ifHD@numbered - \else - \begingroup - \let\Hy@writebookmark\HDorg@writebookmark - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@glossary@prologue}]% - {\changehistoryname}{glossary\theHD@unique}% - \endgroup - \fi - \HDorg@glossary@prologue - }% - \HDorg@theglossary -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\glossaryname} -% \begin{macrocode} -\providecommand*{\glossaryname}{Change History} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\glossaryname} -% \begin{macrocode} -\providecommand*{\changehistoryname}{\glossaryname} -% \end{macrocode} -% \end{macro} -% -% \subsection{Index} -% -% \begin{macrocode} -\newcounter{HD@hypercount} -% \end{macrocode} -% \begin{macro}{\HD@helplength} -% \begin{macrocode} -\newlength{\HD@helplength} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ifHD@savedest} -% \begin{macrocode} -\newif\ifHD@savedest -\HD@savedesttrue -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\AtBeginDocument{% - \HD@savedest@init -} -% \end{macrocode} -% \begin{macrocode} -\RequirePackage{rerunfilecheck}[2009/12/10] -% \end{macrocode} -% \begin{macro}{\HD@savedest@init} -% \begin{macrocode} -\begingroup - \catcode`\^^M=\active -\@firstofone{\endgroup - \def\HD@savedest@init{% - \ifHD@savedest - \let\HDorg@tilde~% - \let~\HD@savedest@entry - \edef\HDorg@catcodeM{\the\catcode`\^^M}% - \catcode`\^^M=\active - \def^^M{}% - \InputIfFileExists{\jobname.hd}{}{}% - \let~\HDorg@tilde - \catcode`\^^M=\HDorg@catcodeM\relax - \newwrite\HD@savedest@out - \RerunFileCheck{\jobname.hd}{% - \immediate\closeout\HD@savedest@out - }{}% - \immediate\openout\HD@savedest@out=\jobname.hd\relax - \else - \let\HD@savedest@add\@gobble - \fi - }% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@savedest@entry} -% \begin{macrocode} - \def\HD@savedest@entry#1^^M{% - \@namedef{HD.#1}{}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@savedest@add} -% \begin{macrocode} -\def\HD@savedest@add#1{% - \immediate\write\HD@savedest@out{\string~#1}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ifHD@targetraise} -% \begin{macrocode} -\newif\ifHD@targetraise -\HD@targetraisetrue -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@target} -% \begin{macrocode} -\def\HD@target{% - \ifHD@targetraise - \ifhmode - \settoheight{\HD@helplength}{[H]}% - \addtolength{\HD@helplength}{0.4ex}% - \raisebox{\HD@helplength}[0pt][0pt]{% - \HD@maketarget - }% - \else - \HD@maketarget - \fi - \else - \HD@maketarget - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@maketarget} -% \begin{macrocode} -\def\HD@maketarget{% - \stepcounter{HD@hypercount}% - \def\HD@next{% - \llap{\hypertarget{HD.\the\c@HD@hypercount}{}\,}% - }% - \ifHD@savedest - \expandafter\ifx\csname HD.\the\c@HD@hypercount\endcsname\@empty - \else - \let\HD@next\relax - \fi - \fi - \HD@next -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\CodelineIndex} -% \begin{macrocode} -\g@addto@macro\CodelineIndex{% - \let\special@index\HD@codeline@wrindex -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\PageIndex} -% \begin{macrocode} -\g@addto@macro\PageIndex{% - \let\special@index\HD@page@wrindex -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HD@codeline@wrindex} -% \begin{macrocode} -\def\HD@codeline@wrindex#1{% - \begingroup - \let\HDorg@encapchar\encapchar - \def\encapchar##1\encapchar##2\@nil{% - \HDorg@encapchar - hdclindex{\the\c@HD@hypercount}{##1}% - }% - \codeline@wrindex{% - #1\encapchar\encapchar\@nil - }% - \endgroup -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HD@page@wrindex} -% \begin{macrocode} -\def\HD@page@wrindex#1{% - \begingroup - \let\HDorg@encapchar\encapchar - \def\encapchar##1\encapchar##2\@nil{% - \HDorg@encapchar - hdpindex{##1}% - }% - \HDorg@index{#1\encapchar\encapchar\@nil}% - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\hdclindex} -% \begin{macrocode} -\def\hdclindex#1#2#3{% - \csname\ifx\\#2\\relax\else#2\fi\endcsname{% - \hyperlink{HD.#1}{#3}% - \HD@savedest@add{#1}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\hdpindex} -% \begin{macrocode} -\def\hdpindex#1#2{% - \csname\ifx\\#1\\relax\else#1\fi\endcsname{% - \hyperpage{#2}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{PrintDescribeMacro}} -% -% \begin{macro}{\HDorg@PrintDescribeMacro} -% \begin{macrocode} -\let\HDorg@PrintDescribeMacro\PrintDescribeMacro -% \end{macrocode} -% \end{macro} -% \begin{macro}{\PrintDescribeMacro} -% \begin{macrocode} -\renewcommand\PrintDescribeMacro[1]{% - \begingroup - \let\HDorg@MacroFont\MacroFont - \def\MacroFont{% - \HD@target - \HDorg@MacroFont - }% - \HDorg@PrintDescribeMacro{#1}% - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{PrintMacroName}} -% -% \begin{macro}{\HDorg@PrintMacroName} -% \begin{macrocode} -\let\HDorg@PrintMacroName\PrintMacroName -% \end{macrocode} -% \end{macro} -% \begin{macro}{\PrintMacroName} -% \begin{macrocode} -\renewcommand\PrintMacroName[1]{% - \begingroup - \let\HDorg@MacroFont\MacroFont - \def\MacroFont{% - \HD@target - \HDorg@MacroFont - }% - \HDorg@PrintMacroName{#1}% - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{theCodelineNo}} -% -% \begin{macro}{\HDorg@theCodelineNo} -% \begin{macrocode} -\let\HDorg@theCodelineNo\theCodelineNo -% \end{macrocode} -% \end{macro} -% \begin{macro}{\theCodelineNo} -% \begin{macrocode} -\renewcommand*\theCodelineNo{% - \settowidth{\HD@helplength}{\HDorg@theCodelineNo\ }% - \ifdim\HD@helplength<\MacroIndent - \addtolength{\HD@helplength}{-\MacroIndent}% - \llap{% - \begingroup\HD@target\endgroup - \hspace*{-\HD@helplength}% - }% - \else - \HD@target - \fi - \HDorg@theCodelineNo -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HDorg@index} -% \begin{macrocode} -\AtBeginDocument{% - \let\HDorg@index\index -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{SpecialUsageIndex}} -% -% \begin{macro}{\HDorg@SpecialUsageIndex} -% \begin{macrocode} -\let\HDorg@SpecialUsageIndex\SpecialUsageIndex -\renewcommand*\SpecialUsageIndex[1]{% - \@bsphack - \begingroup - \HD@target - \let\index\HDorg@index - \let\HDorg@encapchar\encapchar - \edef\encapchar usage{% - \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% - }% - \HDorg@SpecialUsageIndex{#1}% - \endgroup - \@esphack -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{autoindex}} -% -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname autoindex\endcsname\relax -\else -% \end{macrocode} -% \begin{macro}{\HDorg@autoindex} -% \begin{macrocode} - \let\HDorg@autoindex\autoindex -% \end{macrocode} -% \end{macro} -% \begin{macro}{\autoindex} -% \begin{macrocode} - \renewcommand*\autoindex[1]{% - \@bsphack - \begingroup - \HD@target - \let\index\HDorg@index - \let\HDorg@encapchar\encapchar - \edef\encapchar usage{% - \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% - }% - \HDorg@autoindex{#1}% - \endgroup - \@esphack - }% -\fi -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{SpecialEnvIndex}} -% -% \begin{macro}{\HDorg@SpecialEnvIndex} -% \begin{macrocode} -\let\HDorg@SpecialEnvIndex\SpecialEnvIndex -% \end{macrocode} -% \end{macro} -% \begin{macro}{\SpecialEnvIndex} -% \begin{macrocode} -\renewcommand*\SpecialEnvIndex[1]{% - \@bsphack - \begingroup - \HD@target - \let\HDorg@encapchar\encapchar - \edef\encapchar usage{% - \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% - }% - \HDorg@SpecialEnvIndex{#1}% - \endgroup - \@esphack -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{SortIndex}} -% -% \begin{macro}{\HDorg@SortIndex} -% \begin{macrocode} -\let\HDorg@SortIndex\SortIndex -% \end{macrocode} -% \end{macro} -% \begin{macro}{\SortIndex} -% \begin{macrocode} -\renewcommand*{\SortIndex}[2]{% - \@bsphack - \begingroup - \let\index\HD@page@wrindex - \HDorg@SortIndex{#1}{#2}% - \endgroup - \@esphack -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{@wrglossary}} -% -% \begin{macro}{\HDorg@wrglossary} -% \begin{macrocode} -\let\HDorg@wrglossary\@wrglossary -% \end{macrocode} -% \end{macro} -% \begin{macro}{\@wrglossary} -% \begin{macrocode} -\def\@wrglossary#1{% - \let\HDorg@encapchar\encapchar - \def\encapchar##1\encapchar##2\@nil{% - \HDorg@encapchar - hdpindex{##1}% - }% - \HDorg@wrglossary{#1\encapchar\encapchar\@nil}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\cs{MacroIndent}} -% -% \cs{MacroIndent} automatically calculated. -% \begin{macrocode} -\AfterLastShipout{% - \if@filesw - \immediate\write\@auxout{% - \string\providecommand\string\HD@SetMacroIndent[1]{}% - }% - \immediate\write\@auxout{% - \string\HD@SetMacroIndent{\number\value{CodelineNo}}% - }% - \fi -} -% \end{macrocode} -% \begin{macro}{\HD@SetMacroIndent} -% \begin{macrocode} -\def\HD@SetMacroIndent#1{% - \begingroup - \value{CodelineNo}=#1\relax - \settowidth{\MacroIndent}{\HDorg@theCodelineNo\ }% - \global\MacroIndent\MacroIndent - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -%</package> -% \end{macrocode} -% -% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{hypdoc}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/hypdoc.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/hypdoc.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 hypdoc.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@{}} -% hypdoc.sty & tex/latex/oberdiek/hypdoc.sty\\ -% hypdoc.pdf & doc/latex/oberdiek/hypdoc.pdf\\ -% hypdoc.dtx & source/latex/oberdiek/hypdoc.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{hypdoc.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 hypdoc.dtx -%makeindex -s gind.ist hypdoc.idx -%pdflatex hypdoc.dtx -%makeindex -s gind.ist hypdoc.idx -%pdflatex hypdoc.dtx -%\end{verbatim} -% \end{quote} -% -% \begin{History} -% \begin{Version}{2002/05/10 v1.0} -% \item -% First standalone version. -% \end{Version} -% \begin{Version}{2006/02/20 v1.1} -% \item -% Option \xoption{numbered} added. -% \item -% \cs{HD@savedest@init} fixed (empty \xext{hd} file triggered -% first page with fl ligature). -% \item -% Bookmarks for \cs{listoffigures} and \cs{listoftables}. -% \item -% Documentation: features and usage added. -% \item -% LPPL 1.3. -% \end{Version} -% \begin{Version}{2006/04/27 v1.2} -% \item -% \cs{HD@target} fixed (\xfile{multicol.dtx}). -% \end{Version} -% \begin{Version}{2006/06/01 v1.3} -% \item -% Support for package \xpackage{amsdtx}'s \cs{autoindex} added. -% \end{Version} -% \begin{Version}{2006/06/02 v1.4} -% \item -% Bookmark fixed if there are several table of contents, -% bibliographies, glossaries, \dots -% \end{Version} -% \begin{Version}{2007/04/11 v1.5} -% \item -% Line ends sanitized. -% \end{Version} -% \begin{Version}{2007/11/12 v1.6} -% \item -% Bug fix in \cs{listoffigures} (Axel Sommerfeldt). -% \item -% Markup added in implementation section. -% \end{Version} -% \begin{Version}{2009/12/10 v1.7} -% \item -% Use of package \xpackage{rerunfilecheck}. -% \end{Version} -% \begin{Version}{2010/02/03 v1.8} -% \item -% Fix for bug latex/4096 added. -% \end{Version} -% \begin{Version}{2010/03/26 v1.9} -% \item -% Definition of \cs{HD@SetMacroIndex} is provided in the \xext{aux} file. -% \end{Version} -% \begin{Version}{2011/05/05 v1.10} -% \item -% \cs{raisebox} in \cs{HD@target} with height and depth of \texttt{0pt} -% (request of GL). -% \end{Version} -% \begin{Version}{2011/08/19 v1.11} -% \item -% Latest comma in option list for hyperref removed to avoid option clash -% because of \hologo{LaTeX} 2011/06/27 with the new \cs{in@}. -% \end{Version} -% \begin{Version}{2016/05/16 v1.12} -% \item -% Documentation updates. -% \end{Version} -% \begin{Version}{2016/10/02 v1.13} -% \item -% Fixes to bookmarknames, also introduce \cs{changehistoryname} -% \end{Version} -% \begin{Version}{2018/09/07 v1.14} -% \item -% Do not load \xpackage{thumpdf}. -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins index 8914f4a7e5f..81ee3c264b3 100644 --- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins +++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins @@ -41,7 +41,6 @@ \batchinput{holtxdoc.dtx} \batchinput{hypbmsec.dtx} \batchinput{hypcap.dtx} -\batchinput{hypdoc.dtx} \batchinput{hypgotoe.dtx} \batchinput{hyphsubst.dtx} \batchinput{ifdraft.dtx} diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex index 9b7cb6857f6..83bbce0abac 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}{2020/09/02} +\newcommand*{\Date}{2021/11/15} % Copyright (C) 2006-2016 by % Heiko Oberdiek @@ -204,8 +204,6 @@ [\entrysep] \entry{hypcap}{Adjusting the anchors of captions}% [\entrysep] -\entry{hypdoc}{Hyper extensions for doc.sty}% -[\entrysep] \entry{hypgotoe}{Links to embedded files}% [\entrysep] \entry{hyphsubst}{Substitute hyphenation patterns}% @@ -414,17 +412,6 @@ the rest in the \cs{caption} command. \tocinclude{hypcap} \newpage -\subsection{\pkgsectformat{hypdoc}} -\label{hypdoc} -\begin{abstract} -This package adds hyper features to the package -\xpackage{doc} that is used in the documentation -system of \LaTeXe. Bookmarks are added and references -are linked as far as possible. -\end{abstract} -\tocinclude{hypdoc} - -\newpage \subsection{\pkgsectformat{hypgotoe}} \label{hypgotoe} \begin{abstract} diff --git a/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty deleted file mode 100644 index 578b92cce3b..00000000000 --- a/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty +++ /dev/null @@ -1,486 +0,0 @@ -%% -%% This is file `hypdoc.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% hypdoc.dtx (with options: `package') -%% -%% This is a generated file. -%% -%% Project: hypdoc -%% Version: 2018/09/07 v1.14 -%% -%% Copyright (C) -%% 2002, 2006, 2007, 2009-2011 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 hypdoc.dtx -%% and the derived files -%% hypdoc.sty, hypdoc.pdf, hypdoc.ins, hypdoc.drv. -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{hypdoc}% - [2018/09/07 v1.14 Hyper extensions for doc.sty (HO)]% -\newif\ifHD@numbered -\DeclareOption{numbered}{\HD@numberedtrue} -\ProcessOptions*\relax -\RequirePackage{atveryend}[2010/03/24] -\RequirePackage{doc} -\ifx\numexpr\@undefined - \RequirePackage{calc}% -\fi -\RequirePackage[% - hyperindex=false,% - pdfusetitle,% - colorlinks,% - pdfpagelabels% -]{hyperref}[2002/05/09]% -\hypersetup{% - plainpages=false,% - bookmarksopen,% - bookmarksnumbered,% - bookmarksopenlevel=0,% - pdfstartview={FitBH \hypercalcbp{% - \paperheight-\topmargin-1in-\headheight-\headsep - }},% -} -\newcounter{HD@unique} -\renewcommand{\theHD@unique}{% - \number\value{HD@unique}% -} -\g@addto@macro\Hy@UseMaketitleInfos{% - \@ifundefined{fileinfo}{}{% - \ifx\@pdfsubject\@empty - \hypersetup{pdfsubject={\fileinfo}}% - \fi - }% -} -\pdfstringdefDisableCommands{% - \let\thanks\@gobble - \let\footnote\@gobble - \def\cs#1{\textbackslash #1}% - \let\normalfont\@empty - \let\scshape\@empty - \def\and{and }% -} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname mod@math@codes\endcsname\relax -\else - \def\HD@ModFix#1{% - \mathcode`#1=`#1\relax - }% - \g@addto@macro\mod@math@codes{% - \HD@ModFix\-% - \HD@ModFix\+% - \HD@ModFix\:% - \HD@ModFix\=% - \HD@ModFix\*% - }% -\fi -\def\HD@sectionpatch{% - \ifHD@numbered - \HD@@sectionpatch{section}% - \HD@@sectionpatch{chapter}% - \else - \let\Hy@writebookmark\HD@disable@writebookmark - \fi -} -\def\HD@@sectionpatch#1{% - \expandafter\let\csname HDorg@@#1\expandafter\endcsname - \csname #1\endcsname - \@namedef{#1}{% - \@ifstar{\@nameuse{HDorg@@#1}}{\@nameuse{HDorg@@#1}}% - }% -} -\def\HD@disable@writebookmark#1#2#3#4#5{} -\def\HD@guesstoclevel#1{% - \expandafter\HD@@guesstoclevel#1\section\HD@end -} -\def\HD@@guesstoclevel#1#2\HD@end{% - \@ifundefined{toclevel@\expandafter\@gobble\string#1\@empty}{% - 1% - }{% - \@nameuse{toclevel@\expandafter\@gobble\string#1\@empty}% - }% -} -\let\HDorg@tableofcontents\tableofcontents -\def\tableofcontents{% - \begingroup - \@ifundefined{c@section}{% - \def\c@section{0}% - }{}% - \expandafter\endgroup - \ifcase\c@section - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@tableofcontents}]% - {\contentsname}{toc\theHD@unique}% - \HDorg@tableofcontents - \else - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@tableofcontents}]% - {\contentsname}{toc\theHD@unique}% - \fi - \begingroup - \HD@sectionpatch - \HDorg@tableofcontents - \endgroup - \fi -} -\let\HDorg@listoffigures\listoffigures -\def\listoffigures{% - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@listoffigures}]% - {\listfigurename}{toc\theHD@unique}% - \fi - \begingroup - \HD@sectionpatch - \HDorg@listoffigures - \endgroup -} -\let\HDorg@listoftables\listoftables -\def\listoftables{% - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@listoftables}]% - {\listtablename}{toc\theHD@unique}% - \fi - \begingroup - \HD@sectionpatch - \HDorg@listoftables - \endgroup -} -\let\HDorg@thebibliography\thebibliography -\def\thebibliography{% - \ifHD@numbered - \else - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@thebibliography}]% - {\@ifundefined{chapter}{\refname}{\bibname}}{bib\theHD@unique}% - \fi - \HD@sectionpatch - \HDorg@thebibliography -} -\let\HDorg@theindex\theindex -\def\theindex{% - \let\HDorg@index@prologue\index@prologue - \let\HDorg@writebookmark\Hy@writebookmark - \HD@sectionpatch - \g@addto@macro\IndexParms{% - \ifHD@numbered - \else - \let\Hy@writebookmark\HDorg@writebookmark - \fi - \let\bfseries\HD@bfseries - }% - \edef\HD@toclevel@index{\HD@guesstoclevel{\index@prologue}}% - \begingroup - \count@=\HD@toclevel@index\relax - \advance\count@ by 1 % - \xdef\HD@toclevel@subindex{\the\count@}% - \endgroup - \def\index@prologue{% - \ifHD@numbered - \else - \begingroup - \stepcounter{HD@unique}% - \let\Hy@writebookmark\HDorg@writebookmark - \pdfbookmark[\HD@toclevel@index]% - {\indexname}{index\theHD@unique}% - \endgroup - \fi - \HDorg@index@prologue - }% - \HDorg@theindex -} -\let\HDorg@bfseries\bfseries -\def\HD@bfseries{\futurelet\HD@hfil\HD@@bfseries}% -\def\HD@@bfseries{% - \HDorg@bfseries - \ifx\HD@hfil\hfil - \expandafter\HD@@@bfseries - \fi -} -\def\HD@@@bfseries\hfil#1\hfil{% - \ifx\\#1\\% - \else - \raisebox{\baselineskip}[0pt]{% - \kern-\HD@margin\relax - \pdfbookmark[\HD@toclevel@subindex]{#1}{HD.#1}% - \kern\HD@margin\relax - }% - \fi - \hfil#1\hfil -}% -\def\HD@margin{1mm} -\let\HDorg@theglossary\theglossary -\def\theglossary{% - \let\HDorg@glossary@prologue\glossary@prologue - \let\HDorg@writebookmark\Hy@writebookmark - \HD@sectionpatch - \def\glossary@prologue{% - \ifHD@numbered - \else - \begingroup - \let\Hy@writebookmark\HDorg@writebookmark - \stepcounter{HD@unique}% - \pdfbookmark[\HD@guesstoclevel{\HDorg@glossary@prologue}]% - {\changehistoryname}{glossary\theHD@unique}% - \endgroup - \fi - \HDorg@glossary@prologue - }% - \HDorg@theglossary -} -\providecommand*{\glossaryname}{Change History} -\providecommand*{\changehistoryname}{\glossaryname} -\newcounter{HD@hypercount} -\newlength{\HD@helplength} -\newif\ifHD@savedest -\HD@savedesttrue -\AtBeginDocument{% - \HD@savedest@init -} -\RequirePackage{rerunfilecheck}[2009/12/10] -\begingroup - \catcode`\^^M=\active -\@firstofone{\endgroup - \def\HD@savedest@init{% - \ifHD@savedest - \let\HDorg@tilde~% - \let~\HD@savedest@entry - \edef\HDorg@catcodeM{\the\catcode`\^^M}% - \catcode`\^^M=\active - \def^^M{}% - \InputIfFileExists{\jobname.hd}{}{}% - \let~\HDorg@tilde - \catcode`\^^M=\HDorg@catcodeM\relax - \newwrite\HD@savedest@out - \RerunFileCheck{\jobname.hd}{% - \immediate\closeout\HD@savedest@out - }{}% - \immediate\openout\HD@savedest@out=\jobname.hd\relax - \else - \let\HD@savedest@add\@gobble - \fi - }% - \def\HD@savedest@entry#1^^M{% - \@namedef{HD.#1}{}% - }% -} -\def\HD@savedest@add#1{% - \immediate\write\HD@savedest@out{\string~#1}% -} -\newif\ifHD@targetraise -\HD@targetraisetrue -\def\HD@target{% - \ifHD@targetraise - \ifhmode - \settoheight{\HD@helplength}{[H]}% - \addtolength{\HD@helplength}{0.4ex}% - \raisebox{\HD@helplength}[0pt][0pt]{% - \HD@maketarget - }% - \else - \HD@maketarget - \fi - \else - \HD@maketarget - \fi -} -\def\HD@maketarget{% - \stepcounter{HD@hypercount}% - \def\HD@next{% - \llap{\hypertarget{HD.\the\c@HD@hypercount}{}\,}% - }% - \ifHD@savedest - \expandafter\ifx\csname HD.\the\c@HD@hypercount\endcsname\@empty - \else - \let\HD@next\relax - \fi - \fi - \HD@next -} -\g@addto@macro\CodelineIndex{% - \let\special@index\HD@codeline@wrindex -} -\g@addto@macro\PageIndex{% - \let\special@index\HD@page@wrindex -} -\def\HD@codeline@wrindex#1{% - \begingroup - \let\HDorg@encapchar\encapchar - \def\encapchar##1\encapchar##2\@nil{% - \HDorg@encapchar - hdclindex{\the\c@HD@hypercount}{##1}% - }% - \codeline@wrindex{% - #1\encapchar\encapchar\@nil - }% - \endgroup -} -\def\HD@page@wrindex#1{% - \begingroup - \let\HDorg@encapchar\encapchar - \def\encapchar##1\encapchar##2\@nil{% - \HDorg@encapchar - hdpindex{##1}% - }% - \HDorg@index{#1\encapchar\encapchar\@nil}% - \endgroup -} -\def\hdclindex#1#2#3{% - \csname\ifx\\#2\\relax\else#2\fi\endcsname{% - \hyperlink{HD.#1}{#3}% - \HD@savedest@add{#1}% - }% -} -\def\hdpindex#1#2{% - \csname\ifx\\#1\\relax\else#1\fi\endcsname{% - \hyperpage{#2}% - }% -} -\let\HDorg@PrintDescribeMacro\PrintDescribeMacro -\renewcommand\PrintDescribeMacro[1]{% - \begingroup - \let\HDorg@MacroFont\MacroFont - \def\MacroFont{% - \HD@target - \HDorg@MacroFont - }% - \HDorg@PrintDescribeMacro{#1}% - \endgroup -} -\let\HDorg@PrintMacroName\PrintMacroName -\renewcommand\PrintMacroName[1]{% - \begingroup - \let\HDorg@MacroFont\MacroFont - \def\MacroFont{% - \HD@target - \HDorg@MacroFont - }% - \HDorg@PrintMacroName{#1}% - \endgroup -} -\let\HDorg@theCodelineNo\theCodelineNo -\renewcommand*\theCodelineNo{% - \settowidth{\HD@helplength}{\HDorg@theCodelineNo\ }% - \ifdim\HD@helplength<\MacroIndent - \addtolength{\HD@helplength}{-\MacroIndent}% - \llap{% - \begingroup\HD@target\endgroup - \hspace*{-\HD@helplength}% - }% - \else - \HD@target - \fi - \HDorg@theCodelineNo -} -\AtBeginDocument{% - \let\HDorg@index\index -} -\let\HDorg@SpecialUsageIndex\SpecialUsageIndex -\renewcommand*\SpecialUsageIndex[1]{% - \@bsphack - \begingroup - \HD@target - \let\index\HDorg@index - \let\HDorg@encapchar\encapchar - \edef\encapchar usage{% - \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% - }% - \HDorg@SpecialUsageIndex{#1}% - \endgroup - \@esphack -} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname autoindex\endcsname\relax -\else - \let\HDorg@autoindex\autoindex - \renewcommand*\autoindex[1]{% - \@bsphack - \begingroup - \HD@target - \let\index\HDorg@index - \let\HDorg@encapchar\encapchar - \edef\encapchar usage{% - \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% - }% - \HDorg@autoindex{#1}% - \endgroup - \@esphack - }% -\fi -\let\HDorg@SpecialEnvIndex\SpecialEnvIndex -\renewcommand*\SpecialEnvIndex[1]{% - \@bsphack - \begingroup - \HD@target - \let\HDorg@encapchar\encapchar - \edef\encapchar usage{% - \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}% - }% - \HDorg@SpecialEnvIndex{#1}% - \endgroup - \@esphack -} -\let\HDorg@SortIndex\SortIndex -\renewcommand*{\SortIndex}[2]{% - \@bsphack - \begingroup - \let\index\HD@page@wrindex - \HDorg@SortIndex{#1}{#2}% - \endgroup - \@esphack -} -\let\HDorg@wrglossary\@wrglossary -\def\@wrglossary#1{% - \let\HDorg@encapchar\encapchar - \def\encapchar##1\encapchar##2\@nil{% - \HDorg@encapchar - hdpindex{##1}% - }% - \HDorg@wrglossary{#1\encapchar\encapchar\@nil}% -} -\AfterLastShipout{% - \if@filesw - \immediate\write\@auxout{% - \string\providecommand\string\HD@SetMacroIndent[1]{}% - }% - \immediate\write\@auxout{% - \string\HD@SetMacroIndent{\number\value{CodelineNo}}% - }% - \fi -} -\def\HD@SetMacroIndent#1{% - \begingroup - \value{CodelineNo}=#1\relax - \settowidth{\MacroIndent}{\HDorg@theCodelineNo\ }% - \global\MacroIndent\MacroIndent - \endgroup -} -\endinput -%% -%% End of file `hypdoc.sty'. |