Skip to content

Commit

Permalink
rename math/setup value structelem to mathml-SE
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Feb 20, 2025
1 parent 5a71506 commit ac991ff
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion base/doc/ltnews41.tex
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ \section{News from Tagged PDF project}
\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{structelem} (add MathML structure element), \texttt{mathml-AF}
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).


Expand Down
27 changes: 13 additions & 14 deletions required/latex-lab/changes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
2025-02-17 Ulrike Fischer <[email protected]>
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]>

Expand All @@ -17,19 +29,6 @@
* latex-lab-new-or-2.dtx:
Use sockets and hooks to make output routine configurable.

2025-02-06 Ulrike Fischer <[email protected]>
* 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-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.

2024-01-30 Ulrike Fischer <[email protected]>
* latex-lab-block.dtx, latex-lab-namespace.dtx: change tagging of verbatim.

Expand Down
6 changes: 3 additions & 3 deletions required/latex-lab/latex-lab-math.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%
%

\def\ltlabmathdate{2025-02-18}
\def\ltlabmathdate{2025-02-20}
\def\ltlabmathversion{0.6l}
%
%<*driver>
Expand Down Expand Up @@ -1467,7 +1467,7 @@
% \end{macrocode}
%
% \subsubsection{Meta keys}
% The |math/setup| key accepts a list with the values |structelem|, |mathml-AF| and |tex-AF|.
% The |math/setup| key accepts a list with the values |mathml-SE|, |mathml-AF| and |tex-AF|.
% It is a fast way to set the main option. It at first disables them all, to get a clean state.
% \begin{macrocode}
\keys_define:nn {__tag / setup}
Expand All @@ -1492,7 +1492,7 @@
\keys_set:nn {__tag/ setup}{math/__setup/##1}
}
},
math/__setup / structelem .code:n =
math/__setup / mathml-SE .code:n =
{
\tl_gset:Nn \g_@@_luamml_load_tl{1}
\keys_set:nn {__tag / setup}
Expand Down

0 comments on commit ac991ff

Please sign in to comment.