summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acronym
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-04 23:01:15 +0000
committerKarl Berry <karl@freefriends.org>2012-09-04 23:01:15 +0000
commit101167d50ee8e9a890754c2a377103228357d7c8 (patch)
tree8fe30455f22beb0da3b7767834edfda29b1e558d /Master/texmf-dist/source/latex/acronym
parent7227e9dd64d02b233176275f543e92ebc7237c7f (diff)
acronym (4sep12)
git-svn-id: svn://tug.org/texlive/trunk@27590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acronym')
-rw-r--r--Master/texmf-dist/source/latex/acronym/acronym.dtx27
1 files changed, 15 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/acronym/acronym.dtx b/Master/texmf-dist/source/latex/acronym/acronym.dtx
index 73d4c0a61ce..2e5f76c30e1 100644
--- a/Master/texmf-dist/source/latex/acronym/acronym.dtx
+++ b/Master/texmf-dist/source/latex/acronym/acronym.dtx
@@ -35,7 +35,7 @@
%</driver>
% \fi
%
-% \CheckSum{954}
+% \CheckSum{965}
%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -83,6 +83,7 @@
% \DoNotIndex{\usepackage}
%
%
+% \changes{v1.37}{2012/09/04}{Martin Falk - ac* should NOT set the used flag ... now it does not. Martin Ruessler found fix for non hyphenation in the first word of the long form of the acronym}
% \changes{v1.36}{2010/09/08}{Uwe Bieling disable hyperlinks in nolist mode, prevent hyphenation of short form of acronyms}
% \changes{v1.35}{2009/10/20}{Sergio Callegari added support for nonstandard plural forms and fixed management of default short form.}
% \changes{v1.34}{2009/01/25}{make sure that the s of acp get smaller as well when the smaller option is active}
@@ -420,19 +421,19 @@
%
% To deal with all these different situations, the package (since
% version 1.35) has been enriched with the following three commands
+% \DescribeMacro{\acroplural}
% \DescribeMacro{\newacroplural}
% \DescribeMacro{\acrodefplural}
-% \DescribeMacro{\acroplural}
% \begin{quote}
+% |\acroplural{|\meta{acronym}|}[|\meta{short plural}|]{|%
+% \meta{long plural}|}|\\
% |\newacroplural{|\meta{acronym}|}[|\meta{short plural}|]{|%
% \meta{long plural}|}|\\
% |\acrodefplural{|\meta{acronym}|}[|\meta{short plural}|]{|%
% \meta{long plural}|}|\\
-% |\acroplural{|\meta{acronym}|}[|\meta{short plural}|]{|%
-% \meta{long plural}|}|\\
% \end{quote}
-% \noindent that allow one to define plural exceptions. The first
-% one is meant to be used in the |acronym| environment. The
+% \noindent that allow one to define plural exceptions. The \cmd{\acroplural}
+% command is meant to be used in the |acronym| environment. The
% difference among the latter two is that \cmd{\acrodefplural} puts
% the acronym definition in the |.aux| file, so that the acronym
% exception is available at the next run from start-up. When the
@@ -574,8 +575,8 @@ blocks to be tested separately. The latter are commonly indicated as
% First we test that we got the right format and name the package.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{acronym}[2010/09/08
- v1.36
+\ProvidesPackage{acronym}[2012/09/04
+ v1.37
Support for acronyms (Tobias Oetiker)]
\RequirePackage{suffix}
% \end{macrocode}
@@ -1329,7 +1330,9 @@ blocks to be tested separately. The latter are commonly indicated as
\expandafter\ifx\csname ac@#1\endcsname\AC@used
\else
{\AC@phantomsection\@verridelabel{acro:#1}}%
+ \ifAC@starred\else%
\global\expandafter\let\csname ac@#1\endcsname\AC@used
+ \fi%
\AC@addtoAC@clearlist{#1}%
\fi
}%
@@ -1362,10 +1365,10 @@ blocks to be tested separately. The latter are commonly indicated as
\newcommand*{\@acf}[1]{%
\ifAC@footnote
\acsfont{\AC@acs{#1}}%
- \footnote{\AC@placelabel{#1}\AC@acl{#1}{}}%
+ \footnote{\AC@placelabel{#1}\hskip\z@\AC@acl{#1}{}}%
\else
\acffont{%
- \AC@placelabel{#1}\AC@acl{#1}%
+ \AC@placelabel{#1}\hskip\z@\AC@acl{#1}%
\nolinebreak[3] %
\acfsfont{(\acsfont{\AC@acs{#1}})}%
}%
@@ -1463,10 +1466,10 @@ blocks to be tested separately. The latter are commonly indicated as
\newcommand*{\@acfp}[1]{%
\ifAC@footnote
\acsfont{\AC@acsp{#1}}%
- \footnote{\AC@placelabel{#1}\AC@aclp{#1}{}}%
+ \footnote{\AC@placelabel{#1}\hskip\z@\AC@aclp{#1}{}}%
\else
\acffont{%
- \AC@placelabel{#1}\AC@aclp{#1}%
+ \AC@placelabel{#1}\hskip\z@\AC@aclp{#1}%
\nolinebreak[3] %
\acfsfont{(\acsfont{\AC@acsp{#1}})}%
}%