[latex3-commits] [git/LaTeX3-latex3-pdfresources] testradio: update docu and experiments (c7016f5)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Apr 14 14:56:20 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : testradio
Link       : https://github.com/latex3/pdfresources/commit/c7016f5bc60e110ce7652a5e7242962678c9138e

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

commit c7016f5bc60e110ce7652a5e7242962678c9138e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Apr 14 14:56:20 2022 +0200

    update docu and experiments


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

c7016f5bc60e110ce7652a5e7242962678c9138e
 experiments/radiobuttons-test-2.tex |  4 +-
 experiments/radiobuttons.pdf        | 86 ++++++++++++++++++-------------------
 l3pdffield-radiobutton.dtx          | 13 +++++-
 3 files changed, 57 insertions(+), 46 deletions(-)

diff --git a/experiments/radiobuttons-test-2.tex b/experiments/radiobuttons-test-2.tex
index aa81077..02df3f5 100644
--- a/experiments/radiobuttons-test-2.tex
+++ b/experiments/radiobuttons-test-2.tex
@@ -68,9 +68,9 @@
  %\bool_set_false:N \l__pdffield_radio_unison_bool
 
  \begin{tabular}{ccc}
- \pdffield_radio:n{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{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{inunison=false,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=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}
diff --git a/experiments/radiobuttons.pdf b/experiments/radiobuttons.pdf
index d57d5da..3133149 100644
--- a/experiments/radiobuttons.pdf
+++ b/experiments/radiobuttons.pdf
@@ -1506,28 +1506,28 @@ endobj
 << /N 112 0 R  >>
 endobj
 115 0 obj
-<< /3 59 0 R/Off 61 0 R >>
+<< /0 59 0 R/Off 61 0 R >>
 endobj
 116 0 obj
-<< /3 63 0 R/Off 65 0 R >>
+<< /0 63 0 R/Off 65 0 R >>
 endobj
 117 0 obj
 << /N 115 0 R /D 116 0 R  >>
 endobj
 119 0 obj
-<< /4 59 0 R/Off 61 0 R >>
+<< /1 59 0 R/Off 61 0 R >>
 endobj
 120 0 obj
-<< /4 63 0 R/Off 65 0 R >>
+<< /1 63 0 R/Off 65 0 R >>
 endobj
 121 0 obj
 << /N 119 0 R /D 120 0 R  >>
 endobj
 123 0 obj
-<< /5 59 0 R/Off 61 0 R >>
+<< /2 59 0 R/Off 61 0 R >>
 endobj
 124 0 obj
-<< /5 63 0 R/Off 65 0 R >>
+<< /2 63 0 R/Off 65 0 R >>
 endobj
 125 0 obj
 << /N 123 0 R /D 124 0 R  >>
@@ -1554,28 +1554,28 @@ endobj
 << /N 136 0 R  >>
 endobj
 139 0 obj
-<< /3 59 0 R/Off 61 0 R >>
+<< /0 59 0 R/Off 61 0 R >>
 endobj
 140 0 obj
-<< /3 63 0 R/Off 65 0 R >>
+<< /0 63 0 R/Off 65 0 R >>
 endobj
 141 0 obj
 << /N 139 0 R /D 140 0 R  >>
 endobj
 143 0 obj
-<< /4 59 0 R/Off 61 0 R >>
+<< /1 59 0 R/Off 61 0 R >>
 endobj
 144 0 obj
-<< /4 63 0 R/Off 65 0 R >>
+<< /1 63 0 R/Off 65 0 R >>
 endobj
 145 0 obj
 << /N 143 0 R /D 144 0 R  >>
 endobj
 147 0 obj
-<< /5 59 0 R/Off 61 0 R >>
+<< /2 59 0 R/Off 61 0 R >>
 endobj
 148 0 obj
-<< /5 63 0 R/Off 65 0 R >>
+<< /2 63 0 R/Off 65 0 R >>
 endobj
 149 0 obj
 << /N 147 0 R /D 148 0 R  >>
@@ -1746,7 +1746,7 @@ endobj
 122 0 obj
 <<
 /Type /Annot
-/Subtype /Widget /AS /Off /F 0 /Parent 104 0 R /AP 121 0 R 
+/Subtype /Widget /AS /1 /F 0 /Parent 104 0 R /AP 121 0 R 
 /Rect [224.5 417.404 236.455 429.36]
 >>
 endobj
@@ -1788,7 +1788,7 @@ endobj
 146 0 obj
 <<
 /Type /Annot
-/Subtype /Widget /AS /Off /F 0 /Parent 128 0 R /AP 145 0 R 
+/Subtype /Widget /AS /1 /F 0 /Parent 128 0 R /AP 145 0 R 
 /Rect [224.5 332.612 236.455 344.568]
 >>
 endobj
@@ -2299,8 +2299,8 @@ endobj
 <<
 /Producer (pdfTeX-1.40.24)
 /Creator (TeX)
-/CreationDate (D:20220402152824+02'00')
-/ModDate (D:20220402152824+02'00')
+/CreationDate (D:20220414144459+02'00')
+/ModDate (D:20220414144459+02'00')
 /Trapped /False
 /PTEX.Fullbanner (This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) kpathsea version 6.3.4)
 >>
@@ -2308,8 +2308,8 @@ endobj
 xref
 0 168
 0000000003 65535 f 
-0000037992 00000 n 
-0000038039 00000 n 
+0000037988 00000 n 
+0000038035 00000 n 
 0000000004 00000 f 
 0000000013 00000 f 
 0000000015 00000 n 
@@ -2343,7 +2343,7 @@ xref
 0000000000 00000 f 
 0000006403 00000 n 
 0000015944 00000 n 
-0000055897 00000 n 
+0000055893 00000 n 
 0000016048 00000 n 
 0000016462 00000 n 
 0000016536 00000 n 
@@ -2433,53 +2433,53 @@ xref
 0000032087 00000 n 
 0000032131 00000 n 
 0000032175 00000 n 
-0000036939 00000 n 
+0000036937 00000 n 
 0000033970 00000 n 
 0000032221 00000 n 
 0000033144 00000 n 
 0000032311 00000 n 
 0000032355 00000 n 
-0000037074 00000 n 
+0000037072 00000 n 
 0000032390 00000 n 
 0000032434 00000 n 
-0000037209 00000 n 
+0000037207 00000 n 
 0000032469 00000 n 
 0000032513 00000 n 
-0000037343 00000 n 
+0000037341 00000 n 
 0000032548 00000 n 
 0000032592 00000 n 
 0000032636 00000 n 
-0000037479 00000 n 
+0000037477 00000 n 
 0000032682 00000 n 
 0000032726 00000 n 
 0000032770 00000 n 
-0000037614 00000 n 
+0000037612 00000 n 
 0000032816 00000 n 
 0000032860 00000 n 
 0000032904 00000 n 
-0000037748 00000 n 
-0000037884 00000 n 
+0000037744 00000 n 
+0000037880 00000 n 
 0000034383 00000 n 
 0000034223 00000 n 
-0000057842 00000 n 
-0000058003 00000 n 
-0000038092 00000 n 
-0000038143 00000 n 
-0000038183 00000 n 
-0000038206 00000 n 
-0000038389 00000 n 
-0000046261 00000 n 
-0000046485 00000 n 
-0000053892 00000 n 
-0000054113 00000 n 
-0000056058 00000 n 
-0000058064 00000 n 
-0000058148 00000 n 
+0000057838 00000 n 
+0000057999 00000 n 
+0000038088 00000 n 
+0000038139 00000 n 
+0000038179 00000 n 
+0000038202 00000 n 
+0000038385 00000 n 
+0000046257 00000 n 
+0000046481 00000 n 
+0000053888 00000 n 
+0000054109 00000 n 
+0000056054 00000 n 
+0000058060 00000 n 
+0000058144 00000 n 
 trailer
 << /Size 168
 /Root 166 0 R
 /Info 167 0 R
-/ID [<5E47EC854F219B2723FDEC5F7623DD0C> <5E47EC854F219B2723FDEC5F7623DD0C>] >>
+/ID [<5C25CDD7F1901206C116C9BB54A42B51> <5C25CDD7F1901206C116C9BB54A42B51>] >>
 startxref
-58410
+58406
 %%EOF
diff --git a/l3pdffield-radiobutton.dtx b/l3pdffield-radiobutton.dtx
index 82a1f07..75383c5 100644
--- a/l3pdffield-radiobutton.dtx
+++ b/l3pdffield-radiobutton.dtx
@@ -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}
 %
@@ -271,7 +281,8 @@
 % 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,
-% nevertheless the key will set it accordingly just in case.
+% 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





More information about the latex3-commits mailing list.