Skip to content

Commit

Permalink
\hskip needs the flexibility of a Constructor, but still should yield…
Browse files Browse the repository at this point in the history
… pure text spacing in attribute values
  • Loading branch information
brucemiller committed Dec 31, 2024
1 parent 7d2ae5c commit 2edb87b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/LaTeXML/Engine/TeX_Glue.pool.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ DefConstructor('\hskip Glue', sub {
else {
# $document->openText(DimensionToSpaces($length), $props{font}); } },
$document->absorb(DimensionToSpaces($length)); } },
reversion => sub { revertSkip(T_CS('\hskip'), $_[1]); },
properties => sub {
reversion => sub { revertSkip(T_CS('\hskip'), $_[1]); },
toAttribute => sub { DimensionToSpaces($_[1]); },
properties => sub {
my ($stomach, $length) = @_;
(width => $length, isSpace => 1, isSkip => 1); });

Expand Down

0 comments on commit 2edb87b

Please sign in to comment.