diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-23 22:16:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-23 22:16:55 +0000 |
commit | 1ea90739d1ab4cbc99996063321d8d94f05a7ab9 (patch) | |
tree | 32ef868faa4105a380184105a771b0dfbd6265ec /Master/texmf-dist/tex | |
parent | 2f29eaac5f1a5540c3e514e0f6b828ec29d56caa (diff) |
autonum (21apr13)
git-svn-id: svn://tug.org/texlive/trunk@30081 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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> %% |