Skip to content

Commit

Permalink
use @@
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrike Fischer authored and josephwright committed Oct 29, 2023
1 parent 6229dfe commit 6cb9a3c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions required/latex-lab/latex-lab-math.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -796,16 +796,16 @@
\tl_gset:Nx\tmpmathcontent
{
LaTeX~ formula~ starts~
\exp_not:N\begin{\g__math_grabbed_env_tl}
\exp_not:N\begin{\g_@@_grabbed_env_tl}
\space
\exp_not:V\g__math_grabbed_math_tl
\exp_not:V\g_@@_grabbed_math_tl
\space
\exp_not:N\end{\g__math_grabbed_env_tl}
\exp_not:N\end{\g_@@_grabbed_env_tl}
\space LaTeX~ formula~ ends~
}
\tagstructbegin{tag=Formula,
AFinline-o=\tmpmathcontent,
title-o=\g__math_grabbed_env_tl,
title-o=\g_@@_grabbed_env_tl,
actualtext=\tmpmathcontent
% alt=\tmpmathcontent
}
Expand Down Expand Up @@ -1220,18 +1220,18 @@
\tl_new:N \result
\cs_new_protected:Npn\grabaformulapartandstart {
\@@_split_at_nl:NN \g__math_grabbed_math_tl \result
\@@_split_at_nl:NN \g_@@_grabbed_math_tl \result
\typeout{====>first-result=\meaning\result}
\typeout{====>first-tmpmathcontent=\meaning\g__math_grabbed_math_tl}
\tl_if_empty:NTF \g__math_grabbed_math_tl
\typeout{====>first-tmpmathcontent=\meaning\g_@@_grabbed_math_tl}
\tl_if_empty:NTF \g_@@_grabbed_math_tl
{
\typeout{====>formula~ has~ no~ subparts}
\global\@subformulasfalse
}
{
\typeout{====>formula~ has~ subparts}
\global\@subformulastrue
\edef\resulttitle{\g__math_grabbed_env_tl\space (part)}
\edef\resulttitle{\g_@@_grabbed_env_tl\space (part)}
\tagstructbegin{tag=Formula,
% \end{macrocode}
% For now we don't put anything in /alt or /ActualText on subformulas
Expand All @@ -1244,16 +1244,16 @@
}
\cs_new_protected:Npn\grabaformulapartandmayberestart {
\@@_split_at_nl:NN \g__math_grabbed_math_tl \result
\@@_split_at_nl:NN \g_@@_grabbed_math_tl \result
\typeout{====>result=\meaning\result}
\typeout{====>tmpmathcontent=\meaning\g__math_grabbed_math_tl}
% \tl_if_empty:NTF \g__math_grabbed_math_tl
\typeout{====>tmpmathcontent=\meaning\g_@@_grabbed_math_tl}
% \tl_if_empty:NTF \g_@@_grabbed_math_tl
% {
% \typeout{====>tmpmathcontent=empty}
% }
% {
% \typeout{====>tmpmathcontent=not-empty}
\edef\resulttitle{\g__math_grabbed_env_tl\space (part)}
\edef\resulttitle{\g_@@_grabbed_env_tl\space (part)}
\tagstructbegin{tag=Formula,
alt=\result,
title-o=\resulttitle
Expand All @@ -1272,7 +1272,7 @@
\if@subformulas
\ifmeasuring@\else
%
\tl_if_empty:NF \g__math_grabbed_math_tl
\tl_if_empty:NF \g_@@_grabbed_math_tl
{
\tagmcend
\tagstructend
Expand Down

0 comments on commit 6cb9a3c

Please sign in to comment.