From 2aa58cecba5e8e1bbea101fe519c5456c7b117d5 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 30 May 2019 11:31:08 +0900
Subject: acrotex update 20190530

---
 texmf-dist/tex/latex/acrotex/uieforms.def | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

(limited to 'texmf-dist/tex/latex/acrotex/uieforms.def')

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}
-- 
cgit v1.2.3

