diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-12 23:01:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-12 23:01:15 +0000 |
commit | 6128978e2dfcec884dc7e267ad57a10fdeaa9060 (patch) | |
tree | ca07615b8a94b0e6f6f8136264dedee23d55a4d9 | |
parent | ddf191164edb5155c403b9b622dbd3e4d0822cd0 (diff) |
asymptote 2.38
git-svn-id: svn://tug.org/texlive/trunk@41076 c570f23f-e606-0410-a88d-b1316a301751
15 files changed, 193 insertions, 186 deletions
diff --git a/Master/bin/i386-linux/asy b/Master/bin/i386-linux/asy Binary files differindex 7506dd41dca..e59d92af953 100755 --- a/Master/bin/i386-linux/asy +++ b/Master/bin/i386-linux/asy diff --git a/Master/texmf-dist/asymptote/GUI/xasyVersion.py b/Master/texmf-dist/asymptote/GUI/xasyVersion.py index 83cd6c96fa7..1ef1c03069e 100755 --- a/Master/texmf-dist/asymptote/GUI/xasyVersion.py +++ b/Master/texmf-dist/asymptote/GUI/xasyVersion.py @@ -1,2 +1,2 @@ #!/usr/bin/env python -xasyVersion = "2.37" +xasyVersion = "2.38" diff --git a/Master/texmf-dist/asymptote/asy-keywords.el b/Master/texmf-dist/asymptote/asy-keywords.el index 2b6e9e561d4..4d166f4cab8 100644 --- a/Master/texmf-dist/asymptote/asy-keywords.el +++ b/Master/texmf-dist/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.37") +(defvar asy-keywords-version "2.38") (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-dist/asymptote/solids.asy b/Master/texmf-dist/asymptote/solids.asy index 09bccd32aa9..90f01dc935f 100644 --- a/Master/texmf-dist/asymptote/solids.asy +++ b/Master/texmf-dist/asymptote/solids.asy @@ -300,7 +300,8 @@ struct revolution { path3 p1=subpath(p,0,t); path3 p2=subpath(p,t,length(p)); if(length(p1) > 0 && - abs(midpoint(p1)-camera) <= abs(midpoint(p2)-camera)) { + (length(p2) == 0 || + abs(midpoint(p1)-camera) <= abs(midpoint(p2)-camera))) { s.longitudinal.front.push(p1); s.longitudinal.back.push(p2); } else { diff --git a/Master/texmf-dist/asymptote/version.asy b/Master/texmf-dist/asymptote/version.asy index 7cd9bd7a245..971aacd2582 100644 --- a/Master/texmf-dist/asymptote/version.asy +++ b/Master/texmf-dist/asymptote/version.asy @@ -1 +1 @@ -string VERSION="2.37"; +string VERSION="2.38"; diff --git a/Master/texmf-dist/doc/asymptote/CAD.pdf b/Master/texmf-dist/doc/asymptote/CAD.pdf Binary files differindex 41fbbc97347..a7b2400fd9b 100644 --- a/Master/texmf-dist/doc/asymptote/CAD.pdf +++ b/Master/texmf-dist/doc/asymptote/CAD.pdf diff --git a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf Binary files differindex fe6030b1ff3..e6c32ee7055 100644 --- a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf +++ b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf diff --git a/Master/texmf-dist/doc/asymptote/asy-latex.pdf b/Master/texmf-dist/doc/asymptote/asy-latex.pdf Binary files differindex 707a3682690..7e15edf6287 100644 --- a/Master/texmf-dist/doc/asymptote/asy-latex.pdf +++ b/Master/texmf-dist/doc/asymptote/asy-latex.pdf diff --git a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf Binary files differindex 4dd99ef2fc3..b64189979a5 100644 --- a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf +++ b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf diff --git a/Master/texmf-dist/doc/asymptote/asymptote.pdf b/Master/texmf-dist/doc/asymptote/asymptote.pdf Binary files differindex 36bc50b8c33..1b43272e3d9 100644 --- a/Master/texmf-dist/doc/asymptote/asymptote.pdf +++ b/Master/texmf-dist/doc/asymptote/asymptote.pdf diff --git a/Master/texmf-dist/doc/info/asy-faq.info b/Master/texmf-dist/doc/info/asy-faq.info index 035dbfdb1c1..b213a530b1e 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 - 13 Mar 2016 + 12 May 2016 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 980fe6df2fe..68ca0b2a442 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.37. +This file documents 'Asymptote', version 2.38. <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.37. +This file documents 'Asymptote', version 2.38. <http://asymptote.sourceforge.net> @@ -531,7 +531,7 @@ done as the root user. To install without root privileges, change the with './configure --disable-gc'. For a list of other configuration options, say './configure --help'. For example, one can tell configure to look for header files and libraries in nonstandard locations: -./configure CXXFLAGS=-I/opt/usr/include LDFLAGS=-L/opt/usr/lib +./configure CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib If you are compiling 'Asymptote' with 'gcc', you will need a relatively recent version (e.g. 3.4.4 or later). For full interactive @@ -3436,22 +3436,27 @@ File: asymptote.info, Node: Arithmetic & logical, Next: Self & prefix operator 'Asymptote' uses the standard binary arithmetic operators. However, when one integer is divided by another, both arguments are converted to real values before dividing and a real quotient is returned (since this -is usually what is intended). The function 'int quotient(int x, int y)' -returns the greatest integer less than or equal to 'x/y'. In all other -cases both operands are promoted to the same type, which will also be -the type of the result: +is typically what is intended; otherwise one can use the function 'int +quotient(int x, int y)', which returns greatest integer less than or +equal to 'x/y'). In all other cases both operands are promoted to the +same type, which will also be the type of the result: '+' addition '-' - subtraction + subtractiona '*' multiplication '/' division +'#' + integer division; equivalent to 'quotient(x,y)'. Noting that the + 'Python3' community adopted our comment symbol ('//') for integer + division, we decided to reciprocate and use their comment symbol + for integer division in 'Asymptote'! '%' modulo; the result always has the same sign as the divisor. In - particular, this makes 'q*quotient(p,q)+p%q == p' for all integers - 'p' and nonzero integers 'q'. + particular, this makes 'q*(p # q)+p % q == p' for all integers 'p' + and nonzero integers 'q'. '^' power; if the exponent (second argument) is an int, recursive multiplication is used; otherwise, logarithms and exponentials are @@ -3500,8 +3505,8 @@ File: asymptote.info, Node: Self & prefix operators, Next: User-defined operat 6.9.2 Self & prefix operators ----------------------------- -As in C, each of the arithmetic operators '+', '-', '*', '/', '%', and -'^' can be used as a self operator. The prefix operators '++' +As in C, each of the arithmetic operators '+', '-', '*', '/', '#', '%', +and '^' can be used as a self operator. The prefix operators '++' (increment by one) and '--' (decrement by one) are also defined. For example, int i=1; @@ -8420,9 +8425,8 @@ To receive announcements of upcoming releases, please subscribe to <http://freecode.com/projects/asy> If you find a bug in 'Asymptote', please check (if possible) whether the bug is still present in the latest 'git' developmental code (*note -Git::) before submitting a bug report. New bugs can be submitted using -the Bug Tracking System at - <http://sourceforge.net/projects/asymptote> +Git::) before submitting a bug report. New bugs can be reported at + <https://github.com/vectorgraphics/asymptote/issues> To see if the bug has already been fixed, check bugs with Status 'Closed' and recent lines in <http://asymptote.sourceforge.net/ChangeLog> @@ -8533,25 +8537,27 @@ Index * Menu: * '!': Arithmetic & logical. - (line 52) + (line 57) * '!=': Structures. (line 62) * '!=' <1>: Arithmetic & logical. - (line 32) -* '%': Arithmetic & logical. + (line 37) +* '#': Arithmetic & logical. (line 20) +* '%': Arithmetic & logical. + (line 25) * '%' <1>: Interactive mode. (line 16) * '%=': Self & prefix operators. (line 6) * '&': Bezier curves. (line 84) * '&' <1>: Arithmetic & logical. - (line 44) + (line 49) * '&&': Arithmetic & logical. - (line 42) + (line 47) * '*': Pens. (line 15) * '*' <1>: Arithmetic & logical. (line 16) * '**': Arithmetic & logical. - (line 26) + (line 31) * '*=': Self & prefix operators. (line 6) * '+': Pens. (line 15) @@ -8586,32 +8592,32 @@ Index * 3D grids: grid3. (line 6) * 3D 'PostScript': three. (line 580) * ':': Arithmetic & logical. - (line 56) + (line 61) * '::': Bezier curves. (line 70) * '<': Arithmetic & logical. - (line 34) + (line 39) * '<=': Arithmetic & logical. - (line 36) + (line 41) * '==': Structures. (line 62) * '==' <1>: Arithmetic & logical. - (line 31) + (line 36) * '>': Arithmetic & logical. - (line 40) + (line 45) * '>=': Arithmetic & logical. - (line 38) + (line 43) * '?': Arithmetic & logical. - (line 56) + (line 61) * '^': Arithmetic & logical. - (line 24) + (line 29) * '^' <1>: Arithmetic & logical. - (line 50) + (line 55) * '^=': Self & prefix operators. (line 6) * '^^': Paths. (line 23) * '|': Arithmetic & logical. - (line 48) + (line 53) * '||': Arithmetic & logical. - (line 46) + (line 51) * 'a4': Configuring. (line 59) * 'abort': Data types. (line 358) * 'abs': Data types. (line 65) @@ -8649,7 +8655,7 @@ Index * 'Allow': Pens. (line 343) * 'and': Bezier curves. (line 56) * 'AND': Arithmetic & logical. - (line 63) + (line 68) * 'angle': Data types. (line 73) * 'animate': Configuring. (line 65) * 'animate' <1>: Files. (line 155) @@ -8851,7 +8857,7 @@ Index * 'clear' <1>: Debugger. (line 23) * 'clip': clip. (line 6) * 'CLZ': Arithmetic & logical. - (line 63) + (line 68) * 'cm': Figure size. (line 18) * 'cmd': Configuring. (line 32) * 'cmyk': Pens. (line 34) @@ -8874,7 +8880,7 @@ Index * 'concat': Arrays. (line 167) * conditional: Programming. (line 26) * conditional <1>: Arithmetic & logical. - (line 56) + (line 61) * 'config': Configuring. (line 65) * 'config' <1>: Options. (line 117) * configuration file: Configuring. (line 22) @@ -8913,7 +8919,7 @@ Index * crosshatch: Pens. (line 282) * 'csv': Arrays. (line 351) * 'CTZ': Arithmetic & logical. - (line 63) + (line 68) * 'cubicroots': Arrays. (line 308) * 'curl': Bezier curves. (line 66) * 'curl' <1>: three. (line 6) @@ -9256,14 +9262,14 @@ Index * installation: Installation. (line 6) * 'int': Data types. (line 30) * integer division: Arithmetic & logical. - (line 6) + (line 20) * interactive mode: Drawing in interactive mode. (line 6) * interactive mode <1>: Interactive mode. (line 6) * 'interior': Paths and guides. (line 290) * international characters: unicode. (line 6) * 'interp': Arithmetic & logical. - (line 59) + (line 64) * 'interpolate': interpolate. (line 6) * 'intersect': Paths and guides. (line 195) * 'intersect' <1>: math. (line 13) @@ -9360,7 +9366,7 @@ Index * 'libm' routines: Mathematical functions. (line 6) * 'libsigsegv': Functions. (line 100) -* 'libsigsegv' <1>: Help. (line 28) +* 'libsigsegv' <1>: Help. (line 27) * 'limits': graph. (line 640) * 'line': Arrays. (line 333) * 'line' <1>: Arrays. (line 337) @@ -9486,7 +9492,7 @@ Index * 'normal': three. (line 470) * 'nosafe': Options. (line 170) * 'NOT': Arithmetic & logical. - (line 63) + (line 68) * 'notaknot': graph. (line 36) * 'NoTicks': graph. (line 160) * 'NoTicks3': graph3. (line 35) @@ -9525,7 +9531,7 @@ Index * operators: Operators. (line 6) * options: Options. (line 6) * 'OR': Arithmetic & logical. - (line 63) + (line 68) * 'orient': Data types. (line 108) * 'orient' <1>: three. (line 501) * 'orientation': Frames and pictures. @@ -9742,7 +9748,7 @@ Index * 'seek': Files. (line 93) * 'seekeof': Files. (line 93) * 'segment': math. (line 50) -* segmentation fault: Help. (line 28) +* segmentation fault: Help. (line 27) * self operators: Self & prefix operators. (line 6) * 'sequence': Arrays. (line 118) @@ -9822,7 +9828,7 @@ Index (line 39) * stack overflow: Functions. (line 100) * stack overflow <1>: Functions. (line 100) -* stack overflow <2>: Help. (line 28) +* stack overflow <2>: Help. (line 27) * 'static': Static. (line 6) * 'stats': stats. (line 6) * 'stdin': Files. (line 48) @@ -10023,7 +10029,7 @@ Index * 'xequals': graph. (line 278) * 'xlimits': graph. (line 640) * 'XOR': Arithmetic & logical. - (line 63) + (line 68) * 'xpart': Data types. (line 94) * 'xpart' <1>: Data types. (line 184) * 'xscale': Transforms. (line 30) @@ -10089,142 +10095,142 @@ Ref: psview14549 Node: Configuring15485 Node: Search paths19720 Node: Compiling from UNIX source20559 -Node: Editing modes23589 -Node: Git26010 -Node: Uninstall26409 -Node: Tutorial26751 -Node: Drawing in batch mode27639 -Node: Drawing in interactive mode28514 -Node: Figure size29546 -Node: Labels31138 -Node: Paths31965 -Ref: unitcircle32580 -Node: Drawing commands34480 -Node: draw36195 -Ref: arrows37377 -Node: fill42625 -Ref: gradient shading43671 -Node: clip48187 -Node: label48783 -Ref: Label49383 -Node: Bezier curves55227 -Node: Programming59124 -Ref: array iteration60877 -Node: Data types61044 -Ref: format71494 -Node: Paths and guides75913 -Ref: circle76167 -Ref: extension85849 -Node: Pens92628 -Ref: fillrule100135 -Ref: basealign101039 -Ref: transparency103873 -Ref: makepen107418 -Ref: overwrite108296 -Node: Transforms109510 -Node: Frames and pictures111292 -Ref: envelope112450 -Ref: size113543 -Ref: unitsize114530 -Ref: shipout115603 -Ref: filltype117954 -Ref: add121126 -Ref: add about122132 -Ref: tex125136 -Node: Files126031 -Ref: cd127018 -Ref: scroll131703 -Node: Variable initializers134621 -Node: Structures137338 -Node: Operators144835 -Node: Arithmetic & logical145149 -Node: Self & prefix operators147108 -Node: User-defined operators147897 -Node: Implicit scaling148807 -Node: Functions149370 -Ref: stack overflow152438 -Node: Default arguments152720 -Node: Named arguments153476 -Node: Rest arguments156046 -Node: Mathematical functions159167 -Node: Arrays163830 -Ref: sort170812 -Ref: tridiagonal173241 -Ref: solve174472 -Node: Slices178611 -Node: Casts182519 -Node: Import184490 -Node: Static189737 -Node: LaTeX usage192630 -Node: Base modules199135 -Node: plain201692 -Node: simplex202366 -Node: math202640 -Node: interpolate205349 -Node: geometry205628 -Node: trembling206222 -Node: stats206491 -Node: patterns206751 -Node: markers206987 -Node: tree208847 -Node: binarytree209032 -Node: drawtree209698 -Node: syzygy209899 -Node: feynman210173 -Node: roundedpath210448 -Node: animation210731 -Ref: animate211152 -Node: embed212269 -Node: slide213224 -Node: MetaPost213565 -Node: unicode214284 -Node: latin1215158 -Node: babel215527 -Node: labelpath215757 -Node: labelpath3216578 -Node: annotate216889 -Node: CAD217359 -Node: graph217670 -Ref: ticks224820 -Ref: pathmarkers238452 -Ref: marker238922 -Ref: markuniform239276 -Ref: errorbars241074 -Ref: automatic scaling245358 -Node: palette256634 -Ref: images256752 -Ref: image260926 -Ref: logimage261446 -Ref: penimage262551 -Ref: penfunctionimage262813 -Node: three263584 -Ref: PostScript3D290593 -Node: obj292332 -Node: graph3292581 -Ref: GaussianSurface297860 -Node: grid3299009 -Node: solids299793 -Node: tube300785 -Node: flowchart303019 -Node: contour307627 -Node: contour3312938 -Node: smoothcontour3313251 -Node: slopefield314970 -Node: ode316458 -Node: Options316715 -Ref: configuration file322878 -Ref: settings322878 -Ref: texengines324121 -Ref: convert324121 -Node: Interactive mode327444 -Ref: history329593 -Node: GUI330897 -Node: GUI installation331448 -Node: GUI usage332359 -Node: PostScript to Asymptote333267 -Node: Help334025 -Node: Debugger335701 -Node: Credits337457 -Node: Index338439 +Node: Editing modes23593 +Node: Git26014 +Node: Uninstall26413 +Node: Tutorial26755 +Node: Drawing in batch mode27643 +Node: Drawing in interactive mode28518 +Node: Figure size29550 +Node: Labels31142 +Node: Paths31969 +Ref: unitcircle32584 +Node: Drawing commands34484 +Node: draw36199 +Ref: arrows37381 +Node: fill42629 +Ref: gradient shading43675 +Node: clip48191 +Node: label48787 +Ref: Label49387 +Node: Bezier curves55231 +Node: Programming59128 +Ref: array iteration60881 +Node: Data types61048 +Ref: format71498 +Node: Paths and guides75917 +Ref: circle76171 +Ref: extension85853 +Node: Pens92632 +Ref: fillrule100139 +Ref: basealign101043 +Ref: transparency103877 +Ref: makepen107422 +Ref: overwrite108300 +Node: Transforms109514 +Node: Frames and pictures111296 +Ref: envelope112454 +Ref: size113547 +Ref: unitsize114534 +Ref: shipout115607 +Ref: filltype117958 +Ref: add121130 +Ref: add about122136 +Ref: tex125140 +Node: Files126035 +Ref: cd127022 +Ref: scroll131707 +Node: Variable initializers134625 +Node: Structures137342 +Node: Operators144839 +Node: Arithmetic & logical145153 +Node: Self & prefix operators147393 +Node: User-defined operators148187 +Node: Implicit scaling149097 +Node: Functions149660 +Ref: stack overflow152728 +Node: Default arguments153010 +Node: Named arguments153766 +Node: Rest arguments156336 +Node: Mathematical functions159457 +Node: Arrays164120 +Ref: sort171102 +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 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 Binary files differindex 6ce442fccb7..888bf33d69e 100644 --- a/Master/texmf-dist/doc/man/man1/asy.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/asy.man1.pdf diff --git a/Master/texmf-dist/doc/man/man1/xasy.man1.pdf b/Master/texmf-dist/doc/man/man1/xasy.man1.pdf Binary files differindex 3087d4f3a92..1b11bac62b1 100644 --- a/Master/texmf-dist/doc/man/man1/xasy.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/xasy.man1.pdf diff --git a/Master/tlpkg/asymptote/asy.exe b/Master/tlpkg/asymptote/asy.exe Binary files differindex 8807061a89e..a99e5a4714e 100755 --- a/Master/tlpkg/asymptote/asy.exe +++ b/Master/tlpkg/asymptote/asy.exe |