summaryrefslogtreecommitdiff
path: root/Master/texmf/asymptote
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-06 00:30:47 +0000
committerKarl Berry <karl@freefriends.org>2010-07-06 00:30:47 +0000
commit4631b9a200935cb69b604b1d7995fb0d85b229f2 (patch)
treeb03258a2bf431479101a4fb0da8140bf8333125c /Master/texmf/asymptote
parent70c6e0a0899e6702c8ef39120dc725da1b9ab36c (diff)
asymptote 2.01
git-svn-id: svn://tug.org/texlive/trunk@19252 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/asymptote')
-rwxr-xr-xMaster/texmf/asymptote/GUI/xasyVersion.py2
-rw-r--r--Master/texmf/asymptote/asy-keywords.el2
-rw-r--r--Master/texmf/asymptote/binarytree.asy2
-rw-r--r--Master/texmf/asymptote/fontsize.asy2
-rw-r--r--Master/texmf/asymptote/plain.asy4
-rw-r--r--Master/texmf/asymptote/three.asy7
-rw-r--r--Master/texmf/asymptote/version.asy2
7 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf/asymptote/GUI/xasyVersion.py b/Master/texmf/asymptote/GUI/xasyVersion.py
index 01d9ae47f55..8183dae8688 100755
--- a/Master/texmf/asymptote/GUI/xasyVersion.py
+++ b/Master/texmf/asymptote/GUI/xasyVersion.py
@@ -1,2 +1,2 @@
#!/usr/bin/env python
-xasyVersion = "2.00"
+xasyVersion = "2.01"
diff --git a/Master/texmf/asymptote/asy-keywords.el b/Master/texmf/asymptote/asy-keywords.el
index d49d2af2bfe..1b4365b88f5 100644
--- a/Master/texmf/asymptote/asy-keywords.el
+++ b/Master/texmf/asymptote/asy-keywords.el
@@ -2,7 +2,7 @@
;; This file is automatically generated by asy-list.pl.
;; Changes will be overwritten.
;;
-(defvar asy-keywords-version "2.00")
+(defvar asy-keywords-version "2.01")
(defvar asy-keyword-name '(
and controls tension atleast curl if else while for do return break continue struct typedef new access import unravel from include quote static public private restricted this explicit true false null cycle newframe operator ))
diff --git a/Master/texmf/asymptote/binarytree.asy b/Master/texmf/asymptote/binarytree.asy
index 7bbd1de2148..0a80aec4b66 100644
--- a/Master/texmf/asymptote/binarytree.asy
+++ b/Master/texmf/asymptote/binarytree.asy
@@ -154,7 +154,7 @@ object draw(picture pic=currentpicture, binarytreeNode node, pair pos,
// calculate connection path
transform T=shift(nodeDiameter/2*unit(t*childPos-t*parentPos));
path arr=(T*t*parentPos)--(inverse(T)*t*childPos);
- draw(f,arr,p,Arrow(5));
+ draw(f,PenMargin(arr,p).g,p,Arrow(5));
});
pic.addPoint(parentPos);
pic.addPoint(childPos);
diff --git a/Master/texmf/asymptote/fontsize.asy b/Master/texmf/asymptote/fontsize.asy
index 4575f3480fa..54b01829550 100644
--- a/Master/texmf/asymptote/fontsize.asy
+++ b/Master/texmf/asymptote/fontsize.asy
@@ -1 +1 @@
-if(latex()) usepackage("fix-cm");
+if(latex()) usepackage("type1cm");
diff --git a/Master/texmf/asymptote/plain.asy b/Master/texmf/asymptote/plain.asy
index 4d0b4e566fb..76f77aaf52c 100644
--- a/Master/texmf/asymptote/plain.asy
+++ b/Master/texmf/asymptote/plain.asy
@@ -190,8 +190,7 @@ void usersetting()
// Conditionally process each file name in array s in a new environment.
void asy(string format, bool overwrite=false ... string[] s)
{
- for(int i=0; i < s.length; ++i) {
- string f=s[i];
+ for(string f : s) {
int n=rfind(f,".asy");
if(n != -1) f=erase(f,n,-1);
if(overwrite || error(input(f+"."+format,check=false))) {
@@ -201,6 +200,7 @@ void asy(string format, bool overwrite=false ... string[] s)
settings.outformat=format;
settings.interactiveView=false;
settings.batchView=false;
+ delete(outname()+"_"+".aux");
eval("defaultfilename=\""+f+"\"; import \""+f+
"\" as dummy; exitfunction()");
settings.outformat=outformat;
diff --git a/Master/texmf/asymptote/three.asy b/Master/texmf/asymptote/three.asy
index 528a1da13c1..4221646f632 100644
--- a/Master/texmf/asymptote/three.asy
+++ b/Master/texmf/asymptote/three.asy
@@ -251,9 +251,12 @@ projection operator * (transform3 t, projection P)
projection P=P.copy();
if(!P.absolute) {
P.camera=t*P.camera;
- P.normal=t*(P.target+P.normal);
+ triple target=P.target;
P.target=t*P.target;
- P.normal -= P.target;
+ if(P.infinity)
+ P.normal=t*(target+P.normal)-P.target;
+ else
+ P.normal=P.vector();
P.calculate();
}
return P;
diff --git a/Master/texmf/asymptote/version.asy b/Master/texmf/asymptote/version.asy
index c2011eb0a90..46cd98e4887 100644
--- a/Master/texmf/asymptote/version.asy
+++ b/Master/texmf/asymptote/version.asy
@@ -1 +1 @@
-string VERSION="2.00";
+string VERSION="2.01";