Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move luamml patches into latex-lab #1666

Merged
merged 170 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
a33139f
update tagpdf/luamml to dev versions
u-fischer Nov 29, 2024
dc9c426
add luamml with tagging sockets
u-fischer Nov 29, 2024
ff8d829
add math tagging sockets
u-fischer Nov 29, 2024
019c596
add luamml sockets
u-fischer Nov 29, 2024
208dca7
trim spaces
u-fischer Nov 29, 2024
b60e448
add math tagging sockets, WIP
u-fischer Nov 29, 2024
e01c298
correct explsyntaxoff
u-fischer Nov 29, 2024
ab14c6c
remove confusing outdated comment
u-fischer Dec 2, 2024
5887b1e
Merge branch 'UF-latex-lab-luamml' of https://github.com/latex3/latex…
u-fischer Dec 2, 2024
825114f
correct expandable sockets
u-fischer Dec 2, 2024
9b64612
add luamml sockets to array
u-fischer Dec 2, 2024
9af48af
add testfiles
u-fischer Dec 2, 2024
c010b3b
add date
u-fischer Dec 2, 2024
c5c4b43
update tagpdf
u-fischer Dec 2, 2024
35ebc2d
update testfiles
u-fischer Dec 2, 2024
74c96a6
correct socket declaration
u-fischer Dec 2, 2024
cfb7ddf
correctly predeclare luamml socket.
u-fischer Dec 2, 2024
d522dfa
update luatex testfiles
u-fischer Dec 2, 2024
485fdc0
luamml support, enable default plug for tagging sockets with arguments
u-fischer Dec 2, 2024
c4ce81d
update luamml
u-fischer Dec 2, 2024
a9bdccc
add luamml socket to mbox
u-fischer Dec 2, 2024
c025e8c
add testfiles
u-fischer Dec 2, 2024
00cff60
add support for makebox too
u-fischer Dec 3, 2024
172704f
rename sockets
u-fischer Dec 3, 2024
3be5d4f
luamml support for text command
u-fischer Dec 3, 2024
8ef30fe
track group level for nested math handling when writing mathml
u-fischer Dec 4, 2024
1f7b3cf
correct socket name
u-fischer Dec 4, 2024
5ab8a62
merge develop
u-fischer Dec 4, 2024
9e9589c
update tagpdf, luamml
u-fischer Dec 4, 2024
1efd2b5
add unicode-math fixes for sqrt and fract
u-fischer Dec 9, 2024
e58b461
update luamml
u-fischer Dec 9, 2024
0420d0e
handle root with degree
u-fischer Dec 9, 2024
a7280db
update tagpdf
u-fischer Dec 9, 2024
76a9b26
update testfile
u-fischer Dec 9, 2024
d8dcfc7
Merge branch 'develop' into UF-latex-lab-luamml
u-fischer Dec 9, 2024
d791c08
merge develop
u-fischer Dec 16, 2024
ce9d356
correct entry
u-fischer Dec 16, 2024
a5bdebc
use \@mathlevel to identify nested math
u-fischer Dec 16, 2024
cd1601e
merge develop
u-fischer Dec 21, 2024
b6c8994
merge develop
u-fischer Dec 30, 2024
3a6cc7c
merge develop
u-fischer Jan 13, 2025
69b5e5e
update test
u-fischer Jan 13, 2025
27d5180
add math/setup keys, WIP
u-fischer Jan 16, 2025
a9fdaed
merge develop
u-fischer Jan 16, 2025
4a6549d
update and extend mathtagging tests
u-fischer Jan 16, 2025
28e2156
merge develop
u-fischer Jan 20, 2025
2564ab0
merge develop
u-fischer Jan 23, 2025
807db8c
luamml socket for mtable
u-fischer Jan 23, 2025
74d5141
add luamml hook to finalize mtable
u-fischer Jan 23, 2025
bbcd0bd
update luamml in texmf tree
u-fischer Jan 23, 2025
db9ecf2
correct command
u-fischer Jan 23, 2025
466d816
update luamml, activate plug
u-fischer Jan 23, 2025
5bc2140
update dates
u-fischer Jan 24, 2025
386298a
update luamml
u-fischer Jan 24, 2025
caf249c
add testfile for phantom issue
u-fischer Jan 25, 2025
1fa6cb3
try to handle nested phantom
u-fischer Jan 25, 2025
ad63122
keep mphantom
u-fischer Jan 26, 2025
c6f3201
suppress tagging of \phantom in text mode
u-fischer Jan 27, 2025
1ac40d9
avoid side effects from mathml-file
u-fischer Jan 27, 2025
abc0b67
redefine \ph@nt with luatex
u-fischer Jan 27, 2025
8ea74d2
testfiles
u-fischer Jan 27, 2025
b0e4c5e
luamml sockets for math phantom
u-fischer Jan 27, 2025
3b1ce22
update date
u-fischer Jan 27, 2025
5fb0008
correct definition
u-fischer Jan 27, 2025
b48e1da
add tagging support to \mathph@nt
u-fischer Jan 27, 2025
9f8c317
update luamml
u-fischer Jan 27, 2025
fff424b
suppress tagging in nested phantom
u-fischer Jan 28, 2025
709fc7b
update testfiles
u-fischer Jan 28, 2025
ad30bf6
update luamml
u-fischer Jan 28, 2025
cc6def1
redefine mathpalette in luatex
u-fischer Jan 28, 2025
1a16a9a
remove redefinition of \ph@nt
u-fischer Jan 28, 2025
21e0ddd
handle smash
u-fischer Jan 28, 2025
028806d
correct text
u-fischer Jan 28, 2025
a48ff81
update luamml
u-fischer Jan 28, 2025
a81f420
define command later (in case luamml-pdf is loaded).
u-fischer Jan 28, 2025
ce3918b
use generic luamml save sockets
u-fischer Jan 29, 2025
63f5586
update luamml
u-fischer Jan 29, 2025
0b587ca
move array patch into array.sty
u-fischer Jan 29, 2025
1d892df
update testfile
u-fischer Jan 29, 2025
92ea791
update testfile
u-fischer Jan 29, 2025
91c9f30
merge develop
u-fischer Jan 30, 2025
6a7f041
move to latest in testfiles
u-fischer Jan 30, 2025
ce9bd8c
more luamml sockets
u-fischer Jan 31, 2025
89012bb
Merge branch 'UF-latex-lab-luamml' of https://github.com/latex3/latex…
u-fischer Jan 31, 2025
3b519ca
update luamml
u-fischer Jan 31, 2025
0a20867
move gather, maketag@@@ into amsmath file
u-fischer Jan 31, 2025
7d00ace
adapt testfile to better label handling
u-fischer Jan 31, 2025
116c96c
moving gathered luamml patch
u-fischer Feb 1, 2025
783adb4
merge develop
u-fischer Feb 1, 2025
b583637
more luamml sockets
u-fischer Feb 1, 2025
d6123b2
add sockets for inner tables
u-fischer Feb 1, 2025
dfdd79a
move aligned to latex-lab
u-fischer Feb 1, 2025
01898b3
move smallmatrix patch
u-fischer Feb 2, 2025
6b7095d
move gather, add luamml_ignore to measuring@true
u-fischer Feb 2, 2025
f36607f
repair gather*
u-fischer Feb 2, 2025
9def794
load amsmath code after amsmath
u-fischer Feb 3, 2025
27d239d
remove unneeded package hook
u-fischer Feb 3, 2025
51cc498
remove subpart code from latex-lab-math
u-fischer Feb 3, 2025
fa6ce61
another testfile
u-fischer Feb 3, 2025
dc8e40f
move \math@cr@@@align
u-fischer Feb 4, 2025
69fc800
testfile updates after dropping of subpart code
u-fischer Feb 4, 2025
939be76
update testfiles
u-fischer Feb 4, 2025
6444de0
block testfiles
u-fischer Feb 5, 2025
9a44d8e
update luamml
u-fischer Feb 5, 2025
b499c08
get rid of empty structures
u-fischer Feb 5, 2025
2a95e26
Merge branch 'UF-latex-lab-luamml' of https://github.com/latex3/latex…
u-fischer Feb 6, 2025
5f249ae
update luamml
u-fischer Feb 6, 2025
c2de63c
merge develop
u-fischer Feb 6, 2025
1c423f7
handle labels in alignment
u-fischer Feb 6, 2025
a93f2a2
add testfiles for labelled align
u-fischer Feb 6, 2025
e21199c
merge develop
u-fischer Feb 6, 2025
73c092c
update testfiles
u-fischer Feb 6, 2025
eea3604
move multline code, WIP
u-fischer Feb 7, 2025
f23e6af
left is not right
u-fischer Feb 7, 2025
63a57f3
replace deprected command
u-fischer Feb 7, 2025
fbd83c6
finish moving multline
u-fischer Feb 7, 2025
4708d57
move luamml cases patchÂ
u-fischer Feb 7, 2025
fe6bfda
move mathtool patch
u-fischer Feb 7, 2025
5f66a1e
handle empty tags, WIP
u-fischer Feb 8, 2025
f6cf933
handle notag and starred aligments
u-fischer Feb 9, 2025
4ce3920
remove now unneeded definitions of \math@cr@@@gather and \restore@mat…
u-fischer Feb 9, 2025
a0e9ec7
move amsmath definitions to amsmath file
u-fischer Feb 9, 2025
ec718d4
move rest of amsmath patches to amsmath file
u-fischer Feb 9, 2025
f492e16
update luamml
u-fischer Feb 9, 2025
a590075
move bBigg@ definition
u-fischer Feb 10, 2025
25c9fe4
add MathCollectTrue/False and documentation
u-fischer Feb 10, 2025
aafa6ff
missing commentchar
u-fischer Feb 10, 2025
2a26f96
update luamml
u-fischer Feb 11, 2025
7b63877
merge develop
u-fischer Feb 11, 2025
a1509d7
docu improvement
u-fischer Feb 11, 2025
217515f
handle varlim commands
u-fischer Feb 11, 2025
4a85885
merge develop
u-fischer Feb 12, 2025
450a3ef
update luamml
u-fischer Feb 17, 2025
73c0eef
update pdfmanagement to 0.96p
u-fischer Feb 17, 2025
7830c9c
update testfiles to new pdfmanagement
u-fischer Feb 17, 2025
0aa32f6
add -S to workflow
u-fischer Feb 17, 2025
31fe844
next bunch of testfiles
u-fischer Feb 17, 2025
20a0a32
update testfiles (pdfmanagement change)
u-fischer Feb 17, 2025
1fd4af8
merge develop
u-fischer Feb 17, 2025
aea9385
update some testfiles
u-fischer Feb 17, 2025
778db34
update to tagpdf 0.99m
u-fischer Feb 17, 2025
e83b01a
add phoneme to latex
u-fischer Feb 17, 2025
ff7a148
set default pdfversion to 2.0
u-fischer Feb 17, 2025
29b6bb0
document phoneme addition
u-fischer Feb 18, 2025
7bc9cf4
first round of testfiles (PDF 2.0)
u-fischer Feb 18, 2025
5ae6400
more minipage tests
u-fischer Feb 18, 2025
30d29ed
sh for testfile updates
u-fischer Feb 18, 2025
0383861
merge
u-fischer Feb 18, 2025
b25d61a
typos
u-fischer Feb 18, 2025
4144fe6
updates tests, pdf 2.0
u-fischer Feb 18, 2025
d19eaf1
move tabular patch
u-fischer Feb 18, 2025
b25ef63
update.sh
u-fischer Feb 18, 2025
b876580
update testfiles
u-fischer Feb 18, 2025
0a0f956
missed one testfile
u-fischer Feb 18, 2025
cd9a8c5
misplaces key.
u-fischer Feb 18, 2025
885588f
missing seeds.
u-fischer Feb 18, 2025
abd8a05
git commit -m"move array luamml sockets into \array"
u-fischer Feb 19, 2025
4cbdbe1
from review (spelling)
u-fischer Feb 19, 2025
a79a3fe
Merge branch 'develop' into UF-latex-lab-luamml
u-fischer Feb 19, 2025
f198a6b
remove duplicated socket assignments
u-fischer Feb 19, 2025
f6342a5
use transparent as default for 2-argument tagging sockets
u-fischer Feb 19, 2025
730fe23
move main math sockets into lttagging
u-fischer Feb 19, 2025
356c93a
spelling
u-fischer Feb 19, 2025
6f56776
unify spaces
u-fischer Feb 19, 2025
8a1e37e
first support for tagging of split environment
u-fischer Feb 19, 2025
3d580a7
corrections from review, trim spaces
u-fischer Feb 19, 2025
66ccd93
update math tagging examples
u-fischer Feb 20, 2025
5a71506
corrections from review
u-fischer Feb 20, 2025
ac991ff
rename math/setup value structelem to mathml-SE
u-fischer Feb 20, 2025
27995ea
update testfiles
u-fischer Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion base/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ to completeness or accuracy and it contains some references to files that are
not part of the distribution.
================================================================================

2025-02-17 Ulrike Fischer <[email protected]>
* lttagging.dtx: add sockets for luamml support.
* lttagging.dtx: provide \MathCollectTrue, \MathCollectFalse

2025-02-14 Frank Mittelbach <[email protected]>

* ltoutput.dtx:
Expand All @@ -21,19 +25,20 @@ not part of the distribution.
* ltoutenc.dtx
Log only text command/symbol redeclarations (gh/1242)


2025-02-03 Frank Mittelbach <[email protected]>

* lthooks.dtx:
Document more prominently that using a hook with \UseHook or similar
commands requires that the hook to be declared first (gh/1519)


2025-02-01 Jonathan P. Spratte

* ltcmd.dtx (subsection{User functions}):
Generalise \ProcessList by using \tl_map_tokens:nn instead of
\tl_map_function:nN.


2025-01-31 Frank Mittelbach <[email protected]>

* latexrelease.dtx (subsection{Ignoring \texttt{\string_new} errors when rolling back}):
Expand Down Expand Up @@ -62,6 +67,7 @@ not part of the distribution.
Allow * to denote the current counter (as used by \label) in counter
related commands, \alph*, \stepcounter*, etc. (gh/1632)


2025-01-21 Frank Mittelbach <[email protected]>

* ltoutput.dtx (subsection{Floats}):
Expand Down Expand Up @@ -153,6 +159,7 @@ not part of the distribution.
* ltxref.dtx (subsection{Cross Referencing})
Replace \@tempa with \reserved@a in \Ref (gh/1579)


2024-12-03 Yukai Chou <[email protected]>
* ltmarks.dtx (subsection{Allocating new mark classes}):
Fix inconsistent local/global assignment (gh/1574)
Expand Down
12 changes: 12 additions & 0 deletions base/doc/ltnews41.tex
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,18 @@ \section{News from Tagged PDF project}

\emph{to write}

\subsection{Setting up math tagging}

With the \LuaTeX{} engine there are now various options for accessible math described in full details in latex-lab-math.pdf. To simplify the setup a new
key \texttt{math/setup} can be used that accepts a comma list with the values \texttt{mathml-SE} (add MathML structure element), \texttt{mathml-AF}
(attach MathML associated file) or \texttt{tex-AF} (attach the TeX source).


\subsection{Promoting PDF 2.0}

PDF 2.0 is a requirement for accessible PDF containing math as the MathML name spaces isn't supported by earlier PDF versions. \LaTeX{} will therefore set
PDF 2.0 as default version if \cs{DocumentMetadata} is used. A different PDF version can be set with the \texttt{pdfversion} key.

\subsection{Fixing the spacing after display math}

When \LaTeX{} produces an accessible (tagged) PDF it has to add
Expand Down
238 changes: 235 additions & 3 deletions base/lttagging.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@
% Usually, these sockets have (beside the default plug defined for every socket)
% one additional plug defined and directly assigned. This plug is used when
% tagging is active.
% There may be more plugs, e.g., tagging with special debugging or special behaviour
% There may be more plugs, e.g., tagging with special debugging or special behavior
% depending on the class or PDF version etc., but right now it is usually just on or off.
%
% When tagging is suspended they all have the same predefined behaviour:
% When tagging is suspended they all have the same predefined behavior:
% The sockets with zero arguments do nothing. The sockets with one argument
% gobble their argument. The sockets with two arguments
% will drop their first argument and pass the second unchanged.
Expand All @@ -152,7 +152,14 @@
% \cs{UseTaggingSocket} because they do not have to determine how
% many arguments the socket takes when disabling it.
%
%
% \DescribeMacro\MathCollectTrue
% \DescribeMacro\MathCollectFalse
% The tagging of math has to collect/grab the math first. This is not wanted
% for all uses of \verb+$+. These command allow to control the behavior of the
% math shift token. Without the math tagging code they do nothing. Their behavior
% with the math tagging code is documented in latex-lab-math.pdf
%
%
% \MaybeStop{}
%
%
Expand Down Expand Up @@ -230,6 +237,16 @@
%
% \end{macro}
%
% \subsection{Math collection}
% The documentation is in latex-lab-math.
%
% \begin{macro}{\MathCollectTrue,\MathCollectFalse}
% \begin{macrocode}
\cs_new_protected:Npn\MathCollectTrue{}
\cs_new_protected:Npn\MathCollectFalse{}
% \end{macrocode}
% \end{macro}
%
% \subsection{Tagging sockets}
% This collects tagging sockets that should be generally available
% so that they can also be used even if the tagging code is not loaded.
Expand Down Expand Up @@ -621,7 +638,222 @@
% \end{macrocode}
% \end{socketdecl}
%
% \subsection{Tagging support for math}
%
% \subsubsection{General sockets}
%
% The following sockets are the main math sockets.
%
% \changes{v1.0n}{2025/02/19}{Moved math sockets into lttagging}
% \begin{macrocode}
\NewSocket{tagsupport/math/inline/begin}{0}
\NewSocket{tagsupport/math/inline/end}{0}
\NewSocket{tagsupport/math/inline/formula/begin}{2}
\NewSocket{tagsupport/math/inline/formula/end}{0}
\NewSocket{tagsupport/math/display/begin}{0}
\NewSocket{tagsupport/math/display/end}{0}
\NewSocket{tagsupport/math/display/formula/begin}{2}
\NewSocket{tagsupport/math/display/formula/end}{0}
\NewSocket{tagsupport/math/display/tag/begin}{0}
\NewSocket{tagsupport/math/display/tag/end}{0}
% \end{macrocode}
% Assign transparent socket to the sockets with two arguments:
% \begin{macrocode}
\NewSocketPlug{tagsupport/math/inline/formula/begin}{transparent}{#2}
\AssignSocketPlug{tagsupport/math/inline/formula/begin}{transparent}
\NewSocketPlug{tagsupport/math/display/formula/begin}{transparent}{#2}
\AssignSocketPlug{tagsupport/math/display/formula/begin}{transparent}
% \end{macrocode}
%
% \subsubsection{Sockets specific for luamml}
% \paragraph{Save sockets}
% These sockets are wrappers around the \cs{luamml_save:...} commands.
% They take an argument which should contain the argument of the save command.
%
% \begin{socketdecl}{tagsupport/math/luamml/save/nn}
% The argument should contain the two arguments of the command.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/save/nn}{1}
\AssignSocketPlug{tagsupport/math/luamml/save/nn}{noop}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/save/nNn}
% The argument should contain the three arguments of the command.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/save/nNn}{1}
\AssignSocketPlug{tagsupport/math/luamml/save/nNn}{noop}
% \end{macrocode}
% \end{socketdecl}
%
% \paragraph{Socket to annotate}
%
% \begin{socketdecl}{tagsupport/math/luamml/annotate/false}
% These socket can be used for content that should be annotated
% with \texttt{core=false}
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/annotate/false}{2}
\NewSocketPlug{tagsupport/math/luamml/annotate/false}{transparent}{#2}
\AssignSocketPlug{tagsupport/math/luamml/annotate/false}{transparent}
% \end{macrocode}
% \end{socketdecl}
%
% \paragraph{Array sockets} These sockets will be used in \pkg{array} to
% add luamml support to the array environment.
%
% \begin{socketdecl}{tagsupport/math/luamml/array/save}
%
% This socket will be used in \cs{endarray}. The plug is set by luamml.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/array/save}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/array/finalize}
%
% This socket will be used in \cs{endarray}. The plug is set by luamml.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/array/finalize}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/array/initcol}
% This socket will be used in \cs{@classz}. The plug is set by luamml.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/array/initcol}{0}
% \end{macrocode}
% \end{socketdecl}
%
%
% \begin{socketdecl}{tagsupport/math/luamml/array/finalizecol}
% This socket will be used in \cs{@classz}. The plug is set by luamml.
% The argument sets the type of the column.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/array/finalizecol}{1}
\AssignSocketPlug{tagsupport/math/luamml/array/finalizecol}{noop}
% \end{macrocode}
% \end{socketdecl}
%
% \paragraph{Alignment environments}
% Multiline environments like \texttt{align}, \texttt{multline} or \texttt{gather}
% are tagged as \texttt{mtable}.
%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/finalizecol}
% This sockets is used at the end of alignment cells and adds them to
% the row. The argument passes a type like \texttt{last} or \texttt{box}.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/finalizecol}{1}
\AssignSocketPlug{tagsupport/math/luamml/mtable/finalizecol}{noop}
% \end{macrocode}
% \end{socketdecl}
%
%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/finalize}
% This sockets is used at the end of alignment environment to finalize the
% mtable code. It should be used normally with \cs{UseExpandableTaggingSocket}.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/finalize}{1}
\AssignSocketPlug{tagsupport/math/luamml/mtable/finalize}{noop}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/aligncol}
% This sockets is used in multline to add attributes
% describing the alignment to the left and right.
% It takes an argument, the alignment.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/aligncol}{1}
\AssignSocketPlug{tagsupport/math/luamml/mtable/aligncol}{noop}
% \end{macrocode}
% \end{socketdecl}

%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/innertable/save}
% This socket is used in \cs{endaligned} to save the table. It takes no argument.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/innertable/save}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/smallmatrix/save}
% This socket is used in \cs{endsmallmatrix} to save the table. It takes no argument.
% TODO: Check if this socket and the innertable socket can/should be merged into a more
% generic version.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/smallmatrix/save}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/innertable/finalize}
% This socket is used e.g. in \cs{endsmallmatrix} and \cs{gathered} to finalize the table.
% It takes no argument.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/innertable/finalize}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/mtable/tag/save}
% This socket is used to save a tag for later use.
% has been save before.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/tag/save}{0}
% \end{macrocode}
% \end{socketdecl}

% \begin{socketdecl}{tagsupport/math/luamml/mtable/tag/set}
% This socket should be used when a tag is placed. It inserts a tag that
% has been save before.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/mtable/tag/set}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \paragraph{mbox socket}
%
% \begin{socketdecl}{tagsupport/math/luamml/hbox}
% This socket is used around \cs{hbox}
% inside an \cs{mbox}, \cs{makebox} and \cs{text} and annotates
% the content if the \cs{hbox} is used inside math.
% The real plug is set by luamml but a default plug is defined
% here so that the socket can also be used if luamml is not used.
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/hbox}{2}
\NewSocketPlug{tagsupport/math/luamml/hbox}{transparent}{#2}
\AssignSocketPlug{tagsupport/math/luamml/hbox}{transparent}
% \end{macrocode}
% \end{socketdecl}
%
%
% \paragraph{math phantom sockets}
% \changes{1.0m}{2025-01-27}{add sockets for math phantom commands}
% \begin{socketdecl}{tagsupport/math/luamml/finph@nt}
% This socket handles the annotation of \cs{finph@nt}
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/finph@nt}{2}
\NewSocketPlug{tagsupport/math/luamml/finph@nt}{transparent}{#2}
\AssignSocketPlug{tagsupport/math/luamml/finph@nt}{transparent}
% \end{macrocode}
% \end{socketdecl}
%
% \begin{socketdecl}{tagsupport/math/luamml/finph@nt}
% This socket handles the annotation of \cs{finsm@sh}
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/finsm@sh}{2}
\NewSocketPlug{tagsupport/math/luamml/finsm@sh}{transparent}{#2}
\AssignSocketPlug{tagsupport/math/luamml/finsm@sh}{transparent}
% \end{macrocode}
% \end{socketdecl}
% \paragraph{Artifact root sign}
%
% \begin{socketdecl}{tagsupport/math/luamml/artifact}
% Unicode characters like a root sign should be marked as artifacts
% to avoid duplication, e.g., in derivation if mathml
% structure elements are used that imply the meaning.
%
% \begin{macrocode}
\NewSocket{tagsupport/math/luamml/artifact}{0}
% \end{macrocode}
% \end{socketdecl}
%
% \section{For lttab.dtx parked here for now}
%
Expand Down
16 changes: 16 additions & 0 deletions required/latex-lab/changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
2025-02-20 Ulrike Fischer <[email protected]>
* documentmetadata-support.dtx: set PDF 2.0 as default
* latex-lab-text.dtx: add phoneme instruction to LaTeX.
* documentmetadata-support.dtx: replace deprecated \keys_set_filter:nnn
* latex-lab-math.dtx: removed the subpart code. It will probably never be used.
* latex-lab-math.dtx: move amsmath-patches int latex-lab-amsmath, and insert
luamml patches.
* latex-lab-math.dtx: redefine \mathpalette in luatex.
* latex-lab-math.dtx: Add math/setup key.
* latex-lab-text.dtx: suppress tagging in \phantom in text mode, adapt for mathmode.
* latex-lab-unicode-math.dtx: tag roots and fraction rules as artifact is
mathml structure elements are used.
* use \@math@level to identify nested math
* added latex-lab-unicode-math.dtx/ltx for unicode-math fixes
* redefine \bBigg@ if unicode-math is used.

2025-02-14 Frank Mittelbach <[email protected]>

* latex-lab-new-or-1.dtx:
Expand Down
15 changes: 9 additions & 6 deletions required/latex-lab/documentmetadata-support.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
% for those people who are interested or want to report an issue.
%
% \begin{macrocode}
\def\documentmetadatasupportversion{1.0k}
\def\documentmetadatasupportdate{2024-12-23}
\def\documentmetadatasupportversion{1.0m}
\def\documentmetadatasupportdate{2025-02-17}
% \end{macrocode}
%
%
Expand Down Expand Up @@ -370,10 +370,13 @@
\file_input:n {l3backend-testphase-\c_sys_backend_str.def}
\ExplSyntaxOff\makeatother
% \end{macrocode}
%
% Process the init keys and setup the generic driver.
% \changes{v1.0m}{2025/02/17}{Set PDF 2.0 as default}
% \begin{macrocode}
\pdf_version_gset:n { 2.0 }
% \end{macrocode}
% Process the non-init keys and setup the generic driver.
% \begin{macrocode}
\keys_set_filter:nnn { document / metadata } { init } { #1 }
\keys_set_exclude_groups:nnn { document / metadata } { init } { #1 }
\bool_if:NT \g_@@_active_bool
{
\PassOptionsToPackage{customdriver=hgeneric-testphase}{hyperref}
Expand Down Expand Up @@ -412,7 +415,7 @@
% \begin{macrocode}
\cs_set_protected:Npn \DocumentMetadata ##1
{
\keys_set_filter:nnn { document / metadata } { init } { ##1 }
\keys_set_exclude_groups:nnn { document / metadata } { init } { ##1 }
\str_remove_all:cn {[email protected]}{customdriver=hgeneric-testphase}
\bool_if:NT \g__pdfmanagement_active_bool
{
Expand Down
Loading