From eee5aedecc1c0c3f484016a2b73f29a6f4cb9cb7 Mon Sep 17 00:00:00 2001 From: Mojca Miklavec Date: Sat, 17 May 2014 18:38:56 +0000 Subject: asymptote 2.31 git-svn-id: svn://tug.org/texlive/trunk@34082 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/asymptote/CAD.pdf | Bin 67500 -> 67500 bytes .../doc/asymptote/TeXShopAndAsymptote.pdf | Bin 31516 -> 31527 bytes Master/texmf-dist/doc/asymptote/asy-latex.pdf | Bin 194499 -> 194499 bytes Master/texmf-dist/doc/asymptote/asyRefCard.pdf | Bin 53478 -> 53672 bytes Master/texmf-dist/doc/asymptote/asymptote.pdf | Bin 1271270 -> 1272511 bytes .../examples/animations/embeddedmovie.asy | 2 +- .../doc/asymptote/examples/splitpatch.asy | 8 +- Master/texmf-dist/doc/info/asy-faq.info | 2 +- Master/texmf-dist/doc/info/asymptote.info | 347 +++++++++++---------- Master/texmf-dist/doc/man/man1/asy.1 | 2 +- Master/texmf-dist/doc/man/man1/asy.man1.pdf | Bin 11626 -> 11616 bytes Master/texmf-dist/doc/man/man1/xasy.man1.pdf | Bin 3863 -> 3863 bytes 12 files changed, 183 insertions(+), 178 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/asymptote/CAD.pdf b/Master/texmf-dist/doc/asymptote/CAD.pdf index c66b46cd4f1..ba59db86d8a 100644 Binary files a/Master/texmf-dist/doc/asymptote/CAD.pdf and b/Master/texmf-dist/doc/asymptote/CAD.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf index 0d7ed23167d..82a110f254f 100644 Binary files a/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf and b/Master/texmf-dist/doc/asymptote/TeXShopAndAsymptote.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/asy-latex.pdf b/Master/texmf-dist/doc/asymptote/asy-latex.pdf index f221968b949..33812486191 100644 Binary files a/Master/texmf-dist/doc/asymptote/asy-latex.pdf and b/Master/texmf-dist/doc/asymptote/asy-latex.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf index 58ee3e156e6..66f8027aee6 100644 Binary files a/Master/texmf-dist/doc/asymptote/asyRefCard.pdf and b/Master/texmf-dist/doc/asymptote/asyRefCard.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/asymptote.pdf b/Master/texmf-dist/doc/asymptote/asymptote.pdf index f2a6b867c62..71254d9591b 100644 Binary files a/Master/texmf-dist/doc/asymptote/asymptote.pdf and b/Master/texmf-dist/doc/asymptote/asymptote.pdf differ diff --git a/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy b/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy index 12fdf04dedc..7557266bb00 100644 --- a/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy +++ b/Master/texmf-dist/doc/asymptote/examples/animations/embeddedmovie.asy @@ -1,6 +1,6 @@ // An embedded movie; // -// See http://www.tug.org/tex-archive/macros/latex/contrib/movie15/README +// See http://mirror.ctan.org/macros/latex/contrib/media9/doc/media9.pdf // for documentation of the options. import embed; // Add embedded movie diff --git a/Master/texmf-dist/doc/asymptote/examples/splitpatch.asy b/Master/texmf-dist/doc/asymptote/examples/splitpatch.asy index 2e9fae66431..f8578bbbcc9 100644 --- a/Master/texmf-dist/doc/asymptote/examples/splitpatch.asy +++ b/Master/texmf-dist/doc/asymptote/examples/splitpatch.asy @@ -5,8 +5,8 @@ size(300); // A structure to subdivide two intersecting patches about their intersection. struct split { - surface[] S=sequence(new surface(int i) {return new surface;},1); - surface[] T=sequence(new surface(int i) {return new surface;},1); + surface[] S={new surface}; + surface[] T={new surface}; struct tree { tree[] tree=new tree[2]; @@ -17,7 +17,7 @@ struct split // Subdivide p and q to depth n if they overlap. void write(tree pt, tree qt, triple[][] p, triple[][] q, int depth=n) { --depth; - triple[][][] Split(triple[][] P)=depth % 2 == 0 ? hsplit : vsplit; + triple[][][] Split(triple[][] P, real u=0)=depth % 2 == 0 ? hsplit : vsplit; triple[][][] P=Split(p); triple[][][] Q=Split(q); @@ -40,7 +40,7 @@ struct split // Output the subpatches of p from subdivision. void read(surface[] S, tree t, triple[][] p, int depth=n) { --depth; - triple[][][] Split(triple[][] P)=depth % 2 == 0 ? hsplit : vsplit; + triple[][][] Split(triple[][] P, real u=0)=depth % 2 == 0 ? hsplit : vsplit; triple[][][] P=Split(p); for(int i=0; i < 2; ++i) { diff --git a/Master/texmf-dist/doc/info/asy-faq.info b/Master/texmf-dist/doc/info/asy-faq.info index dde23dadbf6..a49da13ab3b 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 - 28 Apr 2014 + 16 May 2014 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 23fc5a09702..168b13ba5a9 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 4.13 from ../asymptote.texi. -This file documents `Asymptote', version 2.27. +This file documents `Asymptote', version 2.31. `http://asymptote.sourceforge.net' @@ -23,7 +23,7 @@ File: asymptote.info, Node: Top, Next: Description, Up: (dir) Asymptote ********* -This file documents `Asymptote', version 2.27. +This file documents `Asymptote', version 2.31. `http://asymptote.sourceforge.net' @@ -428,6 +428,7 @@ variables `paperwidth' and `paperheight'. The following configuration variables normally do not require adjustment: +config texpath texcommand dvips @@ -436,8 +437,8 @@ libgs convert display animate - Warnings (such as "writeoverloaded") may be enabled or disabled with -the functions + Warnings (such as "unbounded" and "offaxis") may be enabled or +disabled with the functions warn(string s); nowarn(string s); or by directly modifying the string array `settings.suppress', which @@ -1082,8 +1083,8 @@ void draw(picture pic=currentpicture, pen fillrule=currentpen, path[] g, example files `tensor.asy', `Coons.asy', `BezierSurface.asy', and `rainbow.asy'. - More general shading possibilities are available with the `pdflatex', -`context', and `pdftex' TeX engines: the routine + More general shading possibilities are available using TeX engines +that produce PDF output (*note texengines::): the routine void functionshade(picture pic=currentpicture, path[] g, bool stroke=false, pen fillrule=currentpen, string shader); shades on picture `pic' the interior of path `g' according to fill @@ -3179,11 +3180,22 @@ struct T { ++Tcount; } +T foo=new T; T foo; - - Here, the expression `new T' will produce a new instance of the -class, but will also cause `Tcount' to be incremented, so that it keeps -track of the number of instances produced. + Here, `new T' produces a new instance of the class, which causes +`Tcount' to be incremented, tracking the number of instances produced. +The declarations `T foo=new T' and `T foo' are equivalent: the second +form implicitly creates a new instance of `T'. That is, after the +definition of a structure `T', a variable of type `T' is initialized to +a new instance (`new T') by default. During the definition of the +structure, however, variables of type `T' are initialized to `null' by +default. This special behaviour is to avoid infinite recursion of +creating new instances in code such as +struct tree { + int value; + tree left; + tree right; +} The expression `null' can be cast to any structure type to yield a null reference, a reference that does not actually refer to any @@ -3192,23 +3204,12 @@ will cause an error. The function `bool alias(T,T)' checks to see if two structure references refer to the same instance of the structure (or both to -`null'). For example, in the example code at the start of the section, -`alias(foo,bar)' would return true, but `alias(foo,new T)' would return -false, as `new T' creates a new instance of the structure `T'. The -boolean operators `==' and `!=' are by default equivalent to `alias' and -`!alias' respectively, but may be overwritten for a particular type -(for example, to do a deep comparison). - - After the definition of a structure `T', a variable of type `T' is -initialized to a new instance (`new T') by default. During the -definition of the structure, however, variables of type `T' are -initialized to `null' by default. This special behaviour is to avoid -infinite recursion of creating new instances in code such as -struct tree { - int value; - tree left; - tree right; -} +`null'). In example at the beginning of this section, `alias(foo,bar)' +would return true, but `alias(foo,new T)' would return false, as `new +T' creates a new instance of the structure `T'. The boolean operators +`==' and `!=' are by default equivalent to `alias' and `!alias' +respectively, but may be overwritten for a particular type (for +example, to do a deep comparison). Here is a simple example that illustrates the use of structures: struct S { @@ -4732,7 +4733,7 @@ pdflatex latexusage `http://mirror.ctan.org/support/latexmk/' after putting the contents of -`http://asymptote.svn.sourceforge.net/viewvc/asymptote/trunk/asymptote/doc/latexmkrc' +`http://sourceforge.net/p/asymptote/code/HEAD/tree/trunk/asymptote/doc/latexmkrc' in a file `latexmkrc' in the same directory. The command latexmk -pdf latexusage will then call `Asymptote' automatically, recompiling only the figures @@ -4741,7 +4742,7 @@ process, this method also tends to use less memory. To store the figures in a separate directory named `asy', one can define \def\asydir{asy} in `latexusage.tex' and put the contents of -`http://asymptote.svn.sourceforge.net/viewvc/asymptote/trunk/asymptote/doc/latexmkrc_asydir' +`http://sourceforge.net/p/asymptote/code/HEAD/tree/trunk/asymptote/doc/latexmkrc_asydir' in a file `latexmkrc' in the same directory. External `Asymptote' code in `filename.asy' should be included with \asyinclude[]{} @@ -8020,7 +8021,7 @@ Options (negate by replacing - with -no): -spinstep deg/s Spin speed [60] -svgemulation Emulate unimplemented SVG shading [false] -tabcompletion Interactive prompt auto-completion [true] --tex engine latex|pdflatex|xelatex|tex|pdftex|context|none [latex] +-tex engine latex|pdflatex|xelatex|tex|pdftex|luatex|lualatex|none [latex] -thick Render thick 3D lines [true] -thin Render thin 3D lines [true] -threads Use POSIX threads for 3D rendering [true] @@ -8084,9 +8085,9 @@ settings.autoplain=true; `Asymptote' code. The default output format is EPS for the (default) `latex' and `tex' -tex engine and PDF for the `pdflatex', `xelatex', and `context' tex -engines. Alternative output formats may be produced using the `-f' -option (or `outformat' setting). +tex engine and PDF for the `pdflatex', `xelatex', `context', `luatex', +and `lualatex' tex engines. Alternative output formats may be produced +using the `-f' option (or `outformat' setting). To produce SVG output, you will need `dvisvgm' (version 0.8.7 or later) from `http://dvisvgm.sourceforge.net' and must use the `latex' @@ -8482,7 +8483,7 @@ Index (line 68) * != <1>: Arithmetic & logical. (line 38) -* !=: Structures. (line 52) +* !=: Structures. (line 63) * % <1>: Interactive mode. (line 17) * %: Arithmetic & logical. (line 23) @@ -8539,7 +8540,7 @@ Index (line 44) * == <1>: Arithmetic & logical. (line 37) -* ==: Structures. (line 52) +* ==: Structures. (line 63) * >: Arithmetic & logical. (line 50) * >=: Arithmetic & logical. @@ -8577,7 +8578,7 @@ Index * Airy: Mathematical functions. (line 48) * alias <1>: Arrays. (line 181) -* alias: Structures. (line 52) +* alias: Structures. (line 63) * align: Options. (line 174) * Align: label. (line 12) * all: Arrays. (line 329) @@ -8781,7 +8782,7 @@ Index * comma: Files. (line 61) * comma-separated-value mode: Arrays. (line 362) * command-line options <1>: Options. (line 6) -* command-line options: Configuring. (line 84) +* command-line options: Configuring. (line 85) * comment character: Files. (line 16) * compass directions: Tutorial. (line 106) * Compiling from UNIX source: Compiling from UNIX source. @@ -8791,7 +8792,8 @@ Index * conditional <1>: Arithmetic & logical. (line 73) * conditional: Programming. (line 8) -* config: Options. (line 116) +* config <1>: Options. (line 116) +* config: Configuring. (line 67) * configuration file <1>: Options. (line 116) * configuration file: Configuring. (line 23) * configuring: Configuring. (line 6) @@ -8938,7 +8940,7 @@ Index * EndPenMargin3: three. (line 577) * EndPoint: label. (line 56) * envelope: Frames and pictures. (line 22) -* environment variables: Configuring. (line 88) +* environment variables: Configuring. (line 89) * eof <1>: Arrays. (line 344) * eof: Files. (line 92) * eol <1>: Arrays. (line 344) @@ -9245,6 +9247,8 @@ Index * longdashed: Pens. (line 95) * longitude: Data types. (line 141) * loop: Programming. (line 8) +* lualatex: Options. (line 145) +* luatex: Options. (line 145) * MacOS X binary distributions: MacOS X binary distributions. (line 6) * makepen: Pens. (line 300) @@ -9852,137 +9856,138 @@ Node: MacOS X binary distributions12622 Node: Microsoft Windows13506 Ref: psview14216 Node: Configuring15150 -Node: Search paths19370 -Node: Compiling from UNIX source20212 -Node: Editing modes23109 -Node: Subversion25541 -Node: Uninstall25989 -Node: Tutorial26339 -Ref: unitcircle30637 -Node: Drawing commands32693 -Node: draw34404 -Ref: arrows35552 -Node: fill40795 -Ref: gradient shading41839 -Node: clip46396 -Node: label46988 -Ref: Label47586 -Node: Bezier curves53389 -Node: Programming57091 -Ref: array iteration57905 -Node: Data types59011 -Ref: format68208 -Node: Paths and guides72461 -Ref: circle72715 -Ref: extension82273 -Node: Pens89328 -Ref: fillrule96696 -Ref: basealign97593 -Ref: transparency100410 -Ref: makepen103853 -Ref: overwrite104691 -Node: Transforms105901 -Node: Frames and pictures107692 -Ref: envelope108833 -Ref: size109916 -Ref: unitsize110903 -Ref: shipout111963 -Ref: filltype114296 -Ref: add117433 -Ref: add about118379 -Ref: tex121317 -Node: Files122191 -Ref: cd123174 -Ref: scroll127848 -Node: Variable initializers130763 -Node: Structures133488 -Node: Operators140890 -Node: Arithmetic & logical141204 -Node: Self & prefix operators143177 -Node: User-defined operators143965 -Node: Implicit scaling144876 -Node: Functions145439 -Ref: stack overflow148192 -Node: Default arguments148756 -Node: Named arguments149495 -Node: Rest arguments152066 -Node: Mathematical functions155187 -Node: Arrays159852 -Ref: sort166841 -Ref: tridiagonal169245 -Ref: solve170473 -Node: Slices174667 -Node: Casts178557 -Node: Import180522 -Node: Static185759 -Node: LaTeX usage188653 -Node: Base modules195056 -Node: plain197556 -Node: simplex198208 -Node: math198481 -Node: interpolate201186 -Node: geometry201465 -Node: trembling202059 -Node: stats202328 -Node: patterns202588 -Node: markers202824 -Node: tree204607 -Node: binarytree204795 -Node: drawtree205415 -Node: syzygy205619 -Node: feynman205893 -Node: roundedpath206168 -Node: animation206451 -Ref: animate206871 -Node: embed207992 -Node: slide208950 -Node: MetaPost209290 -Node: unicode210006 -Node: latin1210885 -Node: babel211253 -Node: labelpath211482 -Node: labelpath3212302 -Node: annotate212613 -Node: CAD213084 -Node: graph213394 -Ref: ticks220523 -Ref: pathmarkers233850 -Ref: marker234315 -Ref: markuniform234666 -Ref: errorbars236457 -Ref: automatic scaling240494 -Node: palette251123 -Ref: images251241 -Ref: image255413 -Ref: logimage255891 -Ref: penimage256952 -Ref: penfunctionimage257173 -Node: three257897 -Ref: PostScript3D283576 -Node: obj285268 -Node: graph3285520 -Ref: GaussianSurface290675 -Node: grid3291779 -Node: solids292519 -Node: tube293467 -Node: flowchart295702 -Node: contour300271 -Node: contour3305361 -Node: slopefield305668 -Node: ode307105 -Node: Options307365 -Ref: configuration file313410 -Ref: settings313410 -Ref: convert314649 -Node: Interactive mode317798 -Ref: history319951 -Node: GUI321256 -Node: GUI installation321759 -Node: GUI usage322889 -Node: PostScript to Asymptote323792 -Node: Help324548 -Node: Debugger326274 -Node: Credits328059 -Node: Index328991 +Node: Search paths19385 +Node: Compiling from UNIX source20227 +Node: Editing modes23124 +Node: Subversion25556 +Node: Uninstall26004 +Node: Tutorial26354 +Ref: unitcircle30652 +Node: Drawing commands32708 +Node: draw34419 +Ref: arrows35567 +Node: fill40810 +Ref: gradient shading41854 +Node: clip46417 +Node: label47009 +Ref: Label47607 +Node: Bezier curves53410 +Node: Programming57112 +Ref: array iteration57926 +Node: Data types59032 +Ref: format68229 +Node: Paths and guides72482 +Ref: circle72736 +Ref: extension82294 +Node: Pens89349 +Ref: fillrule96717 +Ref: basealign97614 +Ref: transparency100431 +Ref: makepen103874 +Ref: overwrite104712 +Node: Transforms105922 +Node: Frames and pictures107713 +Ref: envelope108854 +Ref: size109937 +Ref: unitsize110924 +Ref: shipout111984 +Ref: filltype114317 +Ref: add117454 +Ref: add about118400 +Ref: tex121338 +Node: Files122212 +Ref: cd123195 +Ref: scroll127869 +Node: Variable initializers130784 +Node: Structures133509 +Node: Operators140984 +Node: Arithmetic & logical141298 +Node: Self & prefix operators143271 +Node: User-defined operators144059 +Node: Implicit scaling144970 +Node: Functions145533 +Ref: stack overflow148286 +Node: Default arguments148850 +Node: Named arguments149589 +Node: Rest arguments152160 +Node: Mathematical functions155281 +Node: Arrays159946 +Ref: sort166935 +Ref: tridiagonal169339 +Ref: solve170567 +Node: Slices174761 +Node: Casts178651 +Node: Import180616 +Node: Static185853 +Node: LaTeX usage188747 +Node: Base modules195142 +Node: plain197642 +Node: simplex198294 +Node: math198567 +Node: interpolate201272 +Node: geometry201551 +Node: trembling202145 +Node: stats202414 +Node: patterns202674 +Node: markers202910 +Node: tree204693 +Node: binarytree204881 +Node: drawtree205501 +Node: syzygy205705 +Node: feynman205979 +Node: roundedpath206254 +Node: animation206537 +Ref: animate206957 +Node: embed208078 +Node: slide209036 +Node: MetaPost209376 +Node: unicode210092 +Node: latin1210971 +Node: babel211339 +Node: labelpath211568 +Node: labelpath3212388 +Node: annotate212699 +Node: CAD213170 +Node: graph213480 +Ref: ticks220609 +Ref: pathmarkers233936 +Ref: marker234401 +Ref: markuniform234752 +Ref: errorbars236543 +Ref: automatic scaling240580 +Node: palette251209 +Ref: images251327 +Ref: image255499 +Ref: logimage255977 +Ref: penimage257038 +Ref: penfunctionimage257259 +Node: three257983 +Ref: PostScript3D283662 +Node: obj285354 +Node: graph3285606 +Ref: GaussianSurface290761 +Node: grid3291865 +Node: solids292605 +Node: tube293553 +Node: flowchart295788 +Node: contour300357 +Node: contour3305447 +Node: slopefield305754 +Node: ode307191 +Node: Options307451 +Ref: configuration file313504 +Ref: settings313504 +Ref: texengines314743 +Ref: convert314743 +Node: Interactive mode317913 +Ref: history320066 +Node: GUI321371 +Node: GUI installation321874 +Node: GUI usage323004 +Node: PostScript to Asymptote323907 +Node: Help324663 +Node: Debugger326389 +Node: Credits328174 +Node: Index329106  End Tag Table diff --git a/Master/texmf-dist/doc/man/man1/asy.1 b/Master/texmf-dist/doc/man/man1/asy.1 index 979fd50ee38..f0163faaade 100644 --- a/Master/texmf-dist/doc/man/man1/asy.1 +++ b/Master/texmf-dist/doc/man/man1/asy.1 @@ -239,7 +239,7 @@ Emulate unimplemented SVG shading [false]. Interactive prompt auto-completion [true]. .TP .B \-tex engine -latex|pdflatex|xelatex|tex|pdftex|context|none [latex]. +latex|pdflatex|xelatex|tex|pdftex|luatex|lualatex|context|none [latex]. .TP .B \-thick Render thick 3D lines [true]. diff --git a/Master/texmf-dist/doc/man/man1/asy.man1.pdf b/Master/texmf-dist/doc/man/man1/asy.man1.pdf index 29702094a18..dbd87e196e9 100644 Binary files a/Master/texmf-dist/doc/man/man1/asy.man1.pdf and b/Master/texmf-dist/doc/man/man1/asy.man1.pdf differ diff --git a/Master/texmf-dist/doc/man/man1/xasy.man1.pdf b/Master/texmf-dist/doc/man/man1/xasy.man1.pdf index a07a35ea68b..268cede940f 100644 Binary files a/Master/texmf-dist/doc/man/man1/xasy.man1.pdf and b/Master/texmf-dist/doc/man/man1/xasy.man1.pdf differ -- cgit v1.2.3