summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/plain_shipout.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-01 23:10:25 +0000
committerKarl Berry <karl@freefriends.org>2020-03-01 23:10:25 +0000
commit81abf43d2b32106102462c3fd1b6c52c0b74f6b7 (patch)
tree8ff3cf992c81a46d17219ac528c3cb6fe7467402 /Master/texmf-dist/asymptote/plain_shipout.asy
parent668f13d96ea148cade89c8813883c8b5a90cb55e (diff)
asymptote 2.62 support files
git-svn-id: svn://tug.org/texlive/trunk@53988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/plain_shipout.asy')
-rw-r--r--Master/texmf-dist/asymptote/plain_shipout.asy6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/asymptote/plain_shipout.asy b/Master/texmf-dist/asymptote/plain_shipout.asy
index 4562205966d..e062a775465 100644
--- a/Master/texmf-dist/asymptote/plain_shipout.asy
+++ b/Master/texmf-dist/asymptote/plain_shipout.asy
@@ -86,6 +86,12 @@ void shipout(string prefix=defaultfilename, frame f,
}
}
+ if(outformat(format) == "html") {
+ warning("htmltosvg",
+ "html output requested for 2D picture; generating svg image instead...");
+ format="svg";
+ }
+
if(settings.xasy || (!implicitshipout && prefix == defaultfilename)) {
if(prefix == defaultfilename) {
currentpicture.clear();