summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty
index 4b58542c916..679b6b82f08 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty
@@ -31,10 +31,11 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypdoc}%
- [2010/02/03 v1.8 Hyper extensions for doc.sty (HO)]%
+ [2010/03/26 v1.9 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}%
@@ -456,10 +457,13 @@
}%
\HDorg@wrglossary{#1\encapchar\encapchar\@nil}%
}
-\AtEndDocument{%
+\AfterLastShipout{%
\if@filesw
\immediate\write\@auxout{%
- \noexpand\HD@SetMacroIndent{\number\value{CodelineNo}}%
+ \string\providecommand\string\HD@SetMacroIndent[1]{}%
+ }%
+ \immediate\write\@auxout{%
+ \string\HD@SetMacroIndent{\number\value{CodelineNo}}%
}%
\fi
}