[latex3-commits] [git/LaTeX3-latex3-pdfresources] radiobuttons: more docu (2d8dd5b)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue May 25 16:07:57 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : radiobuttons
Link       : https://github.com/latex3/pdfresources/commit/2d8dd5bf8dc71a2572be4c8732856884a5a16117

>---------------------------------------------------------------

commit 2d8dd5bf8dc71a2572be4c8732856884a5a16117
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue May 25 16:07:57 2021 +0200

    more docu


>---------------------------------------------------------------

2d8dd5bf8dc71a2572be4c8732856884a5a16117
 l3pdffield-radiobutton.dtx | 14 +++++++-------
 l3pdffield-textfield.dtx   |  1 +
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/l3pdffield-radiobutton.dtx b/l3pdffield-radiobutton.dtx
index 51ecb50..d0265b6 100644
--- a/l3pdffield-radiobutton.dtx
+++ b/l3pdffield-radiobutton.dtx
@@ -183,8 +183,8 @@
 % \pdffield_radio:n
 %   {
 %     group   = A,         %required, can also be given as name=A or T=A
-%     radiobutton   = button1,   %required,  on-state of this button
-%     default = button4    %default of the group, if not given radiobutton (button1) is used
+%     choice   = button1,   %required,  on-state of this button
+%     default = button4    %default of the group, if not given choice (button1) is used
 %                          %should refer to an existing button!
 %                          %It will set the V and the DV key
 %                          %button4 will be checked
@@ -192,17 +192,17 @@
 % \pdffield_radio:n
 %   {
 %     group   = A,        %required, can also be given as name=A or T=A
-%     radiobutton   = button2   %required,  export value of this button
+%     choice   = button2   %required,  export value of this button
 %   }
 % \pdffield_radio:n
 %   {
 %     group   = A,        %required, can also be given as name=A or T=A
-%     radiobutton   = button3,  %required,  radiobutton/export value of this button
+%     choice   = button3,  %required,  choice/export value of this button
 %   }
 % \pdffield_radio:n
 %   {
 %     group   = A,        %required, can also be given as name=A or T=A
-%     radiobutton   = button4   %required,  radiobutton/export value of this button
+%     choice   = button4   %required,  choice/export value of this button
 %   }
 % \end{verbatim}
 %
@@ -215,7 +215,7 @@
 % doesn't do anything, at least not in the PDF viewers I tried. For this
 % reason this function is currently not supported.
 %
-% If two radio field annotations use the same |radiobutton| value they are selected and
+% If two radio field annotations use the same |choice| value they are selected and
 % unselected together, like checkboxes with the same /Yes state. This can be used
 % to build radio groups which works \enquote{in unison}. The flag |RadiosInUnison|
 % is neither needed for this (but doesn't harm either) nor
@@ -590,7 +590,7 @@
 \keys_define:nn { pdffield }
  {
     ,radiogroup .meta:n = {T=#1}
-    ,radiobutton .code:n =
+    ,choice .code:n =
     {
       \pdf_string_from_unicode:nnN {utf8/string}{#1}\l_@@_radio_button_tl
     }
diff --git a/l3pdffield-textfield.dtx b/l3pdffield-textfield.dtx
index a8ea210..aca974c 100644
--- a/l3pdffield-textfield.dtx
+++ b/l3pdffield-textfield.dtx
@@ -506,3 +506,4 @@
 %    \end{macrocode}
 % \end{macro}
 %\end{implementation}
+%\PrintIndex





More information about the latex3-commits mailing list.