diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/autonum/autonum.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/autonum/autonum.sty | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/autonum/autonum.sty b/Master/texmf-dist/tex/latex/autonum/autonum.sty index d8ef67c4a4e..49a9552d548 100644 --- a/Master/texmf-dist/tex/latex/autonum/autonum.sty +++ b/Master/texmf-dist/tex/latex/autonum/autonum.sty @@ -13,12 +13,11 @@ %% ---------------------------------------------------------------- %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{autonum}[2012/09/03 v0.3.2 autonum LaTeX package] +\ProvidesPackage{autonum}[2013/04/20 v0.3.3 autonum LaTeX package] \PassOptionsToPackage{hypertexnames=false}{hyperref} \RequirePackage{etoolbox} \RequirePackage{amsmath} \RequirePackage[absolute]{textpos} - \def\csxdefaux#1#2{% \protected@write\@mainaux{}{% \csxdef{\detokenize{#1}}{#2}% @@ -185,10 +184,19 @@ \def\autonum@generatePatchedReferenceGeneral#1#2{% \csletcs{autonum@reference#1Old}{#1}% +\ifdef{\texorpdfstring}{% \csdef{#1}##1{% +\texorpdfstring{% \csuse{#2}{\protect\autonum@markLabelAsReferenced}{##1}% +}{}% \csuse{autonum@reference#1Old}{##1}% }% +}{% +\csdef{#1}##1{% +\csuse{#2}{\protect\autonum@markLabelAsReferenced}{##1}% +\csuse{autonum@reference#1Old}{##1}% +}% +}% } \def\autonum@markLabelAsReferenced#1{% @@ -259,7 +267,6 @@ \global\csundef{autonum@old#2Parenthesis}% }{}% } - %% %% Copyright (C) 2012 by Patrick Häcker <pat_h@web.de> %% |