Skip to content

Commit

Permalink
Watch for comment tokens when parsing siunits
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Nov 14, 2024
1 parent 2d8fb00 commit 067a2ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/LaTeXML/Package/siunitx.sty.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ sub six_apply_mathligatures {
my $repl;
if (@tokens && ($repl = $six_mathligatures{ $t->getCSName }{ $tokens[0]->getCSName })) {
shift(@tokens); push(@r, $repl); }
elsif ($t->getCatcode == CC_COMMENT) { }
else {
push(@r, $t); } }
return @r; }
Expand Down

0 comments on commit 067a2ab

Please sign in to comment.