summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy b/Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy
index be8b339767d..88eae565a34 100644
--- a/Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/floatingdisk.asy
@@ -1,5 +1,7 @@
import trembling;
-settings.outformat="pdf";
+if(settings.outformat == "")
+ settings.outformat="pdf";
+
size(6cm,0);
real R=1/5;