[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-checkbox: store (90fc3b0)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Mar 1 15:58:00 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : test-checkbox
Link       : https://github.com/latex3/pdfresources/commit/90fc3b04af8d57ba1385aad88d804c352312f35f

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

commit 90fc3b04af8d57ba1385aad88d804c352312f35f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Mar 1 15:58:00 2021 +0100

    store


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

90fc3b04af8d57ba1385aad88d804c352312f35f
 newpackages/l3pdffield-checkbox.dtx | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/newpackages/l3pdffield-checkbox.dtx b/newpackages/l3pdffield-checkbox.dtx
index 8b20c7b..d0bec61 100644
--- a/newpackages/l3pdffield-checkbox.dtx
+++ b/newpackages/l3pdffield-checkbox.dtx
@@ -56,6 +56,26 @@
 %
 % \maketitle
 % \begin{documentation}
+% The implementation of form fields in hyperref is in part faulty, see for example
+% \url{https://github.com/latex3/hyperref/issues/94}. This package is a first step
+% toward the goal to review and improve the code of form fields.
+%
+% It handles \emph{only} checkboxes, other form fields like radio buttons or
+% textfields will follow later. It relies on the hyperref code
+% to initialize the form and it requires the new PDF management code.
+% The package will suppress the deprecated /NeedAppearances setting.
+%
+% So typical use will look like this
+%
+% \begin{verbatim}
+% \RequirePackage{pdfmanagement-testphase}
+% \DeclareDocumentMetadata{uncompress}
+% \documentclass{article}
+% \usepackage{hyperref}
+% \usepackage{l3pdffield-checkbox}
+% \begin{document}
+% \Form
+% \end{verbatim}
 %
 % \end{documentation}
 % \begin{implementation}
@@ -64,6 +84,7 @@
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesExplPackage{l3pdffield-checkbox}{0000-00-00}{v0.00a}{form field checkbox}%
 
+\HyField at NeedAppearancesfalse % suppress NeedAppearances
 % values from hyperref:
 %\def\DefaultOptionsofCheckBox{print}
 %\def\DefaultHeightofCheckBox{\normalbaselineskip}





More information about the latex3-commits mailing list.