texlive[63035] Master/texmf-dist: pdfmanagement-testphase (15apr22)

commits+karl at tug.org commits+karl at tug.org
Fri Apr 15 23:15:11 CEST 2022


Revision: 63035
          http://tug.org/svn/texlive?view=revision&revision=63035
Author:   karl
Date:     2022-04-15 23:15:11 +0200 (Fri, 15 Apr 2022)
Log Message:
-----------
pdfmanagement-testphase (15apr22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/output-patches-tmp-ltx.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md	2022-04-15 21:15:11 UTC (rev 63035)
@@ -5,6 +5,13 @@
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 this project uses date-based 'snapshot' version identifiers.
 
+## [2022-04-14]
+### Fixed
+ - l3pdffield-radiobutton: handling of Opt array.
+ 
+### Added
+ - l3pdffield-radiobutton: inunison key.  
+
 ## [2022-03-16]
 
 ### Added

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md	2022-04-15 21:15:11 UTC (rev 63035)
@@ -1,6 +1,6 @@
 # LaTeX PDF management testphase bundle
 
-Version: 0.95m, 2022-03-17
+Version: 0.95n, 2022-04-14
 
 This package is used during a test phase to load the new PDF management code
 of LaTeX.

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/output-patches-tmp-ltx.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -83,7 +83,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -959,7 +959,7 @@
 %<@@=hyp>
 %    \end{macrocode}
 %    \begin{macrocode}
-\ProvidesFile{hgeneric-testphase.def}[2022-03-17 v0.95m %
+\ProvidesFile{hgeneric-testphase.def}[2022-04-14 v0.95n %
   generic Hyperref driver for the LaTeX PDF management testphase bundle]
 
 \RequirePackage{etoolbox} %why?

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -45,7 +45,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 %
@@ -56,27 +56,27 @@
 %    \begin{macrocode}
 %<drivers>\ProvidesExplFile
 %<*dvipdfmx>
-  {l3backend-testphase-dvipdfmx.def}{2022-03-17}{}
+  {l3backend-testphase-dvipdfmx.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx}
 %</dvipdfmx>
 %<*dvips>
-  {l3backend-testphase-dvips.def}{2022-03-17}{}
+  {l3backend-testphase-dvips.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvips}
 %</dvips>
 %<*dvisvgm>
-  {l3backend-testphase-dvisvgm.def}{2022-03-17}{}
+  {l3backend-testphase-dvisvgm.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm}
 %</dvisvgm>
 %<*luatex>
-  {l3backend-testphase-luatex.def}{2022-03-17}{}
+  {l3backend-testphase-luatex.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)}
 %</luatex>
 %<*pdftex>
-  {l3backend-testphase-pdftex.def}{2022-03-17}{}
+  {l3backend-testphase-pdftex.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)}
 %</pdftex>
 %<*xdvipdfmx>
-  {l3backend-testphase-xetex.def}{2022-03-17}{}
+  {l3backend-testphase-xetex.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX}
 %</xdvipdfmx>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -433,7 +433,7 @@
 %    \begin{macrocode}
 %<@@=pdfannot>
 %<*header>
-\ProvidesExplPackage{l3pdfannot}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdfannot}{2022-04-14}{0.95n}
   {PDF-annotations}
 \RequirePackage{l3pdfdict}
 %</header>

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -209,7 +209,7 @@
 %    \begin{macrocode}
 %<@@=pdfdict>
 %<*header>
-\ProvidesExplPackage{l3pdfdict}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdfdict}{2022-04-14}{0.95n}
   {Tools for PDF dictionaries (LaTeX PDF management testphase bundle)}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -65,7 +65,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -56,7 +56,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -84,7 +84,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -105,6 +105,16 @@
 % \pdffield_radio:n{name=A,value=Sieglinde}&
 % \pdffield_radio:n{name=A,value=Duck}
 % \end{tabular}
+% \par not in unison: \par
+%
+% \begin{tabular}{ccc}
+% \pdffield_radio:n{inunison=false,name=C,value=Bär,appearance=pdffield/bear,width=\box_wd:N\l_pdffield_bear_box,height=\box_ht:N\l_pdffield_bear_box}&
+% \pdffield_radio:n{name=C,value=Sieglinde,default,appearance=pdffield/hippo,width=\box_wd:N\l_pdffield_hippo_box,height=\box_ht:N\l_pdffield_hippo_box}&
+% \pdffield_radio:n{name=C,value=Duck,appearance=pdffield/duck,width=\box_wd:N\l_pdffield_duck_box,height=\box_ht:N\l_pdffield_duck_box}\\[1ex]
+% \pdffield_radio:n{name=C,value=Bär}&
+% \pdffield_radio:n{name=C,value=Sieglinde}&
+% \pdffield_radio:n{name=C,value=Duck}
+% \end{tabular}
 % \ExplSyntaxOff
 % \end{center}
 %
@@ -240,7 +250,6 @@
 %   {
 %     group   = A,         % required, can also be given as name=A or T=A
 %     value   = 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
@@ -250,6 +259,7 @@
 %   {
 %     group   = A,        % required, can also be given as name=A or T=A
 %     value   = button2   % required,  export value of this button
+%     default             % this button is default of the group,
 %   }
 % \pdffield_radio:n
 %   {
@@ -264,13 +274,20 @@
 % \end{verbatim}
 %
 %
-% If two radio field annotations use the same |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|
+% If two radio field annotations use the same |value| this value can be mapped either
+% to the same index or to two different indices in the \texttt{/Opt} array.
+% In the first case they are selected and unselected together (\enquote{in unison}),
+% like checkboxes with the same |/Yes| state. The key |inunison| below allows to switch
+% between the two cases. The flag |RadiosInUnison|
 % is neither needed for this (but doesn't harm either) nor
-% does it change the behaviour, at least again not in the PDF viewers I tried.
+% does it change the behaviour, at least again not in the PDF viewers I tried,
+% nevertheless the key will set it accordingly just in case. The two examples at
+% the begin of the document show the two variants.
 %
 %
+% The button with the key |default| will be selected at the start (together with the
+% buttons with the same value). If no default is set this is the first button.
+%
 % \bigskip
 % \subsection{Commands}
 % \begin{function}{\pdffield_radio:n}
@@ -350,16 +367,28 @@
 %
 %  \begin{function}{default}
 %  \begin{syntax}
-%   |default| = \meta{string}
+%   |default|
 %  \end{syntax}
 %  With this key you set the button which is checked when the PDF is opened.
-%  The key must be used in the command of the first button. If it is missing
-%  the value of the first button is used as default.
-%  \meta{string} should be identical to a |value| of one of the buttons of the group.
-%  This is not checked, buttons can be created on various pages, so it would
-%  require a label/ref system to keep track of the names.
+%  The key must be used in the command of the button which should be the default.
+%  If it is missing the first button is used as default.
+%  A label-ref system is used to get the right numbers, so normally two compilations
+%  are needed if the first button is not the default
 %  \end{function}
-
+%
+%  \begin{function}{inunison}
+%  \begin{syntax}
+%   |inunison| = |true|\verb+|+|false|
+%  \end{syntax}
+%  As described above this handle the \enquote{inunison} behaviour.
+%  If set to true (the default)
+%  buttons with the same value will be selected and unselected together.
+%  The keys sets or unsets also the flag |RadiosInUnison| accordingly
+%  (but it is unknown  if it has any effect). The key should be set on the first
+%  field. Normally it should be unneeded to use the key:
+%  to avoid the unison effect it makes more sense to use different values.
+%  \end{function}
+%
 % \begin{function}{fieldID}
 %  \begin{syntax}
 %   |fieldID| = \meta{field ID}\\
@@ -560,7 +589,7 @@
 % \begin{variable}
 %  {
 %      \l_@@_radio_value_tl
-%     ,\l_@@_radio_default_tl
+%     ,\l_@@_radio_default_bool
 %     ,\l_@@_radio_value_num_int
 %     ,\l_@@_radio_appearance_code_tl
 %  }
@@ -569,9 +598,11 @@
 % so the code is stored and executed later.
 %    \begin{macrocode}
 \tl_new:N  \l_@@_radio_value_tl
-\tl_new:N  \l_@@_radio_default_tl
+\bool_new:N  \l_@@_radio_default_bool
 \int_new:N \l_@@_radio_value_num_int
 \tl_new:N  \l_@@_radio_appearance_code_tl
+\bool_new:N \l_@@_radio_unison_bool % if true use same name (e.g. /1) for same value
+\bool_set_true:N \l_@@_radio_unison_bool
 %    \end{macrocode}
 % \end{variable}
 %
@@ -638,6 +669,17 @@
 % \end{macro}
 %
 %\subsection{Creating the field}
+% We need to retrieve the index of the default through a
+% label, so we need an ref attribute:
+%
+%    \begin{macrocode}
+\ref_attribute_gset:nnnn {pdfradioindex}{0}{now}
+  {
+    \int_use:N\l_@@_radio_value_num_int
+  }
+\cs_generate_variant:Nn \ref_label:nn {V}
+\cs_generate_variant:Nn \ref_value:nn {V}
+%    \end{macrocode}
 % A field should be created if the name doesn't exist yet
 %  \begin{macro}{\@@_radio_field:n}
 %    \begin{macrocode}
@@ -659,21 +701,26 @@
               {\seq_use:cn {g_@@_radio_opt_#1_seq}{~}}
           }
 %    \end{macrocode}
-% The default value is always the first in the array.
-% If a default has been set, it is added to the left
-% of the seq.
+% The default value is retrieved through a label:
 %    \begin{macrocode}
-        \tl_if_eq:NnF \l_@@_radio_default_tl{()}
-         {
-           \seq_gput_left:cV { g_@@_radio_opt_#1_seq }\l_@@_radio_default_tl
-         }
-        \pdfdict_put:nnx { l_@@/field }{V}  { /0 }
-        \pdfdict_put:nnx { l_@@/field }{DV} { /0 }
+        \pdfdict_put:nnx { l_@@/field }{V}  { /\ref_value:nn{#1}{pdfradioindex} }
+        \pdfdict_put:nnx { l_@@/field }{DV} { /\ref_value:nn{#1}{pdfradioindex} }
 %    \end{macrocode}
 % now we create the field and set it as parent for the following annotation.
 %    \begin{macrocode}
         \@@_field:n { @@/radio/#1 }
+%    \end{macrocode}
+% If the inunison bool has been set to false we need to pass this to the
+% kids.
+%    \begin{macrocode}
+    \bool_if:NF \l_@@_radio_unison_bool
+      {
+        \cs_new:cpn {g_@@_radio_unison_state_#1_tl}
+         {
+           \bool_set_false:N \l_@@_radio_unison_bool
+         }
       }
+      }
     \keys_set:nn {pdffield}{parent=@@/radio/#1}
   }
 \cs_generate_variant:Nn \@@_radio_field:n {V}
@@ -697,6 +744,7 @@
 % Setting up the defaults.
 %   \begin{macrocode}
     \tl_set:Nn\l_@@_radio_appearance_code_tl{}
+    \bool_set_false:N\l_@@_radio_default_bool
     \keys_set:nn {pdffield}
       {
          fieldID=
@@ -703,6 +751,7 @@
         ,name=radio
         ,width  = \normalbaselineskip
         ,height = \normalbaselineskip
+        ,inunison
         ,@@/preset/radiobutton
         ,#1
         ,unsetFf={Pushbutton}
@@ -718,20 +767,26 @@
         \tl_put_left:Nn \l_@@_fieldID_tl {@@/radio/}
       }
 %    \end{macrocode}
+% If unison has been set for the field pass it on:
+%    \begin{macrocode}
+   \cs_if_exist_use:c {g_@@_radio_unison_state_ \l_@@_fieldID_tl _tl}
+%    \end{macrocode}
 % Now we build the field
 %    \begin{macrocode}
     \@@_radio_field:V\l_@@_fieldID_tl
 %    \end{macrocode}
+% Put the value into the seq
+%    \begin{macrocode}
+    \seq_gput_right:cV { g_@@_radio_opt_ \l_@@_fieldID_tl _seq }\l_@@_radio_value_tl
+%    \end{macrocode}
 %  Retrieve the number for the label
 %    \begin{macrocode}
-    \seq_if_in:cVF { g_@@_radio_opt_ \l_@@_fieldID_tl _seq }\l_@@_radio_value_tl
+  \bool_if:NTF \l_@@_radio_unison_bool
+    {
+     \int_zero:N \l_@@_radio_value_num_int
+     \exp_args:Nc
+     \seq_map_inline:Nn { g_@@_radio_opt_ \l_@@_fieldID_tl _seq }
       {
-        \seq_gput_right:cV { g_@@_radio_opt_ \l_@@_fieldID_tl _seq }\l_@@_radio_value_tl
-      }
-    \int_zero:N \l_@@_radio_value_num_int
-    \exp_args:Nc
-    \seq_map_inline:Nn { g_@@_radio_opt_ \l_@@_fieldID_tl _seq }
-     {
        \str_if_eq:nVTF { ##1 } \l_@@_radio_value_tl
         {
           \seq_map_break:
@@ -739,12 +794,26 @@
         {
           \int_incr:N \l_@@_radio_value_num_int
         }
+      }
      }
+     {
+       \int_set:Nn \l_@@_radio_value_num_int
+         {\seq_count:c { g_@@_radio_opt_ \l_@@_fieldID_tl _seq } -1 }
+     }
+     \bool_if:NT\l_@@_radio_default_bool
+      {
+        \exp_args:Ne
+        \ref_label:nn{\l_@@_fieldID_tl}{pdfradioindex}
+      }
+
 %    \end{macrocode}
 % Annotations with the default value are set to on, the rest to off
 %    \begin{macrocode}
-   \int_compare:nNnTF { \l_@@_radio_value_num_int } = 0
-     { \pdfannot_dict_put:nnx {widget}{AS}{/0} }
+   \int_compare:nNnTF { \l_@@_radio_value_num_int } =
+       {
+         \ref_value:Vn\l_@@_fieldID_tl{pdfradioindex}
+       }
+     { \pdfannot_dict_put:nnx {widget}{AS}{/\ref_value:Vn\l_@@_fieldID_tl{pdfradioindex}} }
      { \pdfannot_dict_put:nnx {widget}{AS}{/Off} }
 %    \end{macrocode}
 % Now we set the appearances, if no key has been use we take the default.
@@ -774,11 +843,12 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_radio_value_handler:n #1
   {
-    \pdf_string_from_unicode:nnN {utf8/string}{#1}\l_@@_radio_value_tl
+    \pdf_string_from_unicode:nnN {utf16/string}{#1}\l_@@_radio_value_tl
   }
 \cs_new_protected:Npn \@@_radio_default_handler:n #1
   {
-    \pdf_string_from_unicode:nnN {utf8/string}{#1}\l_@@_radio_default_tl
+    %\pdf_string_from_unicode:nnN {utf8/string}{#1}\l_@@_radio_default_tl
+    \bool_set_true:N \l_@@_radio_default_bool
   }
 %    \end{macrocode}
 % \end{macro}
@@ -792,6 +862,25 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{inunison}
+%    \begin{macrocode}
+\keys_define:nn { pdffield }
+ {
+    inunison .choice:
+   ,inunison / true .code:n =
+     {
+       \bool_set_true:N  \l_@@_radio_unison_bool
+       \bitset_set_true:Nn \l_@@_Ff_bitset {RadiosInUnison}
+     }
+   ,inunison / false .code:n =
+     {
+       \bool_set_false:N  \l_@@_radio_unison_bool
+       \bitset_set_false:Nn \l_@@_Ff_bitset {RadiosInUnison}
+     }
+   ,inunison .default:n = {true}
+ }
+%    \end{macrocode}
+% \end{macro}
 % \begin{macro}{\@@_radio_appearance_handler:nnn}
 % The handler for the appearances stores only the code
 % as it must be executed rather late.

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -70,7 +70,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -974,7 +974,7 @@
 %<*package>
 %<@@=pdffield>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{l3pdffield-testphase}{2022-03-17}{0.95m}%
+\ProvidesExplPackage{l3pdffield-testphase}{2022-04-14}{0.95n}%
   {form fields}
 %    \end{macrocode}
 % \subsection{hyperref specific command}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -397,7 +397,7 @@
 %
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage{l3pdffile}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdffile}{2022-04-14}{0.95n}
   {embedding and referencing files in PDF---LaTeX PDF management testphase bundle}
 \RequirePackage{l3pdftools}  %temporarly!!
 %</header>

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -58,7 +58,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -619,7 +619,7 @@
 %<@@=pdfmanagement>
 %<*header>
 %
-\ProvidesExplPackage{l3pdfmanagement}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdfmanagement}{2022-04-14}{0.95n}
   {Management of core PDF dictionaries (LaTeX PDF management testphase bundle)}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -353,7 +353,7 @@
 %    \begin{macrocode}
 %<@@=pdfmeta>
 %<*header>
-\ProvidesExplPackage{l3pdfmeta}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdfmeta}{2022-04-14}{0.95n}
   {PDF-Standards---LaTeX PDF management testphase bundle}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -50,7 +50,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -212,7 +212,7 @@
 %
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage{l3pdftools}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdftools}{2022-04-14}{0.95n}
   {candidate commands for l3pdf---LaTeX PDF management testphase bundle}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -133,7 +133,7 @@
 %    \begin{macrocode}
 %<@@=pdf>
 %<*header>
-\ProvidesExplPackage{l3pdfxform}{2022-03-17}{0.95m}
+\ProvidesExplPackage{l3pdfxform}{2022-04-14}{0.95n}
   {command to create xforms (beta)---LaTeX PDF management testphase bundle}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -216,7 +216,7 @@
 %    \begin{macrocode}
 %<@@=pdfmanagement>
 %<*header>
-\ProvidesExplPackage{ltdocinit}{2022-03-17}{0.95m}
+\ProvidesExplPackage{ltdocinit}{2022-04-14}{0.95n}
   {Initialize document metadata}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -64,7 +64,7 @@
 % |debug={firstaidoff={name1,name2,...},...}|.
 %    \begin{macrocode}
 %<*package>
-\ProvidesExplPackage{pdfmanagement-firstaid}{2022-03-17}{0.95m}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2022-04-14}{0.95n}
   {LaTeX PDF management testphase bundle / firstaid-patches}
 
 %<@@=pdfmanagement>

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95m, released 2022-03-17}
+% \date{Version 0.95n, released 2022-04-14}
 %
 % \maketitle
 % \begin{documentation}
@@ -386,7 +386,7 @@
 %    \begin{macrocode}
 %<@@=pdf>
 %<*package>
-\ProvidesExplPackage{pdfmanagement-testphase}{2022-03-17}{0.95m}
+\ProvidesExplPackage{pdfmanagement-testphase}{2022-04-14}{0.95n}
   {LaTeX PDF management testphase bundle}
 \providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
 \IfFormatAtLeastTF{2020-10-01}{}{
@@ -414,7 +414,7 @@
 % to allow to set it in the document.
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-03-17}{0.95m}
+\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-04-14}{0.95n}
   {PDF~management~code~(testphase)}
 %</header>
 %<*package>

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -24,7 +24,7 @@
 %% This file has the LPPL maintenance status "maintained".
 %%
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{color-ltx}[2022-03-17 v0.95m
+\ProvidesPackage{color-ltx}[2022-04-14 v0.95n
   Standard LaTeX Color (patched for l3color, part of pdfmanagement-testphase, original version 2022/01/06 v1.3d) (DPC)]
 \edef\Gin at codes{%
  \catcode`\noexpand\^^A\the\catcode`\^^A\relax

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: hyperref-generic.dtx
 
-\ProvidesFile{hgeneric-testphase.def}[2022-03-17 v0.95m %
+\ProvidesFile{hgeneric-testphase.def}[2022-04-14 v0.95n %
   generic Hyperref driver for the LaTeX PDF management testphase bundle]
 
 \RequirePackage{etoolbox} %why?

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -19,7 +19,7 @@
 %
 % for those people who are interested.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}{2022-03-17}{0.95m}
+\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}{2022-04-14}{0.95n}
   {Store hyperref metadata in XMP format / temporay patches to test pdfresource management ... UF}
 
 \cs_if_exist:NT \pdfmanagement_add:nnn

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-dvipdfmx.def}{2022-03-17}{}
+  {l3backend-testphase-dvipdfmx.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-dvips.def}{2022-03-17}{}
+  {l3backend-testphase-dvips.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvips}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-dvisvgm.def}{2022-03-17}{}
+  {l3backend-testphase-dvisvgm.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-luatex.def}{2022-03-17}{}
+  {l3backend-testphase-luatex.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-pdftex.def}{2022-03-17}{}
+  {l3backend-testphase-pdftex.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def	2022-04-15 21:15:11 UTC (rev 63035)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-xetex.def}{2022-03-17}{}
+  {l3backend-testphase-xetex.def}{2022-04-14}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -27,7 +27,7 @@
 %% File: l3pdffield.dtx
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{l3pdffield-testphase}{2022-03-17}{0.95m}%
+\ProvidesExplPackage{l3pdffield-testphase}{2022-04-14}{0.95n}%
   {form fields}
 \csname HyField at NeedAppearancesfalse\endcsname % suppress NeedAppearances
 \str_new:N \l__pdffield_tmpa_str
@@ -1119,12 +1119,13 @@
 \cs_set_eq:NN \pdffield_checkbox:n \__pdffield_checkbox:n
 
 %% File: l3pdfpdffield-radiobutton.dtx
-
 \RequirePackage{l3draw}
 \tl_new:N  \l__pdffield_radio_value_tl
-\tl_new:N  \l__pdffield_radio_default_tl
+\bool_new:N  \l__pdffield_radio_default_bool
 \int_new:N \l__pdffield_radio_value_num_int
 \tl_new:N  \l__pdffield_radio_appearance_code_tl
+\bool_new:N \l__pdffield_radio_unison_bool % if true use same name (e.g. /1) for same value
+\bool_set_true:N \l__pdffield_radio_unison_bool
 \cs_new_protected:Npn \__pdffield_radio_default_appearances:
   {
     \pdffield_appearance:nn {pdffield/radio/default/Yes}
@@ -1168,6 +1169,12 @@
       }
     \cs_gset_eq:NN \__pdffield_radio_default_appearances: \prg_do_nothing:
   }
+\ref_attribute_gset:nnnn {pdfradioindex}{0}{now}
+  {
+    \int_use:N\l__pdffield_radio_value_num_int
+  }
+\cs_generate_variant:Nn \ref_label:nn {V}
+\cs_generate_variant:Nn \ref_value:nn {V}
 \cs_new_protected:Npn \__pdffield_radio_field:n #1 %name
   {
     \pdf_object_if_exist:nF {__pdffield/field/__pdffield/radio/#1}
@@ -1181,14 +1188,17 @@
               {__pdffield/field/__pdffield/radio-Opt/#1}
               {\seq_use:cn {g__pdffield_radio_opt_#1_seq}{~}}
           }
-        \tl_if_eq:NnF \l__pdffield_radio_default_tl{()}
+        \pdfdict_put:nnx { l__pdffield/field }{V}  { /\ref_value:nn{#1}{pdfradioindex} }
+        \pdfdict_put:nnx { l__pdffield/field }{DV} { /\ref_value:nn{#1}{pdfradioindex} }
+        \__pdffield_field:n { __pdffield/radio/#1 }
+    \bool_if:NF \l__pdffield_radio_unison_bool
+      {
+        \cs_new:cpn {g__pdffield_radio_unison_state_#1_tl}
          {
-           \seq_gput_left:cV { g__pdffield_radio_opt_#1_seq }\l__pdffield_radio_default_tl
+           \bool_set_false:N \l__pdffield_radio_unison_bool
          }
-        \pdfdict_put:nnx { l__pdffield/field }{V}  { /0 }
-        \pdfdict_put:nnx { l__pdffield/field }{DV} { /0 }
-        \__pdffield_field:n { __pdffield/radio/#1 }
       }
+      }
     \keys_set:nn {pdffield}{parent=__pdffield/radio/#1}
   }
 \cs_generate_variant:Nn \__pdffield_radio_field:n {V}
@@ -1199,6 +1209,7 @@
     \cs_set_eq:NN\__pdffield_value_handler:n      \__pdffield_radio_value_handler:n
     \cs_set_eq:NN\__pdffield_default_handler:n    \__pdffield_radio_default_handler:n
     \tl_set:Nn\l__pdffield_radio_appearance_code_tl{}
+    \bool_set_false:N\l__pdffield_radio_default_bool
     \keys_set:nn {pdffield}
       {
          fieldID=
@@ -1205,6 +1216,7 @@
         ,name=radio
         ,width  = \normalbaselineskip
         ,height = \normalbaselineskip
+        ,inunison
         ,__pdffield/preset/radiobutton
         ,#1
         ,unsetFf={Pushbutton}
@@ -1216,15 +1228,15 @@
         \pdfdict_get:nnN {l__pdffield/field}{T}\l__pdffield_fieldID_tl
         \tl_put_left:Nn \l__pdffield_fieldID_tl {__pdffield/radio/}
       }
+   \cs_if_exist_use:c {g__pdffield_radio_unison_state_ \l__pdffield_fieldID_tl _tl}
     \__pdffield_radio_field:V\l__pdffield_fieldID_tl
-    \seq_if_in:cVF { g__pdffield_radio_opt_ \l__pdffield_fieldID_tl _seq }\l__pdffield_radio_value_tl
+    \seq_gput_right:cV { g__pdffield_radio_opt_ \l__pdffield_fieldID_tl _seq }\l__pdffield_radio_value_tl
+  \bool_if:NTF \l__pdffield_radio_unison_bool
+    {
+     \int_zero:N \l__pdffield_radio_value_num_int
+     \exp_args:Nc
+     \seq_map_inline:Nn { g__pdffield_radio_opt_ \l__pdffield_fieldID_tl _seq }
       {
-        \seq_gput_right:cV { g__pdffield_radio_opt_ \l__pdffield_fieldID_tl _seq }\l__pdffield_radio_value_tl
-      }
-    \int_zero:N \l__pdffield_radio_value_num_int
-    \exp_args:Nc
-    \seq_map_inline:Nn { g__pdffield_radio_opt_ \l__pdffield_fieldID_tl _seq }
-     {
        \str_if_eq:nVTF { ##1 } \l__pdffield_radio_value_tl
         {
           \seq_map_break:
@@ -1232,9 +1244,23 @@
         {
           \int_incr:N \l__pdffield_radio_value_num_int
         }
+      }
      }
-   \int_compare:nNnTF { \l__pdffield_radio_value_num_int } = 0
-     { \pdfannot_dict_put:nnx {widget}{AS}{/0} }
+     {
+       \int_set:Nn \l__pdffield_radio_value_num_int
+         {\seq_count:c { g__pdffield_radio_opt_ \l__pdffield_fieldID_tl _seq } -1 }
+     }
+     \bool_if:NT\l__pdffield_radio_default_bool
+      {
+        \exp_args:Ne
+        \ref_label:nn{\l__pdffield_fieldID_tl}{pdfradioindex}
+      }
+
+   \int_compare:nNnTF { \l__pdffield_radio_value_num_int } =
+       {
+         \ref_value:Vn\l__pdffield_fieldID_tl{pdfradioindex}
+       }
+     { \pdfannot_dict_put:nnx {widget}{AS}{/\ref_value:Vn\l__pdffield_fieldID_tl{pdfradioindex}} }
      { \pdfannot_dict_put:nnx {widget}{AS}{/Off} }
     \tl_if_empty:NT\l__pdffield_radio_appearance_code_tl
       {
@@ -1251,16 +1277,32 @@
   }
 \cs_new_protected:Npn \__pdffield_radio_value_handler:n #1
   {
-    \pdf_string_from_unicode:nnN {utf8/string}{#1}\l__pdffield_radio_value_tl
+    \pdf_string_from_unicode:nnN {utf16/string}{#1}\l__pdffield_radio_value_tl
   }
 \cs_new_protected:Npn \__pdffield_radio_default_handler:n #1
   {
-    \pdf_string_from_unicode:nnN {utf8/string}{#1}\l__pdffield_radio_default_tl
+    %\pdf_string_from_unicode:nnN {utf8/string}{#1}\l__pdffield_radio_default_tl
+    \bool_set_true:N \l__pdffield_radio_default_bool
   }
 \keys_define:nn { pdffield }
  {
     group .meta:n = {T=#1}
  }
+\keys_define:nn { pdffield }
+ {
+    inunison .choice:
+   ,inunison / true .code:n =
+     {
+       \bool_set_true:N  \l__pdffield_radio_unison_bool
+       \bitset_set_true:Nn \l__pdffield_Ff_bitset {RadiosInUnison}
+     }
+   ,inunison / false .code:n =
+     {
+       \bool_set_false:N  \l__pdffield_radio_unison_bool
+       \bitset_set_false:Nn \l__pdffield_Ff_bitset {RadiosInUnison}
+     }
+   ,inunison .default:n = {true}
+ }
 \cs_new_protected:Npn \__pdffield_radio_appearance_handler:nnn #1 #2 #3 %name, type, text
   {
     \tl_put_right:Nn \l__pdffield_radio_appearance_code_tl

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -22,7 +22,7 @@
 %% This work consists of the main source file pdflscape-ltx.sty
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{pdflscape-ltx}{2022-03-17}{0.95m}
+\ProvidesExplPackage{pdflscape-ltx}{2022-04-14}{0.95n}
  {Display of landscape pages in PDF - adaption of pdflscape to the PDFmanagement bundle (testphase)}
 
 \DeclareOption*{\PassOptionsToPackage\CurrentOption{graphics}}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-firstaid.dtx
-\ProvidesExplPackage{pdfmanagement-firstaid}{2022-03-17}{0.95m}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2022-04-14}{0.95n}
   {LaTeX PDF management testphase bundle / firstaid-patches}
 
 \clist_map_inline:nn {pgf,transparent,hyperxmp,pdflscape,xcolor,color,beamer,output}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx	2022-04-15 21:15:11 UTC (rev 63035)
@@ -27,7 +27,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-testphase.dtx
-\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-03-17}{0.95m}
+\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-04-14}{0.95n}
   {PDF~management~code~(testphase)}
 %% File: l3pdfdict.dtx
 \cs_new:Npn \__pdfdict_get_type:n #1

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-testphase.dtx
-\ProvidesExplPackage{pdfmanagement-testphase}{2022-03-17}{0.95m}
+\ProvidesExplPackage{pdfmanagement-testphase}{2022-04-14}{0.95n}
   {LaTeX PDF management testphase bundle}
 \providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
 \IfFormatAtLeastTF{2020-10-01}{}{

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -3,7 +3,7 @@
 %% a replacement for transparent sty from Heiko Oberdiek
 %%
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{transparent-ltx}{2022-03-17}{0.95m}
+\ProvidesExplPackage{transparent-ltx}{2022-04-14}{0.95n}
   {Transparency with color stacks (replacement for transparent.sty from Heiko Oberdiek)}%
 
 \RequirePackage{l3opacity}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty	2022-04-15 21:13:40 UTC (rev 63034)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty	2022-04-15 21:15:11 UTC (rev 63035)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `xcolor-patches.sty'
 %%
-\ProvidesPackage{xcolor-patches-tmp-ltx}[2022-03-17 v0.95m patch xcolor for l3color]
+\ProvidesPackage{xcolor-patches-tmp-ltx}[2022-04-14 v0.95n patch xcolor for l3color]
 \@ifundefined{color_set:nn}{\RequirePackage{l3color}}{}
 
 \ExplSyntaxOn



More information about the tex-live-commits mailing list.