summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/acro
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-22 22:35:30 +0000
committerKarl Berry <karl@freefriends.org>2017-01-22 22:35:30 +0000
commit950e5c9eeef31e314090b8f7c362eda456e36a10 (patch)
tree49fac0804b89be2c39376a1a68dd3be55b7b69a4 /Master/texmf-dist/doc/latex/acro
parentb1eb6bba5161466e7401c67959dd5a849e500e9a (diff)
acro (22jan17)
git-svn-id: svn://tug.org/texlive/trunk@43019 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/acro')
-rw-r--r--Master/texmf-dist/doc/latex/acro/README6
-rw-r--r--Master/texmf-dist/doc/latex/acro/acro_en.pdfbin564783 -> 565869 bytes
-rw-r--r--Master/texmf-dist/doc/latex/acro/acro_en.tex22
3 files changed, 23 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/acro/README b/Master/texmf-dist/doc/latex/acro/README
index 0d81fd94b18..31b9c75f32c 100644
--- a/Master/texmf-dist/doc/latex/acro/README
+++ b/Master/texmf-dist/doc/latex/acro/README
@@ -1,15 +1,15 @@
--------------------------------------------------------------------------
-the ACRO package v2.6e
+the ACRO package v2.7
Typeset Acronyms
-2016/09/04
+2017/01/22
--------------------------------------------------------------------------
Clemens Niederberger
Web: http://www.mychemistry.eu/forums/forum/acro/
E-Mail: contact@mychemistry.eu
--------------------------------------------------------------------------
-Copyright 2012--2016 Clemens Niederberger
+Copyright 2012--2017 Clemens Niederberger
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/doc/latex/acro/acro_en.pdf b/Master/texmf-dist/doc/latex/acro/acro_en.pdf
index ada60f95b40..2580f07c852 100644
--- a/Master/texmf-dist/doc/latex/acro/acro_en.pdf
+++ b/Master/texmf-dist/doc/latex/acro/acro_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/acro/acro_en.tex b/Master/texmf-dist/doc/latex/acro/acro_en.tex
index 4a54d178982..2fd56b574e1 100644
--- a/Master/texmf-dist/doc/latex/acro/acro_en.tex
+++ b/Master/texmf-dist/doc/latex/acro/acro_en.tex
@@ -13,7 +13,7 @@
% Web: http://www.mychemsitry.eu/forums/forum/acro/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2011-2016 Clemens Niederberger
+% Copyright 2011-2017 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -1545,7 +1545,7 @@ they're on.
\section{Defining Own Acronym Macros}\label{sec:defining-own-acronym}
-The commands\sinceversion{2.0}\sinceversion{2.0}\sinceversion{2.0} explained in
+The commands\sinceversion{2.0} explained in
section~\vref{sec:using-acronyms-comm} have all been defined with a dedicated
command -- there is a family of dedicated commands, actually:
\begin{commands}
@@ -1672,6 +1672,24 @@ commands\footnote{Which is why you need to use them inside an expl3
The\sinceversion{2.6} expl3 version of \cs{acswitchoff}.
\command*{acro_switch_on:}
The\sinceversion{2.6} expl3 version of \cs{acswitchon}.
+ \command*{acro_add_action:n}[ \marg{code}]
+ Adds\sinceversion{2.7} code to \cs*{acro_get:n}. Inside of \meta{code}
+ you can refer to the \ac{id} of the acronym with \verbcode+#1+.
+ \command*{acro_get_property:nn}[\TF\ \marg{id} \marg{property} \marg{true}
+ \marg{false}]
+ Fetches\sinceversion{2.7} the property \meta{property} of the acronym
+ \meta{id} and stores it in a tokenlist variable
+ \cs*{l__acro_\meta{property}_tl} where all dashes in the property names
+ are replaced with underscores. \meta{true} is placed in the input stream
+ if the property had been set, \meta{false} otherwise.
+ \command*{acro_get_property:nn}[\marg{id} \marg{property}]
+ Like\sinceversion{2.7} \cs*{acro_get_property:nn}\TF, but without the
+ \meta{true} and \meta{false} arguments.
+ \command*{acro_if_property:nn}[\TF\ \marg{id} \marg{property} \marg{true}
+ \marg{false}]
+ Checks\sinceversion{2.7} if the property \meta{property} of the acronym
+ \meta{id} is set and places \meta{true} is in the input stream if yes and
+ \meta{false} otherwise.
\end{commands}
\paragraph{Examples}