summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/acrotex/uieforms.def
diff options
context:
space:
mode:
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}