summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-09 22:41:23 +0000
committerKarl Berry <karl@freefriends.org>2013-07-09 22:41:23 +0000
commit20abcceaa3fb6a4c4417a871772b4edc49bab39d (patch)
treed9c5e97190aef20bc88c13c1b848980fd770eba3 /Master/texmf-dist/tex
parentd6800c422dcc8faf402f0cfaed2fbcd188c9817e (diff)
acro (9jul13)
git-svn-id: svn://tug.org/texlive/trunk@31147 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/acro/acro.sty13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/acro/acro.sty b/Master/texmf-dist/tex/latex/acro/acro.sty
index a95a4e64c22..7780a14e882 100644
--- a/Master/texmf-dist/tex/latex/acro/acro.sty
+++ b/Master/texmf-dist/tex/latex/acro/acro.sty
@@ -31,8 +31,8 @@
\RequirePackage{expl3,xparse,l3keys2e,xtemplate}
\ProvidesExplPackage
{acro}
- {2013/06/16}
- {1.3c}
+ {2013/07/08}
+ {1.3d}
{Typeset Acronyms}
% --------------------------------------------------------------------------
@@ -169,7 +169,8 @@
\bool_new:N \l__acro_first_reversed_bool
\bool_new:N \l__acro_use_note_bool
\bool_new:N \l__acro_extra_punct_bool
-\bool_new:N \l__acro_extra_use_brackets_bool
+\bool_new:N \l__acro_extra_use_brackets_bool
+\bool_new:N \l__acro_in_list_bool
% --------------------------------------------------------------------------
% token list variables:
@@ -1094,6 +1095,7 @@
{ foreign-sep = \l__acro_foreign_sep_tl }
{
\AssignTemplateKeys
+ \bool_set_true:N \l__acro_in_list_bool
\__acro_activate_hyperref_support:
\cs_set:Npn \acro_print_list_short:nn ##1##2
{
@@ -1368,7 +1370,8 @@
\cs_new_protected:Npn \acro_get:n #1
{
- \leavevmode
+ \bool_if:NF \l__acro_in_list_bool
+ { \leavevmode }
\acro_defined:n { #1 }
\__acro_activate_hyperref_support:
\prop_get:NnNF \l__acro_short_prop { #1 } \l__acro_tmpa_tl {}
@@ -2367,6 +2370,8 @@
to Michel Voßkuhle
2013/05/30 v1.3b - obey \if@filesw
2013/06/16 v1.3c - added \leavevmode to \acro_get:n
+2013/07/08 v1.3d - corrected wrong call of \leavevmode in the list
+ (list-type=list)
% --------------------------------------------------------------------------
% TODO: