[latex3-commits] [latex3/latex2e] latexlab/uf-review-math: check math code WIP [ci-skip] (20731c34)

github at latex-project.org github at latex-project.org
Fri Oct 13 16:42:09 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : latexlab/uf-review-math
Link       : https://github.com/latex3/latex2e/commit/20731c3486cdf21b6a2e7d3f5901fc2b8a1d6eb7

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

commit 20731c3486cdf21b6a2e7d3f5901fc2b8a1d6eb7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Oct 13 16:42:09 2023 +0200

    check math code WIP [ci-skip]


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

20731c3486cdf21b6a2e7d3f5901fc2b8a1d6eb7
 required/latex-lab/latex-lab-math.dtx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index b327a6b9..54db6b9d 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -164,8 +164,7 @@
 %    presumably)\\
 %    - Math environments created with \pkg{ltcmd} [commands] should not be copied, . . .\\
 %    - Package authors should be able to manually set up math environments with a public boolean.}
-%
-%   \item 
+%  \item The content of inline math using |\(..\)| is currently not grabbed (perhaps useful??).
 % \end{enumerate} 
 %
 %
@@ -243,6 +242,8 @@
 %        Or do we need an extra storage tl?}
 %
 % \begin{variable}{\g_@@_grabbed_env_tl, \g_@@_grabbed_math_tl}
+% \cs{g_@@_grabbed_env_tl} contains the name of the math environment (\texttt{math} in the case 
+% of inline math, \cs{g_@@_grabbed_math_tl} the math content.
 %    \begin{macrocode}
 \tl_new:N \g_@@_grabbed_env_tl
 \tl_new:N \g_@@_grabbed_math_tl
@@ -312,8 +313,9 @@
 % fairly simple this one
 %    \end{macrocode}
 % We do not want math tagging in fakemath or when measuring, 
-% so we imitate the test inside
-% \cs{@@_process:nn} for now, see https://github.com/latex3/tagging-project/issues/5
+% so we imitate the test inside \cs{@@_process:nn} for now, 
+% see https://github.com/latex3/tagging-project/issues/5
+% TODO: use socket to get more control about typesetting variants (tagged, drop etc)?
 %    \begin{macrocode}
         \legacy_if:nTF { measuring@ }
           { #1 $ }
@@ -328,7 +330,6 @@
                 \tagmcbegin{}  % restart P-chunk (whatsits in pdftex)
               }
           }        
-        
       }
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list.