summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-16 17:27:26 +0000
committerKarl Berry <karl@freefriends.org>2017-04-16 17:27:26 +0000
commitfbb7e835bffb3653af5165cbcc62aef0df8bfe93 (patch)
tree556994e281f2760742f38823577c476dbcb84122 /Master/texmf-dist/doc
parentdf88f83b1126c57b3ca9b0371071f36caba3fbbf (diff)
asymptote 2.41 for TL17
git-svn-id: svn://tug.org/texlive/trunk@43843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/asymptote/CAD.pdfbin67492 -> 67517 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdfbin31451 -> 31416 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/asy-latex.pdfbin194740 -> 194549 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/asyRefCard.pdfbin53672 -> 53677 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/asymptote.pdfbin1288922 -> 1295140 bytes
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy29
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/colorpatch.asy18
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/washermethod.asy2
-rw-r--r--Master/texmf-dist/doc/info/asy-faq.info2
-rw-r--r--Master/texmf-dist/doc/info/asymptote.info170
-rw-r--r--Master/texmf-dist/doc/man/man1/asy.man1.pdfbin28236 -> 11638 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/xasy.man1.pdfbin14725 -> 3842 bytes
12 files changed, 138 insertions, 83 deletions
diff --git a/Master/texmf-dist/doc/asymptote/CAD.pdf b/Master/texmf-dist/doc/asymptote/CAD.pdf
index a7b2400fd9b..30932b86142 100644
--- a/Master/texmf-dist/doc/asymptote/CAD.pdf
+++ b/Master/texmf-dist/doc/asymptote/CAD.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf
index e6c32ee7055..1f5a1b68f65 100644
--- a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf
+++ b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/asy-latex.pdf b/Master/texmf-dist/doc/asymptote/asy-latex.pdf
index 7e15edf6287..a4175f6eefb 100644
--- a/Master/texmf-dist/doc/asymptote/asy-latex.pdf
+++ b/Master/texmf-dist/doc/asymptote/asy-latex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf
index b64189979a5..208c4eedc18 100644
--- a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf
+++ b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/asymptote.pdf b/Master/texmf-dist/doc/asymptote/asymptote.pdf
index 1b43272e3d9..49d678f6514 100644
--- a/Master/texmf-dist/doc/asymptote/asymptote.pdf
+++ b/Master/texmf-dist/doc/asymptote/asymptote.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy b/Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy
new file mode 100644
index 00000000000..f6c1d1895fc
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/BezierSaddle.asy
@@ -0,0 +1,29 @@
+import three;
+
+size(300);
+
+patch p=patch(unstraighten(unitplane.s[0].external()));
+
+p.P[3][0]+=(0,0,1);
+
+p.P[1][0]+=(0,0,1/3);
+p.P[2][0]+=(0,0,2/3);
+p.P[3][1]+=(0,0,2/3);
+p.P[3][2]+=(0,0,1/3);
+
+p.P[2][1]=interp(p.P[2][0],p.P[2][3],1/3);
+p.P[2][2]=interp(p.P[2][0],p.P[2][3],2/3);
+
+p.P[1][1]=interp(p.P[1][0],p.P[1][3],1/3);
+p.P[1][2]=interp(p.P[1][0],p.P[1][3],2/3);
+
+draw(surface(p),red+opacity(0.75));
+
+void dot(triple[][] P) {
+ for(int i=0; i < 4; ++i)
+ for(int j=0; j < 4; ++j) {
+ draw(string(i)+","+string(j),P[i][j],linewidth(1mm));
+ }
+}
+
+dot(surface(p).s[0].P);
diff --git a/Master/texmf-dist/doc/asymptote/examples/colorpatch.asy b/Master/texmf-dist/doc/asymptote/examples/colorpatch.asy
new file mode 100644
index 00000000000..e0f6b5b4272
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/colorpatch.asy
@@ -0,0 +1,18 @@
+import three;
+currentlight=Viewport;
+
+size(10cm);
+
+surface s=surface(patch(new triple[][] {
+ {(0,0,0),(1,0,0),(1,0,0),(2,0,0)},
+ {(0,1,0),(1,0,1),(1,0,1),(2,1,0)},
+ {(0,1,0),(1,0,-1),(1,0,-1),(2,1,0)},
+ {(0,2,0),(1,2,0),(1,2,0),(2,2,0)}}));
+
+s.s[0].colors=new pen[] {red,green,blue,black};
+draw(s,nolight);
+
+surface t=shift(Z)*unitplane;
+t.s[0].colors=new pen[] {red,green,blue,black};
+
+draw(t,nolight);
diff --git a/Master/texmf-dist/doc/asymptote/examples/washermethod.asy b/Master/texmf-dist/doc/asymptote/examples/washermethod.asy
index d86bf8cd4df..c3177aa111e 100644
--- a/Master/texmf-dist/doc/asymptote/examples/washermethod.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/washermethod.asy
@@ -5,7 +5,7 @@ currentprojection=perspective(0,0,11,up=Y);
pen color1=green+opacity(0.25);
pen color2=red;
-real alpha=250;
+real alpha=240;
real f(real x) {return 2x^2-x^3;}
pair F(real x) {return (x,f(x));}
diff --git a/Master/texmf-dist/doc/info/asy-faq.info b/Master/texmf-dist/doc/info/asy-faq.info
index b213a530b1e..67729d0b5f3 100644
--- a/Master/texmf-dist/doc/info/asy-faq.info
+++ b/Master/texmf-dist/doc/info/asy-faq.info
@@ -10,7 +10,7 @@ END-INFO-DIR-ENTRY
File: asy-faq.info, Node: Top, Next: Question 1.1, Up: (dir)
ASYMPTOTE FREQUENTLY ASKED QUESTIONS
- 12 May 2016
+ 22 Mar 2017
This is the list of Frequently Asked Questions about Asymptote (asy).
diff --git a/Master/texmf-dist/doc/info/asymptote.info b/Master/texmf-dist/doc/info/asymptote.info
index 68ca0b2a442..186c4c7f000 100644
--- a/Master/texmf-dist/doc/info/asymptote.info
+++ b/Master/texmf-dist/doc/info/asymptote.info
@@ -1,7 +1,7 @@
This is asymptote.info, produced by makeinfo version 6.0 from
asymptote.texi.
-This file documents 'Asymptote', version 2.38.
+This file documents 'Asymptote', version 2.41.
<http://asymptote.sourceforge.net>
@@ -22,7 +22,7 @@ File: asymptote.info, Node: Top, Next: Description, Prev: (dir), Up: (dir)
Asymptote
*********
-This file documents 'Asymptote', version 2.38.
+This file documents 'Asymptote', version 2.41.
<http://asymptote.sourceforge.net>
@@ -4454,6 +4454,14 @@ string s=(string) 2.5;
real[] a={2.5,-3.5};
int[] b=(int []) a;
write(stdout,b); // Outputs 2,-3
+ In situations where casting from a string to a type 'T' fails, an
+uninitialized variable is returned; this condition can be detected with
+the function 'bool initialized(T);'
+int i=(int) "2.5";
+assert(initialized(i),"Invalid cast.");
+
+real x=(real) "2.5a";
+assert(initialized(x),"Invalid cast.");
Casting to user-defined types is also possible using 'operator cast':
struct rpair {
@@ -4476,9 +4484,9 @@ some code one wants all integers to represent multiples of 100. To
convert them to reals, one would first want to multiply them by 100.
However, the straightforward implementation
real operator cast(int x) {return x*100;}
- is equivalent to an infinite recursion, since the result 'x*100'
-needs itself to be cast from an integer to a real. Instead, we want to
-use the standard conversion of int to real:
+is equivalent to an infinite recursion, since the result 'x*100' needs
+itself to be cast from an integer to a real. Instead, we want to use
+the standard conversion of int to real:
real convert(int x) {return x*100;}
real operator cast(int x)=convert;
@@ -4741,7 +4749,7 @@ File: asymptote.info, Node: LaTeX usage, Next: Base modules, Prev: Programmin
***************
'Asymptote' comes with a convenient 'LaTeX' style file 'asymptote.sty'
-(v1.30 or later required) that makes 'LaTeX' 'Asymptote'-aware.
+(v1.33 or later required) that makes 'LaTeX' 'Asymptote'-aware.
Entering 'Asymptote' code directly into the 'LaTeX' source file, at the
point where it is needed, keeps figures organized and avoids the need to
invent new file names for each figure. Simply add the line
@@ -9523,8 +9531,8 @@ Index
* 'operator --': graph. (line 30)
* 'operator ..': graph. (line 33)
* 'operator answer': Interactive mode. (line 35)
-* 'operator cast': Casts. (line 30)
-* 'operator ecast': Casts. (line 57)
+* 'operator cast': Casts. (line 38)
+* 'operator ecast': Casts. (line 65)
* 'operator init': Variable initializers.
(line 6)
* 'operator init' <1>: Structures. (line 134)
@@ -10159,78 +10167,78 @@ Ref: tridiagonal173531
Ref: solve174762
Node: Slices178901
Node: Casts182809
-Node: Import184780
-Node: Static190027
-Node: LaTeX usage192920
-Node: Base modules199425
-Node: plain201982
-Node: simplex202656
-Node: math202930
-Node: interpolate205639
-Node: geometry205918
-Node: trembling206512
-Node: stats206781
-Node: patterns207041
-Node: markers207277
-Node: tree209137
-Node: binarytree209322
-Node: drawtree209988
-Node: syzygy210189
-Node: feynman210463
-Node: roundedpath210738
-Node: animation211021
-Ref: animate211442
-Node: embed212559
-Node: slide213514
-Node: MetaPost213855
-Node: unicode214574
-Node: latin1215448
-Node: babel215817
-Node: labelpath216047
-Node: labelpath3216868
-Node: annotate217179
-Node: CAD217649
-Node: graph217960
-Ref: ticks225110
-Ref: pathmarkers238742
-Ref: marker239212
-Ref: markuniform239566
-Ref: errorbars241364
-Ref: automatic scaling245648
-Node: palette256924
-Ref: images257042
-Ref: image261216
-Ref: logimage261736
-Ref: penimage262841
-Ref: penfunctionimage263103
-Node: three263874
-Ref: PostScript3D290883
-Node: obj292622
-Node: graph3292871
-Ref: GaussianSurface298150
-Node: grid3299299
-Node: solids300083
-Node: tube301075
-Node: flowchart303309
-Node: contour307917
-Node: contour3313228
-Node: smoothcontour3313541
-Node: slopefield315260
-Node: ode316748
-Node: Options317005
-Ref: configuration file323168
-Ref: settings323168
-Ref: texengines324411
-Ref: convert324411
-Node: Interactive mode327734
-Ref: history329883
-Node: GUI331187
-Node: GUI installation331738
-Node: GUI usage332649
-Node: PostScript to Asymptote333557
-Node: Help334315
-Node: Debugger335969
-Node: Credits337725
-Node: Index338707
+Node: Import185076
+Node: Static190323
+Node: LaTeX usage193216
+Node: Base modules199721
+Node: plain202278
+Node: simplex202952
+Node: math203226
+Node: interpolate205935
+Node: geometry206214
+Node: trembling206808
+Node: stats207077
+Node: patterns207337
+Node: markers207573
+Node: tree209433
+Node: binarytree209618
+Node: drawtree210284
+Node: syzygy210485
+Node: feynman210759
+Node: roundedpath211034
+Node: animation211317
+Ref: animate211738
+Node: embed212855
+Node: slide213810
+Node: MetaPost214151
+Node: unicode214870
+Node: latin1215744
+Node: babel216113
+Node: labelpath216343
+Node: labelpath3217164
+Node: annotate217475
+Node: CAD217945
+Node: graph218256
+Ref: ticks225406
+Ref: pathmarkers239038
+Ref: marker239508
+Ref: markuniform239862
+Ref: errorbars241660
+Ref: automatic scaling245944
+Node: palette257220
+Ref: images257338
+Ref: image261512
+Ref: logimage262032
+Ref: penimage263137
+Ref: penfunctionimage263399
+Node: three264170
+Ref: PostScript3D291179
+Node: obj292918
+Node: graph3293167
+Ref: GaussianSurface298446
+Node: grid3299595
+Node: solids300379
+Node: tube301371
+Node: flowchart303605
+Node: contour308213
+Node: contour3313524
+Node: smoothcontour3313837
+Node: slopefield315556
+Node: ode317044
+Node: Options317301
+Ref: configuration file323464
+Ref: settings323464
+Ref: texengines324707
+Ref: convert324707
+Node: Interactive mode328030
+Ref: history330179
+Node: GUI331483
+Node: GUI installation332034
+Node: GUI usage332945
+Node: PostScript to Asymptote333853
+Node: Help334611
+Node: Debugger336265
+Node: Credits338021
+Node: Index339003

End Tag Table
diff --git a/Master/texmf-dist/doc/man/man1/asy.man1.pdf b/Master/texmf-dist/doc/man/man1/asy.man1.pdf
index 888bf33d69e..0cccc39029f 100644
--- a/Master/texmf-dist/doc/man/man1/asy.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/asy.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/man/man1/xasy.man1.pdf b/Master/texmf-dist/doc/man/man1/xasy.man1.pdf
index 1b11bac62b1..1e7bf0ace3a 100644
--- a/Master/texmf-dist/doc/man/man1/xasy.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/xasy.man1.pdf
Binary files differ