summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/acronym
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-30 13:22:46 +0000
committerKarl Berry <karl@freefriends.org>2006-06-30 13:22:46 +0000
commitd46ac73ec654e20a07f8b8c5e12ad0cf58484a7f (patch)
tree76c24378d7ef5f59273bfa921d640a20ccd53e0d /Master/texmf-dist/source/latex/acronym
parenta7bdc979e8516458e2e6bd463a3ae86e9360072f (diff)
acronym 1.26 update
git-svn-id: svn://tug.org/texlive/trunk@1733 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/acronym')
-rw-r--r--Master/texmf-dist/source/latex/acronym/acronym.dtx45
1 files changed, 40 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/acronym/acronym.dtx b/Master/texmf-dist/source/latex/acronym/acronym.dtx
index 0616dcaabdb..40dfc51b878 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{642}
+% \CheckSum{725}
%
%% \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,9 +83,11 @@
% \DoNotIndex{\usepackage}
%
%
+% \changes{v1.26}{2006/06/26}{Don't put out an empty item if nolist is in effect by Immo.Koester@rwth-aachen.de}
+% \changes{v1.25}{2005/11/11}{Properly handle acronym commands in PDF Bookmarks by Heiko Oberdiek oberdiek@uni-freiburg.de}
% \changes{v1.24}{2005/10/25}{Now the acronyms commands and fixed a bug in the option nolist, by Jose Emilio Vila Forcen, jemilio@ieee.org}
% \changes{v1.23}{2005/10/24}{Fix fpr nolist option by Tobi}
-% \changes{v1.22}{2005/10/04}{added starred versions of ac(p), acf(p), acs(p), acl(p), acfi, acsu & aclu by Stefan Pinnow (Mo-Gul@gmx.net)}
+% \changes{v1.22}{2005/10/04}{added starred versions of ac(p), acf(p), acs(p), acl(p), acfi, acsu \& aclu by Stefan Pinnow (Mo-Gul@gmx.net)}
% \changes{v1.21}{2005/09/20}{fixed acused again by Tobi. added option nolist, by Jose Emilio Vila Forcen, jemilio@ieee.org}
% \changes{v1.20}{2005/08/16}{make acused actually work. by Richard.Walker with cs.anu.edu.au}
% \changes{v1.19}{2005/04/26}{three new commands acused (set-used), acsu (adds to used), aclu (adds to used) by Lee Netherton ltn100@ohm.york.ac.uk}
@@ -470,8 +472,8 @@ between the constant of Boltzmann and the \acl{NA}:
% First we test that we got the right format and name the package.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{acronym}[2005/10/04
- v1.22
+\ProvidesPackage{acronym}[2006/06/26
+ v1.26
Support for acronyms (Tobias Oetiker)]
\RequirePackage{suffix}
% \end{macrocode}
@@ -626,6 +628,36 @@ between the constant of Boltzmann and the \acl{NA}:
\AtBeginDocument{%
\providecommand\texorpdfstring[2]{#1}%
\providecommand\pdfstringdefDisableCommands[1]{}%
+ \pdfstringdefDisableCommands{%
+ \csname AC@starredfalse\endcsname
+ \csname AC@footnotefalse\endcsname
+ \let\AC@hyperlink\@secondoftwo
+ \let\acsfont\relax
+ \let\acffont\relax
+ \let\acfsfont\relax
+ \let\acused\relax
+ \let\null\relax
+ \def\AChy@call#1#2{%
+ \ifx*#1\@empty
+ \expandafter #2%
+ \else
+ #2{#1}%
+ \fi
+ }%
+ \def\acs#1{\AChy@call{#1}\AC@acs}%
+ \def\acl#1{\AChy@call{#1}\@acl}%
+ \def\acf#1{\AChy@call{#1}\AChy@acf}%
+ \def\ac#1{\AChy@call{#1}\@ac}%
+ \def\acsp#1{\AChy@call{#1}\@acsp}%
+ \def\aclp#1{\AChy@call{#1}\@aclp}%
+ \def\acfp#1{\AChy@call{#1}\AChy@acfp}%
+ \def\acp#1{\AChy@call{#1}\@acp}%
+ \def\acfi#1{\AChy@call{#1}\AChy@acf}%
+ \let\acsu\acs
+ \let\aclu\acl
+ \def\AChy@acf#1{\AC@acl{#1} (\AC@acs{#1})}%
+ \def\AChy@acfp#1{\AC@acl{#1}s (\AC@acs{#1}s)}%
+ }%
}
% \end{macrocode}
%
@@ -844,7 +876,10 @@ between the constant of Boltzmann and the \acl{NA}:
}%
{%
\ifx\AC@populated\AC@used\else%
- \item[]\relax%
+ \ifAC@nolist%
+ \else%
+ \item[]\relax%
+ \fi%
\fi%
\expandafter\ifx\csname ac@des@mark\endcsname\AC@used%
\ifAC@nolist%