From abdeda1e2792cbb1305e6f8481154c4e2dfc4ae9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Dec 2008 22:43:49 +0000 Subject: acronym 1.33 (19dec08 git-svn-id: svn://tug.org/texlive/trunk@11675 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/acronym/acronym.pdf | Bin 152531 -> 151937 bytes Master/texmf-dist/source/latex/acronym/acronym.dtx | 10 +- Master/texmf-dist/source/latex/acronym/acronym.ins | 162 ++++++++++----------- Master/texmf-dist/tex/latex/acronym/acronym.sty | 7 +- 4 files changed, 91 insertions(+), 88 deletions(-) diff --git a/Master/texmf-dist/doc/latex/acronym/acronym.pdf b/Master/texmf-dist/doc/latex/acronym/acronym.pdf index f318adb29e4..1361ea709f4 100644 Binary files a/Master/texmf-dist/doc/latex/acronym/acronym.pdf and b/Master/texmf-dist/doc/latex/acronym/acronym.pdf differ diff --git a/Master/texmf-dist/source/latex/acronym/acronym.dtx b/Master/texmf-dist/source/latex/acronym/acronym.dtx index ad318050b7b..cd16916b44d 100644 --- a/Master/texmf-dist/source/latex/acronym/acronym.dtx +++ b/Master/texmf-dist/source/latex/acronym/acronym.dtx @@ -35,7 +35,7 @@ % % \fi % -% \CheckSum{859} +% \CheckSum{865} % %% \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.33}{2008/12/19}{enrico.gregorio provided a patch for makeing non-description acronym lists work} % \changes{v1.32}{2008/05/28}{Ulrich Diez again altered code to redefine labels in order to cope with unreproducable bug-reports. Warnings turnrd into infos for the sake of decreasing frightening-level} % \changes{v1.31}{2008/05/21}{Philipp Lehman noted a nameconflict with jurabib. Renamed clearlist to AC@clearlist since it is internal anyway} % \changes{v1.30}{2008/04/22}{Ulrich Diez corrected code to redefine labels and adjusted behavior with \cmd{\AC@used}} @@ -484,8 +485,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}[2008/05/28 - v1.32 +\ProvidesPackage{acronym}[2008/12/19 + v1.33 Support for acronyms (Tobias Oetiker)] \RequirePackage{suffix} % \end{macrocode} @@ -896,7 +897,8 @@ between the constant of Boltzmann and the \acl{NA}: \newenvironment{acronym}[1][1]{% \providecommand*{\acro}{\AC@acro}% \long\def\acroextra##1{##1}% - \ifx#1% + \def\@tempa{1}\def\@tempb{#1}% + \ifx\@tempa\@tempb% \global\expandafter\let\csname ac@des@mark\endcsname\AC@used% \ifAC@nolist% \else% diff --git a/Master/texmf-dist/source/latex/acronym/acronym.ins b/Master/texmf-dist/source/latex/acronym/acronym.ins index 59833411202..e6f4e2795f8 100644 --- a/Master/texmf-dist/source/latex/acronym/acronym.ins +++ b/Master/texmf-dist/source/latex/acronym/acronym.ins @@ -1,81 +1,81 @@ -%% The acronym package -%% -%% This file will generate fast loadable files and documentation -%% driver files from the doc files in this package when run through -%% LaTeX or TeX. -%% -%% Copyright 1995--2005 by Tobias Oetiker (oetiker@ee.ethz.ch) -%% and individual authors listed elsewhere -%% in this file. -%% All rights reserved. -%% -%% This work may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License, either version 1.3 of this license -%% or (at your option) any later version. The latest version of the -%% license is in -%% -%% http://www.latex-project.org/lppl.txt -%% -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2003/12/01 or later. -%% -%% This work has the LPPL maintenance status "maintained". -%% The Current Maintainer of this work is Tobias Oetiker (oetiker@ee.ethz.ch). -%% -%% This work consists of the files acronym.dtx and acronym.ins and the -%% derived files acronym.sty and acrotest.tex. -%% - -\def\batchfile{acronym.ins} -\input docstrip.tex -\keepsilent - -\preamble - Copyright 1995--2005 by Tobias Oetiker (oetiker@ee.ethz.ch) - and individual authors listed elsewhere. - All rights reserved. - - This work may be distributed and/or modified under the conditions of - the LaTeX Project Public License, either version 1.3 of this license - or (at your option) any later version. The latest version of the - license is in - - http://www.latex-project.org/lppl.txt - - and version 1.3 or later is part of all distributions of LaTeX - version 2003/12/01 or later. - - This work has the LPPL maintenance status "maintained". - The Current Maintainer of this work is Tobias Oetiker (oetiker@ee.ethz.ch). - -\endpreamble -\generate{% - \askforoverwritefalse - \file{acronym.sty}{\from{acronym.dtx}{acronym}}} - -\preamble -\endpreamble -\generate{% - \askforoverwritefalse - \file{acrotest.tex}{\from{acronym.dtx}{acrotest}}} - -{\obeyspaces -\ifToplevel{ - \Msg{*********************************************************} - \Msg{* *} - \Msg{* To finish the installation you have to move the *} - \Msg{* following file into a directory searched by TeX: *} - \Msg{* *} - \Msg{* acronym.sty *} - \Msg{* *} - \Msg{* To produce the documentation run the file acronym.dtx *} - \Msg{* through LaTeX. *} - \Msg{* *} - \Msg{* The file `acrotest.tex' contains an example text. *} - \Msg{* *} - \Msg{* Happy TeXing! *} - \Msg{*********************************************************} - }} -\endbatchfile - -\endinput +%% The acronym package +%% +%% This file will generate fast loadable files and documentation +%% driver files from the doc files in this package when run through +%% LaTeX or TeX. +%% +%% Copyright 1995--2005 by Tobias Oetiker (oetiker@ee.ethz.ch) +%% and individual authors listed elsewhere +%% in this file. +%% All rights reserved. +%% +%% This work may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of the +%% license is in +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% The Current Maintainer of this work is Tobias Oetiker (oetiker@ee.ethz.ch). +%% +%% This work consists of the files acronym.dtx and acronym.ins and the +%% derived files acronym.sty and acrotest.tex. +%% + +\def\batchfile{acronym.ins} +\input docstrip.tex +\keepsilent + +\preamble + Copyright 1995--2005 by Tobias Oetiker (oetiker@ee.ethz.ch) + and individual authors listed elsewhere. + All rights reserved. + + This work may be distributed and/or modified under the conditions of + the LaTeX Project Public License, either version 1.3 of this license + or (at your option) any later version. The latest version of the + license is in + + http://www.latex-project.org/lppl.txt + + and version 1.3 or later is part of all distributions of LaTeX + version 2003/12/01 or later. + + This work has the LPPL maintenance status "maintained". + The Current Maintainer of this work is Tobias Oetiker (oetiker@ee.ethz.ch). + +\endpreamble +\generate{% + \askforoverwritefalse + \file{acronym.sty}{\from{acronym.dtx}{acronym}}} + +\preamble +\endpreamble +\generate{% + \askforoverwritefalse + \file{acrotest.tex}{\from{acronym.dtx}{acrotest}}} + +{\obeyspaces +\ifToplevel{ + \Msg{*********************************************************} + \Msg{* *} + \Msg{* To finish the installation you have to move the *} + \Msg{* following file into a directory searched by TeX: *} + \Msg{* *} + \Msg{* acronym.sty *} + \Msg{* *} + \Msg{* To produce the documentation run the file acronym.dtx *} + \Msg{* through LaTeX. *} + \Msg{* *} + \Msg{* The file `acrotest.tex' contains an example text. *} + \Msg{* *} + \Msg{* Happy TeXing! *} + \Msg{*********************************************************} + }} +\endbatchfile + +\endinput diff --git a/Master/texmf-dist/tex/latex/acronym/acronym.sty b/Master/texmf-dist/tex/latex/acronym/acronym.sty index 263e071b0fc..74ec85692d0 100644 --- a/Master/texmf-dist/tex/latex/acronym/acronym.sty +++ b/Master/texmf-dist/tex/latex/acronym/acronym.sty @@ -39,8 +39,8 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{acronym}[2008/05/28 - v1.32 +\ProvidesPackage{acronym}[2008/12/19 + v1.33 Support for acronyms (Tobias Oetiker)] \RequirePackage{suffix} \newif\ifAC@footnote @@ -187,7 +187,8 @@ \newenvironment{acronym}[1][1]{% \providecommand*{\acro}{\AC@acro}% \long\def\acroextra##1{##1}% - \ifx#1% + \def\@tempa{1}\def\@tempb{#1}% + \ifx\@tempa\@tempb% \global\expandafter\let\csname ac@des@mark\endcsname\AC@used% \ifAC@nolist% \else% -- cgit v1.2.3