summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/orthocenter.asy
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/examples/orthocenter.asy')
-rw-r--r--graphics/asymptote/examples/orthocenter.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/examples/orthocenter.asy b/graphics/asymptote/examples/orthocenter.asy
index 8470de7fdd..a7caaf1412 100644
--- a/graphics/asymptote/examples/orthocenter.asy
+++ b/graphics/asymptote/examples/orthocenter.asy
@@ -3,7 +3,7 @@ import math;
size(7cm,0);
-asy(nativeformat(),"examples/Pythagoras");
+if(!settings.xasy && settings.outformat != "svg") settings.tex="pdflatex";
real theta=degrees(asin(0.5/sqrt(7)));
@@ -37,4 +37,4 @@ dot("$A'$",Ap,dir(A--Ap),red);
dot("$B'$",Bp,dir(B--Bp),red);
dot("$C'$",Cp,dir(C--Cp),red);
-label(graphic(outdirectory()+"Pythagoras","width=2.5cm"),Ap,5ENE);
+label(graphic("piicon.png","width=2.5cm, bb=0 0 147 144"),Ap,5ENE);