Skip to content

Commit

Permalink
ensure stringified viewport when setting \epfsbox options
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Mar 1, 2024
1 parent c8539e6 commit 30c2a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LaTeXML/Package/epsf.sty.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ DefConstructor('\epsfbox[] Semiverbatim',
properties => sub {
my ($document, $bb, $graphic) = @_;
my $clip = LookupValue('epsf_clip');
my $options = ($clip ? ($bb ? "viewport=$bb, clip" : "clip") : '');
my $options = ($clip ? ($bb ? "viewport=" . ToString($bb) . ", clip" : "clip") : '');
my ($file, @candidates) = image_candidates(ToString($graphic));
my $w = LookupRegister('\epsfxsize');
my $h = LookupRegister('\epsfysize');
Expand Down

0 comments on commit 30c2a41

Please sign in to comment.