diff options
Diffstat (limited to 'macros/latex-dev/required/latex-lab/latex-lab-math.dtx')
-rw-r--r-- | macros/latex-dev/required/latex-lab/latex-lab-math.dtx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/macros/latex-dev/required/latex-lab/latex-lab-math.dtx b/macros/latex-dev/required/latex-lab/latex-lab-math.dtx index 4fabde3d11..0dbc591185 100644 --- a/macros/latex-dev/required/latex-lab/latex-lab-math.dtx +++ b/macros/latex-dev/required/latex-lab/latex-lab-math.dtx @@ -19,8 +19,8 @@ % for those people who are interested or want to report an issue. % % -\def\ltlabmathdate{2024-02-09} -\def\ltlabmathversion{0.5i} +\def\ltlabmathdate{2024-04-16} +\def\ltlabmathversion{0.5j} % %<*driver> \documentclass{l3doc} @@ -654,15 +654,15 @@ % a simple Desc key, take care that it is a valid string! % \begin{macrocode} \pdfdict_put:nne {l_pdffile/Filespec} {Desc}{(mathml-#1)} - \pdffile_embed_stream:nnN {#4}{mathml-#1.xml}\l_tmpa_tl + \pdffile_embed_stream:nnN {#4}{mathml-#1.xml}\l_@@_tmpa_tl % \end{macrocode} % not strictly necessary but makes the files visible in the file attachment % page % \begin{macrocode} \bool_if:NT \l__tag_math_mathml_pane_bool - {\pdfmanagement_add:nne {Catalog/Names}{EmbeddedFiles}{\l_tmpa_tl}} + {\pdfmanagement_add:nne {Catalog/Names}{EmbeddedFiles}{\l_@@_tmpa_tl}} \tl_new:c{g_@@_mathml_#3_tl} - \tl_gset_eq:cN{g_@@_mathml_#3_tl}\l_tmpa_tl + \tl_gset_eq:cN{g_@@_mathml_#3_tl}\l_@@_tmpa_tl } } % \end{macrocode} @@ -1374,17 +1374,18 @@ \@@_process:nn { math } {#1} % $ % \end{macrocode} % We do not want math tagging in fakemath or when measuring, +% We also do not want math tagging if tagging has been suspended. % \begin{macrocode} \bool_lazy_or:nnTF {\legacy_if_p:n { measuring@ }} { \l_@@_fakemath_bool } { #1 $ } { - \socket_use:n {tagsupport/math/inline/begin} %end P-MC - \socket_use:nn{tagsupport/math/inline/formula/begin}{#1} + \tag_socket_use:n {math/inline/begin} %end P-MC + \tag_socket_use:nn {math/inline/formula/begin}{#1} $ - \socket_use:n {tagsupport/math/inline/formula/end} - \socket_use:n {tagsupport/math/inline/end} % restart P-MC + \tag_socket_use:n {math/inline/formula/end} + \tag_socket_use:n {math/inline/end} % restart P-MC } } } |