summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/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/tex/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/tex/latex/acronym')
-rw-r--r--Master/texmf-dist/tex/latex/acronym/acronym.sty39
1 files changed, 36 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/acronym/acronym.sty b/Master/texmf-dist/tex/latex/acronym/acronym.sty
index b69eaf4e2eb..bbede03632e 100644
--- a/Master/texmf-dist/tex/latex/acronym/acronym.sty
+++ b/Master/texmf-dist/tex/latex/acronym/acronym.sty
@@ -40,8 +40,8 @@
%%
\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}
\newif\ifAC@footnote
@@ -85,6 +85,36 @@
\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)}%
+ }%
}
\newtoks\clearlist
\newcommand*\AC@addtoclearlist[1]{%
@@ -157,7 +187,10 @@
}%
{%
\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%