[latex3-commits] [git/LaTeX3-latex3-pdfresources] testtagging: preliminary tagging (78a2f74)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Aug 7 23:05:04 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : testtagging
Link       : https://github.com/latex3/pdfresources/commit/78a2f74a803c525d76a03902136563ac6d514131

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

commit 78a2f74a803c525d76a03902136563ac6d514131
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Aug 7 23:05:04 2021 +0200

    preliminary tagging


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

78a2f74a803c525d76a03902136563ac6d514131
 l3pdffield.dtx                      |   7 ++++++-
 l3pdffield.pdf                      | Bin 739256 -> 315993 bytes
 support/l3doc-tagging-testphase.sty |   2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/l3pdffield.dtx b/l3pdffield.dtx
index 5a1d178..3fe4f04 100644
--- a/l3pdffield.dtx
+++ b/l3pdffield.dtx
@@ -24,11 +24,15 @@
 %
 %<*driver>
 \RequirePackage{pdfmanagement-testphase}
-\DeclareDocumentMetadata{}
+\DeclareDocumentMetadata{testphase={tagpdf},activate=tagging,
+%debug={para=show,uncompress}
+}
 \makeatletter
 \declare at file@substitution{doc.sty}{doc-v3beta.sty}
 \makeatother
 \documentclass{l3doc}
+\usepackage{l3doc-tagging-testphase}
+\usepackage{unicode-math}
 \usepackage{array,booktabs,caption}
 \usepackage{l3pdffield-testphase,tikz}
 \hypersetup{pdfauthor=The LaTeX Project,
@@ -858,6 +862,7 @@
 % Currently no special syntax support
 % is implemented. They will be handled if needed when the code for
 % push buttons is developed and tested.
+% 
 % \begin{function}{MK/*}
 %  \begin{syntax}
 %  |MK/*| = \meta{various}
diff --git a/l3pdffield.pdf b/l3pdffield.pdf
index c271631..8f00987 100644
Binary files a/l3pdffield.pdf and b/l3pdffield.pdf differ
diff --git a/support/l3doc-tagging-testphase.sty b/support/l3doc-tagging-testphase.sty
index 6473815..1d73afb 100644
--- a/support/l3doc-tagging-testphase.sty
+++ b/support/l3doc-tagging-testphase.sty
@@ -70,7 +70,7 @@
     \normalfont\normalsize
   }
 
-\AddToHook{env/function/before}{\tagpdfparaOff\par}
+\AddToHook{env/function/before}{\par\tagpdfparaOff}
 \AddToHook{env/function/after}{\par\tagpdfparaOn}
 \cs_set_protected:Npn \__codedoc_syntax:w
   {





More information about the latex3-commits mailing list.