summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/acrotex/uieforms.def
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-05-30 11:31:08 +0900
committerNorbert Preining <norbert@preining.info>2019-05-30 11:31:08 +0900
commit2aa58cecba5e8e1bbea101fe519c5456c7b117d5 (patch)
tree717975537c2f5b35e9e61c6a07a1d05f18255e23 /texmf-dist/tex/latex/acrotex/uieforms.def
parentf9418b64dd4174f02d9738397d85845a775a59e8 (diff)
acrotex update 20190530
Diffstat (limited to 'texmf-dist/tex/latex/acrotex/uieforms.def')
-rw-r--r--texmf-dist/tex/latex/acrotex/uieforms.def13
1 files changed, 9 insertions, 4 deletions
diff --git a/texmf-dist/tex/latex/acrotex/uieforms.def b/texmf-dist/tex/latex/acrotex/uieforms.def
index 7f9f1d83..28a40bba 100644
--- a/texmf-dist/tex/latex/acrotex/uieforms.def
+++ b/texmf-dist/tex/latex/acrotex/uieforms.def
@@ -250,10 +250,15 @@
\ifcase\nr\relax\@eqmlhyph{y}\or
\@eqmlhyph{n}\fi
}{}
-\define@key{eforms}{presets}{%
- \ef@jstoks=\expandafter{#1}%
- \edef\ef@temp@expand{\noexpand\setkeys{eforms}{\the\ef@jstoks}}%
- \ef@temp@expand
+\define@key{eforms}{cmd}[]{\@eqcmd{#1}}
+\define@key{eforms}{presets}{\ef@jstoks=\expandafter{#1}%
+ \edef\ef@temp@expand{\noexpand\setkeys{eforms}{\the\ef@jstoks}}%
+ \ef@temp@expand
+}
+\define@key{eforms}{epresets}{\ef@jstoks=\expandafter{#1}%
+ \edef\@rgs{#1}\ef@jstoks=\expandafter{\@rgs}%
+ \edef\ef@temp@expand{\noexpand\setkeys{eforms}{\the\ef@jstoks}}%
+ \ef@temp@expand
}
\define@choicekey{eforms}{symbolchoice}[\val\nr]%
{check,circle,cross,diamond,square,star}