Skip to content

Commit

Permalink
Enable math grabbing in tabulars
Browse files Browse the repository at this point in the history
Currently done by adding directly to an internal:
needs a proper interface.
  • Loading branch information
josephwright committed Aug 12, 2024
1 parent 22964cc commit 0b3d3d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions required/latex-lab/latex-lab-math.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2034,6 +2034,10 @@
\bool_set_false:N \l_@@_collected_bool
\col@sep\tabcolsep \let\d@llarbegin\begingroup
\let\d@llarend\endgroup
% \end{macrocode}
% A proper switching mechanism is needed: for the present, do directly.
% \begin{macrocode}
\cs_set_protected:Npn \@@_grab_dollar:w { \@@_grab_dollar_loop: }
\@tabarray}
}
% \end{macrocode}
Expand Down
1 change: 0 additions & 1 deletion required/latex-lab/testfiles-math/mathcapture-019.lvt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@


\ExplSyntaxOn
\cs_gset_protected:Npn \__math_grab_dollar:w { \__math_grab_dollar_loop: }
\math_processor:n
{
\TYPE {-----------------------------------}
Expand Down
4 changes: 2 additions & 2 deletions required/latex-lab/testfiles-math/mathcapture-019.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This is a generated file for the l3build validation system.
Don't change this file in any respect.
-----------------------------------
Math env math
y=mx+c
====>first-result=macro:->y=mx+c
y = mx + c
====>first-result=macro:->y = mx + c
====>first-tmpmathcontent=macro:->
====>formula has no subparts
-----------------------------------
Expand Down

0 comments on commit 0b3d3d0

Please sign in to comment.