summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-04 23:01:39 +0000
committerKarl Berry <karl@freefriends.org>2012-09-04 23:01:39 +0000
commita3298cd2a9d5a805dea61e95b0077e73470ab270 (patch)
tree838d0869179ee69ba0ceaa89fa2c23cfdd163f29
parent93209ece09abd2774012c1baa8da93366d0a9e41 (diff)
autonum (4sep12)
git-svn-id: svn://tug.org/texlive/trunk@27592 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/autonum/autonum.pdfbin269036 -> 268974 bytes
-rw-r--r--Master/texmf-dist/doc/latex/autonum/test-autonum.pdfbin71725 -> 72140 bytes
-rw-r--r--Master/texmf-dist/source/latex/autonum/autonum.dtx13
-rw-r--r--Master/texmf-dist/source/latex/autonum/autonum.ins2
-rw-r--r--Master/texmf-dist/tex/latex/autonum/autonum.sty4
5 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/autonum/autonum.pdf b/Master/texmf-dist/doc/latex/autonum/autonum.pdf
index 5e49c7761d1..d55c0bf5a61 100644
--- a/Master/texmf-dist/doc/latex/autonum/autonum.pdf
+++ b/Master/texmf-dist/doc/latex/autonum/autonum.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/autonum/test-autonum.pdf b/Master/texmf-dist/doc/latex/autonum/test-autonum.pdf
index de88fc52c34..213b1a0e80c 100644
--- a/Master/texmf-dist/doc/latex/autonum/test-autonum.pdf
+++ b/Master/texmf-dist/doc/latex/autonum/test-autonum.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/autonum/autonum.dtx b/Master/texmf-dist/source/latex/autonum/autonum.dtx
index 4f5bbb54de2..3474232cd0a 100644
--- a/Master/texmf-dist/source/latex/autonum/autonum.dtx
+++ b/Master/texmf-dist/source/latex/autonum/autonum.dtx
@@ -86,7 +86,7 @@ and the derived files autonum.ins,
%</internal>
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{autonum}[2012/08/25 v0.3.1 autonum LaTeX package]
+\ProvidesPackage{autonum}[2012/09/03 v0.3.2 autonum LaTeX package]
\PassOptionsToPackage{hypertexnames=false}{hyperref}
\RequirePackage{etoolbox}
\RequirePackage{amsmath}
@@ -129,6 +129,7 @@ and the derived files autonum.ins,
%\changes{v0.2}{2012/06/21}{Support multi-line environments. Redefine \cmd{\[} to use the new \cmd{\equation}.}
%\changes{v0.3}{2012/08/16}{Support alignat and flalign environments. Fix handling of special characters in label names. Fix handling of multiple label names in \cmd{\cref} command.}
%\changes{v0.3.1}{2012/08/25}{Fix of leading whitespace in references. Fix of underfull hbox.}
+%\changes{v0.3.2}{2012/09/03}{Fix using reference inside caption.}
%
% \section{Introduction}
% With \LaTeX, the user has to decide manually to not number an equation by adding a star in the math environment. Authors who do not want to think about the numbering during the writing (and maybe they should not), often use the environments without stars. As default, these users get all equations numbered, although there are \href{http://tex.stackexchange.com/q/29267/7323}{different opinions} about what should be numbered.
@@ -272,6 +273,14 @@ and the derived files autonum.ins,
% \item found the reason of spurious whitespaces what lead to their removal
% \item found an underfull hbox error what lead to its removal
% \end{itemize}
+% \item Carsten Grimm
+% \begin{itemize}
+% \item found a bug when using \cmd{\ref} inside the \cmd{\caption} command which lead to its fix
+% \end{itemize}
+% \item Ulrike Fischer
+% \begin{itemize}
+% \item found that a \cmd{\protect} is missing to use \cmd{\ref} inside a \cmd{\caption}, which lead to its addition.
+% \end{itemize}
% \end{itemize}
%
%
@@ -606,7 +615,7 @@ and the derived files autonum.ins,
\def\autonum@generatePatchedReferenceGeneral#1#2{%
\csletcs{autonum@reference#1Old}{#1}%
\csdef{#1}##1{%
- \csuse{#2}{\autonum@markLabelAsReferenced}{##1}%
+ \csuse{#2}{\protect\autonum@markLabelAsReferenced}{##1}%
% \end{macrocode}
% Call the old reference command.
% \begin{macrocode}
diff --git a/Master/texmf-dist/source/latex/autonum/autonum.ins b/Master/texmf-dist/source/latex/autonum/autonum.ins
index 8d5fe6d3839..a3f10221438 100644
--- a/Master/texmf-dist/source/latex/autonum/autonum.ins
+++ b/Master/texmf-dist/source/latex/autonum/autonum.ins
@@ -217,7 +217,7 @@ and the derived files autonum.ins,
\def\autonum@generatePatchedReferenceGeneral#1#2{%
\csletcs{autonum@reference#1Old}{#1}%
\csdef{#1}##1{%
-\csuse{#2}{\autonum@markLabelAsReferenced}{##1}%
+\csuse{#2}{\protect\autonum@markLabelAsReferenced}{##1}%
\csuse{autonum@reference#1Old}{##1}%
}%
}
diff --git a/Master/texmf-dist/tex/latex/autonum/autonum.sty b/Master/texmf-dist/tex/latex/autonum/autonum.sty
index a3867ef19e9..d8ef67c4a4e 100644
--- a/Master/texmf-dist/tex/latex/autonum/autonum.sty
+++ b/Master/texmf-dist/tex/latex/autonum/autonum.sty
@@ -13,7 +13,7 @@
%% ----------------------------------------------------------------
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{autonum}[2012/08/25 v0.3.1 autonum LaTeX package]
+\ProvidesPackage{autonum}[2012/09/03 v0.3.2 autonum LaTeX package]
\PassOptionsToPackage{hypertexnames=false}{hyperref}
\RequirePackage{etoolbox}
\RequirePackage{amsmath}
@@ -186,7 +186,7 @@
\def\autonum@generatePatchedReferenceGeneral#1#2{%
\csletcs{autonum@reference#1Old}{#1}%
\csdef{#1}##1{%
-\csuse{#2}{\autonum@markLabelAsReferenced}{##1}%
+\csuse{#2}{\protect\autonum@markLabelAsReferenced}{##1}%
\csuse{autonum@reference#1Old}{##1}%
}%
}