Skip to content

Commit

Permalink
Account for format when ignoring shipouts that would duplicate implic…
Browse files Browse the repository at this point in the history
…it shipout.
  • Loading branch information
johncbowman committed Sep 14, 2024
1 parent 0ce3edd commit c2422a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/plain_shipout.asy
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ void shipout(string prefix=defaultfilename, frame f,
}
}

bool defaultprefix=prefix==defaultfilename;
bool defaultprefix=prefix == defaultfilename &&
outformat(format) == outformat("");

if(settings.xasy || (!implicitshipout && defaultprefix)) {
if(defaultprefix) {
Expand Down

0 comments on commit c2422a9

Please sign in to comment.