texlive[51535] Master/texmf-dist: tagpdf (2jul19)
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 2 23:03:25 CEST 2019
Revision: 51535
http://tug.org/svn/texlive?view=revision&revision=51535
Author: karl
Date: 2019-07-02 23:03:25 +0200 (Tue, 02 Jul 2019)
Log Message:
-----------
tagpdf (2jul19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tagpdf/README.md
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-alt-actualtext-luatex.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-formula-problem-luatex.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-mc-manual-para-split.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list-luatex.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-koma-luatex.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-koma.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-memoir.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-memoir.tex
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-softhyphen.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure.tex
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.tex
trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-attr-code.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-checks-code.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-pdftex.def
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-roles-code.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-space-code.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-struct-code.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-tree-code.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-user.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty
trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-luatex.pdf
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-alt-actualtext.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.pdf
trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure.pdf
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/README.md 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/README.md 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,6 +1,6 @@
#tagpdf — A package to create tagged pdf
-Packageversion: 0.60
-Packagedate: 2019/03/20
+Packageversion: 0.61
+Packagedate: 2019/07/02
Author: Ulrike Fischer
## License
@@ -25,12 +25,14 @@
- tagpdf-pdftex.def (pdftex specific code)
- tagpdf-luatex.def (luatex specific code)
- tagpdf.lua (lua code for luatex)
-- tagpdf.tex, tagpdf.pdf, tagpdf.bib, link-figure-input.tex, pac3.png (the docu)
+- tagpdf.tex, tagpdf.pdf, tagpdf.bib, tagpdfdocu-patches.sty,
+ link-figure-input.tex, pac3.png (the docu)
- various examples (part of the documentation)
## Installation
-Put the styles, the .def and the lua-files where it can be found.
+Put the styles (with the exception of the tagpdfdocu-patches.sty),
+the .def and the lua-files where it can be found.
## Issues, comments, etc
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-alt-actualtext-luatex.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-alt-actualtext.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-formula-problem-luatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-mc-manual-para-split.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list-luatex.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-koma-luatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-koma.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-memoir.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-memoir.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-memoir.tex 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/ex-patch-sectioning-memoir.tex 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,5 +1,5 @@
% !Mode:: "TeX:DE:UTF-8:Main"
-
+%chapter not correct!!
\documentclass[a4paper,oneside]{memoir}
\settocdepth{subsubsection}
\setsecnumdepth{subsubsection}
@@ -65,7 +65,7 @@
\appto\cftsectionaftersnum{%
\tagmcend
\tagstructend}
-
+
\appto\cftsubsectionpresnum{%
\tagstructbegin{tag=TOCI}% is there a better place? what about unnumbered entries?
\tagstructbegin{tag=Lbl}%
@@ -169,7 +169,7 @@
\ExplSyntaxOff
\patchcmd\M at sect{#9\@@par}{%
%this place could be used for something between number and text
- #9%
+ #9%
\tagmcend
\tagstructend
\@@par%
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-softhyphen.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.pdf
===================================================================
(Binary files differ)
Added: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-luatex.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-luatex.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-luatex.pdf 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-luatex.pdf 2019-07-02 21:03:25 UTC (rev 51535)
Property changes on: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure-luatex.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure.tex 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/ex-structure.tex 2019-07-02 21:03:25 UTC (rev 51535)
@@ -6,7 +6,6 @@
\usepackage{graphicx}
\tagpdfifpdftexT
{
- \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
}
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.tex 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/ex-tagpdf-template.tex 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,7 +1,7 @@
% !Mode:: "TeX:DE:UTF-8:Main"
%this is more or less minimal template that can be used as starting point
-%it doesn't set everything that would be needed!
+%it doesn't set everything that would be needed!
\documentclass{scrartcl}
\usepackage[english]{babel}
\usepackage{tagpdf}
@@ -9,7 +9,6 @@
\tagpdfifpdftexT
{
\pdfcatalog{/Lang (en-UK)}
- \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
}
@@ -26,7 +25,7 @@
uncompress
}
\begin{document}
-\pagestyle{empty} %
+\pagestyle{empty} %
\tagstructbegin{tag=Document}
\tagmcbegin{tag=P}
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/doc/latex/tagpdf/tagpdf.tex 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,7 +1,7 @@
% !Mode:: "TeX:DE:UTF-8:Main"
\makeatletter
-\def\UlrikeFischer at package@version{0.60}
-\def\UlrikeFischer at package@date{2019-03-20}
+\def\UlrikeFischer at package@version{0.61}
+\def\UlrikeFischer at package@date{2019-07-02}
\makeatother
\pdfvariable majorversion = 1
\pdfvariable minorversion = 7
@@ -66,7 +66,7 @@
pdfdisplaydoctitle=true,pdfusetitle,hyperfootnotes=false,
]{hyperref}
}{}
-
+%\usepackage[ocgcolorlinks]{ocgx2}
\usepackage{ydoc-desc} %hm hyperref ist ein Problem ...
\usepackage{tagpdfdocu-patches}
\hypersetup{colorlinks,}
@@ -103,7 +103,6 @@
\end{tcolorbox}
-
\begin{NoHyper} %combination of link and other struct is to complicated for now ...
\tableofcontents
\end{NoHyper}
@@ -233,8 +232,12 @@
\includegraphics{pac3}
\tagmcend\tagstructend
+\subsection{Changes in version 0.61}
+\begin{itemize}
+\item \TagP^internal code adaptions to expl3 changes.\Pmeti
+\item \TagP^dropped the compresslevel key -- probably not needed\Pmeti
+\end{itemize}
-
\section{Setup}
\minisec{Activation needed!}
@@ -279,8 +282,6 @@
\TagP^Allows to define new tag names, see section \ref{sec:new-tag} for a description.\Pmeti
\item[\PrintKeyName{check-tags}]
\TagP^Boolean, initially true. Activates some safety checks (but doesn't do very much currently. It will perhaps be merged with the log-level key).\Pmeti
-\item[\PrintKeyName{compresslevel}]
- \TagP^Value is an integer between 0 and 9. It sets both the pdfcompresslevel and the pdfobjcompresslevel.\Pmeti
\item[\PrintKeyName{inputencoding}]
\TagP^Some keys convert their value and so need to know the encoding of the file. The default encoding is utf8. When using pdflatex you can switch to another encoding with this key. The value should be one of names allowed by \texttt{l3str}. There is no checking that the name is valid (I don't think that it sensible to use something else than utf8).
\Pmeti
@@ -297,7 +298,7 @@
\item[\PrintKeyName{tagunmarked}]
\TagP^Boolean,\marginnote{luamode} initially true. When this boolean is true, the lua code will try to mark everything that has not been marked yet as an artifact. The benefit is that one doesn't have to mark up every deco rule oneself. The danger is that it perhaps marks things that shouldn't be marked -- it hasn't been tested yet with complicated documents containing annotations etc. See also section~\ref{sec:lazy} for a discussion about automatic tagging.\Pmeti
\item[\PrintKeyName{uncompress}]
- \TagP^Equivalent to using \texttt{compresslevel=0}.\Pmeti
+ \TagP^Sets both the pdf compresslevel and the pdf objcompresslevel to 0 and so allows to inspect the pdf.\Pmeti
\end{description}
@@ -526,6 +527,7 @@
\TagP^These commands insert the begin of the marked content code in the pdf. They don't start a paragraph. \emph{They don't start a group}. The user command additionally issues an \verb+\ignorespaces+ to suppress spaces after itself.
Such markers should not be nested. The command will warn you if this happens.
+
\TagP The key-val list understands the following keys:\TagPend
\begin{description}
\item[\PrintKeyName{tag}]
@@ -548,10 +550,9 @@
\item[\PrintKeyName{alttext}]
\TagP^This key inserts an \texttt{/Alt} value in the property dictionary of the BDC operator. See section~\ref{sec:alttext}. The value is handled as verbatim string, commands are not expanded.\Pmeti
-
\item[\PrintKeyName{alttext-o}]
- \TagP^This key inserts an \texttt{/Alt} value in the property dictionary of the BDC operator. See section~\ref{sec:alttext}. The value is handled as verbatim string like the key \PrintKeyName{alttext} but expanded once (the \texttt{o} refers to the \texttt{o} type in expl3). That means that you can do something like this:\TagPend
-
+ \TagP^This key inserts an \texttt{/Alt} value in the property dictionary of the BDC operator. See section~\ref{sec:alttext}. The value is handled as verbatim string like the key \PrintKeyName{alttext} but expanded once (the \texttt{o} refers to the \texttt{o} type in expl3).
+ That means that you can do something like this: \TagPend
\tagstructbegin{tag=Code}\tagmcbegin{tag=Code}
\begin{lstlisting}
\newcommand\myalttext{\frac{a}{b}}
@@ -564,10 +565,11 @@
\item[\PrintKeyName{actualtext}]
\TagP^This key inserts an \texttt{/ActualText} value in the property dictionary of the BDC operator. See section~\ref{sec:alttext}. The value is handled as verbatim string, commands are not expanded.\Pmeti
+
\item[\PrintKeyName{actualtext-o}]
\TagP^This key inserts an \texttt{/ActualText} value in the property dictionary of the BDC operator. See section~\ref{sec:alttext}. The value is handled as verbatim string like the key \PrintKeyName{actualtext} but expanded once (the \texttt{o} refers to the \texttt{o} type in expl3). That means that you can do something like this:\TagPend
- \tagstructbegin{tag=Code}\tagmcbegin{tag=Code}
+\tagstructbegin{tag=Code}\tagmcbegin{tag=Code}
\begin{lstlisting}
\newcommand\myactualtext{X}
\tagmcbegin{tag=P,alttext-o=\myactualtext}
@@ -888,7 +890,7 @@
\end{lstlisting}
\tagmcend\tagstructend
-\TagP^One or more such attributes can be attached to a structure element. It is also possible to store such an attribute under a symbolic name in a so-called \enquote{ClassedMap} and then to attached references to such classes to a structure.\TagPend
+\TagP^One or more such attributes can be attached to a structure element. It is also possible to store such an attribute under a symbolic name in a so-called \enquote{ClassedMap} and then to attach references to such classes to a structure.\TagPend
\TagP^To use such attributes you must at first declare it in \verb+\tagpdfsetup+ with the key \texttt{newattribute}. This key takes two argument, a name and the content of the attribute.
The name should be a sensible key name, the content a dictionary.
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-attr-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-attr-code.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-attr-code.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-attr-code} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-attr-code} {2019/07/02} {0.61}
{part of tagpdf - code related to attributes and attribute classes}
% the obj is written in tagpdf-tree-code.
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-checks-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-checks-code.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-checks-code.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-checks-code} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-checks-code} {2019/07/02} {0.61}
{part of tagpdf - code related to checks and messages}
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-luatex.def 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,5 +1,5 @@
-\ProvidesExplFile {tagpdf-luatex.def} {2019/03/20} {0.60}
- {tagpdf driver for luatex}
+\ProvidesExplFile {tagpdf-luatex.def} {2019/07/02} {0.61}
+ {tagpdf~driver~for~luatex}
%\newattribute \g__uftag_mc_type_attr %the value represent the type
%\newattribute \g__uftag_mc_cnt_attr %will hold the \c at g__uftag_MCID_abs_int value
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-generic.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2019/07/02} {0.61}
{part of tagpdf - code related to marking chunks - generic mode}
% for the label system
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-lua.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-mc-code-lua} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2019/07/02} {0.61}
{tagpdf - mc code only for the luamode }
% the two attibutes are defined in the driver file.
@@ -250,6 +250,7 @@
\exp_args:Nx \__uftag_mc_handle_stash:n { \__uftag_get_mc_abs_cnt: }
}
}
+ \bool_set_false:N\l__uftag_mc_artifact_bool
%\group_end:
}
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2019/07/02} {0.61}
{part of tagpdf - code related to marking chunks - code shared by generic and luamode }
% I use a latex counter for the absolute count, so that it is added to
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-pdftex.def 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-pdftex.def 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,5 +1,5 @@
-\ProvidesExplFile {tagpdf-pdftex.def} {2019/03/20} {0.60}
- {tagpdf driver for pdftex}
+\ProvidesExplFile {tagpdf-pdftex.def} {2019/07/02} {0.61}
+ {tagpdf~driver~for~pdftex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% driver (pdflatex) commands
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-roles-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-roles-code.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-roles-code.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-roles-code} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-roles-code} {2019/07/02} {0.61}
{part of tagpdf - code related to roles and structure names}
\__uftag_seq_new:N \g__uftag_role_tags_seq %to get names from numbers
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-space-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-space-code.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-space-code.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-space-code} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-space-code} {2019/07/02} {0.61}
{part of tagpdf - code related to real space chars}
% luatex uses an attribute (declared in the driver file) and some luacode in tagpdf.lua
% perhaps I will split the code by engine in the future
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-struct-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-struct-code.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-struct-code.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-struct-code} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-struct-code} {2019/07/02} {0.61}
{part of tagpdf - code related to storing structure}
% I will use a latex counter for the structure count
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-tree-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-tree-code.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-tree-code.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-tree-code} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-tree-code} {2019/07/02} {0.61}
{part of tagpdf - code related to writing trees and dictionaries to the pdf}
%this does the actual finishing:
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-user.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-user.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf-user.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,4 +1,4 @@
-\ProvidesExplPackage {tagpdf-user} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf-user} {2019/07/02} {0.61}
{tagpdf - user commands}
\NewDocumentCommand \tagpdfsetup { m }
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.lua 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,8 +1,18 @@
--- Packageversion: 0.60
--- Packagedate: 2019/03/20
-- tagpdf.lua
-- Ulrike Fischer
+local ProvidesLuaModule = {
+ name = "tagpdf",
+ version = "0.61", --TAGVERSION
+ date = "2019-07-02", --TAGDATE
+ description = "tagpdf lua code",
+ license = "The LATEX Project Public License 1.3c"
+}
+
+if luatexbase and luatexbase.provides_module then
+ luatexbase.provides_module (ProvidesLuaModule)
+end
+
--[[
The code has quite probably a number of problems
- more variables should be local instead of global
@@ -512,11 +522,10 @@
tableinsert(uftag.mc[mcnum]["kids"], kidtable )
end
+
function uftag.func.mc_num_of_kids (mcnum)
local num = 0
if uftag.mc[mcnum] and uftag.mc[mcnum]["kids"] then
- texio.write_nl("XXXXXXXXXXXXXXXXX")
- texio.write_nl(table.serialize(uftag.mc[mcnum]["kids"]))
num = #uftag.mc[mcnum]["kids"]
end
uftag.trace.log ("MC" .. mcnum .. "has " .. num .. "KIDS",4)
@@ -554,6 +563,7 @@
uftag.struct[structnum]["mc"]=uftag.struct[structnum]["mc"] or { }
-- a structure can contain more than on mc chunk, the content should be ordered
tableinsert(uftag.struct[structnum]["mc"],mcnum)
+ uftag.trace.log("MCNUM "..mcnum.." insert in struct "..structnum,3)
-- but every mc can only be in one structure
uftag.mc[mcnum]= uftag.mc[mcnum] or { }
uftag.mc[mcnum]["parent"] = structnum
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,7 +1,7 @@
-\RequirePackage{expl3}[2018/06/14]
+\RequirePackage{expl3}[2019/07/01]
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdf} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdf} {2019/07/02} {0.61}
{A package to experiment with pdf tagging}
%\debug_on:n{check-declarations,check-expressions,deprecation}
@@ -41,10 +41,11 @@
\RequirePackage{atbegshi}
\RequirePackage{zref-base,zref-lastpage}
\RequirePackage{etoolbox}
+\RequirePackage{l3pdf}
%\RequirePackage{pdfescape} %check if needed
%\RequirePackage{pdftexcmds}%check if needed (expandable commands!)
-\RequirePackage{l3str-convert}
+%\RequirePackage{l3str-convert}
\cs_generate_variant:Nn \str_set_convert:Nnnn {Nonn, Noon, Nnon }
@@ -83,18 +84,7 @@
tabsorder / structure .code:n = {\tl_set:Nn \l__uftag_tree_tabs_order_tl {/Tabs/S}},
tabsorder / none .code:n = {\tl_set:Nn \l__uftag_tree_tabs_order_tl {}},
tabsorder .initial:n = structure,
- compresslevel .choices:nn = {1,2,3,4,5,6,7,8,9}
- {
- \driver_pdf_compresslevel:n {#1}
- \driver_pdf_objects_enable:
- },
- compresslevel / 0 .code:n =
- {
- \driver_pdf_compresslevel:n { 0 }
- \driver_pdf_objects_disable:
- },
- compresslevel .value_required:n = true,
- uncompress .meta:n = { compresslevel = 0 },
+ uncompress .code:n = {\pdf_uncompress: },
inputencoding .code:n =
{
\sys_if_engine_pdftex:T
@@ -102,7 +92,7 @@
},
}
-% escape commands are a bit engine specific so have been moved to the driver files.
+% escape commands are a bit engine specific so have been moved to the backend files.
% commands to escape strings so that they can be safely used in pdf
% currently not much used. But will be needed later, when alt and actualtext are added.
% we probably need the equivalent \pdfescapestring, \pdfescapename \pdfescapehex
@@ -114,7 +104,7 @@
%\cs_set_eq:NN \__uftag_pdf_escape_string:n \EdefEscapeString
%\cs_set_eq:NN \__uftag_pdf_escape_name:Nn \EdefEscapeName
-%escape command. They are driver specific as \pdf at escapehex would ignore most chars
+%escape command. They are backend specific as \pdf at escapehex would ignore most chars
%outside the "pdflatex" range
@@ -137,7 +127,7 @@
}
-%testing the engines and loading the driver files
+%testing the engines and loading the backend files
\sys_if_engine_xetex:T
{
\PackageError { tagpdf } { xelatex~is~not~supported~-~aborting } {}
Modified: trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty 2019-07-02 21:03:06 UTC (rev 51534)
+++ trunk/Master/texmf-dist/tex/latex/tagpdf/tagpdfdocu-patches.sty 2019-07-02 21:03:25 UTC (rev 51535)
@@ -1,7 +1,7 @@
\RequirePackage{expl3}[2018/06/14]
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
\RequirePackage{xpatch}
-\ProvidesExplPackage {tagpdfdocu-patches} {2019/03/20} {0.60}
+\ProvidesExplPackage {tagpdfdocu-patches} {2019/07/02} {0.61}
{patches/commands for the tagpdf documentation}
% to do : marginnote, perhaps the description macros ...
@@ -198,7 +198,7 @@
% keys that overwrite \enit at format must be patched, eg like the follow
% the font key should be patched in a similar way
-\enitkv at key{enumitem}{format}{%
+\enitkv at key{}{format}{% new enumitem don't use first argument
\def\enit at format{%
\tagstructbegin{tag=LI}%
\tagstructbegin{tag=Lbl}%
@@ -213,20 +213,20 @@
{
\hook_put_left:nnn
{ pdf }
- { startlink_url }
+ { link_begin_url }
{
\uftag_struct_begin:n{tag=Link}
- \uftag_mc_begin:n{tag=Link}\def\blub{abc}
+ \uftag_mc_begin:n{tag=Link}
}
\hook_put:nnnn
{ pdf }
- { startlink_url_attr }
+ { link_begin_url_attr }
{ /StructParent }
{ \int_use:N\c at g__uftag_parenttree_obj_int }
\hook_put_right:nnn
{ pdf }
- { endlink_url }
+ { link_end_url }
{
\__uftag_struct_finish_link:
\uftag_mc_end:
@@ -235,7 +235,7 @@
\hook_put_left:nnn
{ pdf }
- { startlink_link }
+ { link_begin_link }
{
\uftag_struct_begin:n{tag=Link}
\uftag_mc_begin:n{tag=Link}
@@ -242,12 +242,12 @@
}
\hook_put:nnnn
{ pdf }
- { startlink_link_attr }
+ { link_begin_link_attr }
{ /StructParent }
{ \int_use:N\c at g__uftag_parenttree_obj_int }
\hook_put_right:nnn
{ pdf }
- { endlink_link }
+ { link_end_link }
{
\__uftag_struct_finish_link:
\uftag_mc_end:
@@ -257,13 +257,13 @@
% "alternative descriptions " for PAX3. How to get better text here??
\hook_put:nnnn
{ pdf }
- { startlink_url_attr }
+ { link_begin_url_attr }
{ /Contents }
{ (url) }
\hook_put:nnnn
{ pdf }
- { startlink_link_attr }
+ { link_begin_link_attr }
{ /Contents }
{ (ref) }
}
More information about the tex-live-commits
mailing list