diff options
Diffstat (limited to 'graphics/asymptote/doc')
-rw-r--r-- | graphics/asymptote/doc/CAD.pdf | bin | 198570 -> 198487 bytes | |||
-rw-r--r-- | graphics/asymptote/doc/FAQ/asy-faq.info | 2 | ||||
-rw-r--r-- | graphics/asymptote/doc/TeXShopAndAsymptote.pdf | bin | 81215 -> 81447 bytes | |||
-rw-r--r-- | graphics/asymptote/doc/asy-latex.pdf | bin | 206981 -> 208908 bytes | |||
-rw-r--r-- | graphics/asymptote/doc/asyRefCard.pdf | bin | 121145 -> 121145 bytes | |||
-rw-r--r-- | graphics/asymptote/doc/asymptote.pdf | bin | 1299081 -> 1288702 bytes | |||
-rw-r--r-- | graphics/asymptote/doc/asymptote.sty | 404 | ||||
-rw-r--r-- | graphics/asymptote/doc/png/asymptote.info | 84 | ||||
-rw-r--r-- | graphics/asymptote/doc/slopefield1.asy | 4 | ||||
-rw-r--r-- | graphics/asymptote/doc/vectorfield.asy | 2 |
10 files changed, 44 insertions, 452 deletions
diff --git a/graphics/asymptote/doc/CAD.pdf b/graphics/asymptote/doc/CAD.pdf Binary files differindex ae3216bf64..013b4f9da3 100644 --- a/graphics/asymptote/doc/CAD.pdf +++ b/graphics/asymptote/doc/CAD.pdf diff --git a/graphics/asymptote/doc/FAQ/asy-faq.info b/graphics/asymptote/doc/FAQ/asy-faq.info index 3ae5ddb680..66de54d920 100644 --- a/graphics/asymptote/doc/FAQ/asy-faq.info +++ b/graphics/asymptote/doc/FAQ/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 - 2022-08-06 + 2022-09-17 This is the list of Frequently Asked Questions about Asymptote (asy). diff --git a/graphics/asymptote/doc/TeXShopAndAsymptote.pdf b/graphics/asymptote/doc/TeXShopAndAsymptote.pdf Binary files differindex 63a205ed52..29526021d0 100644 --- a/graphics/asymptote/doc/TeXShopAndAsymptote.pdf +++ b/graphics/asymptote/doc/TeXShopAndAsymptote.pdf diff --git a/graphics/asymptote/doc/asy-latex.pdf b/graphics/asymptote/doc/asy-latex.pdf Binary files differindex 32ad13ce2f..388db9c80e 100644 --- a/graphics/asymptote/doc/asy-latex.pdf +++ b/graphics/asymptote/doc/asy-latex.pdf diff --git a/graphics/asymptote/doc/asyRefCard.pdf b/graphics/asymptote/doc/asyRefCard.pdf Binary files differindex c1ba046670..a18baed931 100644 --- a/graphics/asymptote/doc/asyRefCard.pdf +++ b/graphics/asymptote/doc/asyRefCard.pdf diff --git a/graphics/asymptote/doc/asymptote.pdf b/graphics/asymptote/doc/asymptote.pdf Binary files differindex fe7bc493e3..2b1fddf801 100644 --- a/graphics/asymptote/doc/asymptote.pdf +++ b/graphics/asymptote/doc/asymptote.pdf diff --git a/graphics/asymptote/doc/asymptote.sty b/graphics/asymptote/doc/asymptote.sty deleted file mode 100644 index 2deb265a80..0000000000 --- a/graphics/asymptote/doc/asymptote.sty +++ /dev/null @@ -1,404 +0,0 @@ -%% -%% This is file `asymptote.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% asy-latex.dtx (with options: `pkg') -%% ____________________________ -%% The ASYMPTOTE package -%% -%% (C) 2003 Tom Prince -%% (C) 2003-2021 John Bowman -%% (C) 2010 Will Robertson -%% -%% Adapted from comment.sty -%% -%% Licence: GPL2+ -%% -\ProvidesPackage{asymptote} - [2021/12/29 v1.37 Asymptote style file for LaTeX] -\def\Asymptote{{\tt Asymptote}} -\InputIfFileExists{\jobname.pre}{}{} -\newbox\ASYbox -\newdimen\ASYdimen -\newcounter{asy} -\newwrite\AsyStream -\newwrite\AsyPreStream -\newif\ifASYinline -\newif\ifASYattach -\newif\ifASYkeepAspect -\ASYkeepAspecttrue -\RequirePackage{keyval} -\RequirePackage{ifthen} -\RequirePackage{graphicx} -\IfFileExists{ifpdf.sty}{ - \RequirePackage{ifpdf} -}{ - \expandafter\newif\csname ifpdf\endcsname - \ifx\pdfoutput\@undefined\else - \ifcase\pdfoutput\else - \pdftrue - \fi - \fi -} -\IfFileExists{ifxetex.sty}{ - \RequirePackage{ifxetex} -}{ - \expandafter\newif\csname ifxetex\endcsname - \ifx\XeTeXversion\@undefined\else - \xetextrue - \fi -} -\IfFileExists{catchfile.sty}{ - \RequirePackage{catchfile} -}{ - \newcommand\CatchFileDef[3]{% - \begingroup - \everyeof{% - \ENDCATCHFILEMARKER - \noexpand - }% - \long\def\@tempa####1\ENDCATCHFILEMARKER{% - \endgroup - \def##1{####1}% - }% - ##3% - \expandafter\@tempa\@@input ##2\relax - } -} -\newif\if@asy@attachfile@loaded -\AtBeginDocument{% - \@ifpackageloaded{attachfile2}{\@asy@attachfile@loadedtrue}{}% - \let\asy@check@attachfile\asy@check@attachfile@loaded -} -\newcommand\asy@check@attachfile@loaded{% - \if@asy@attachfile@loaded\else - \PackageError{asymptote}{You must load the attachfile2 package}{^^J% - You have requested the [attach] option for some or all of your^^J% - Asymptote graphics, which requires the attachfile2 package.^^J% - Please load it in the document preamble.^^J% - }% - \fi -} -\newcommand\asy@check@attachfile{% - \AtBeginDocument{\asy@check@attachfile@loaded}% - \let\asy@check@attachfile\@empty -} -\def\csarg#1#2{\expandafter#1\csname#2\endcsname} -\DeclareOption{inline}{% - \ASYinlinetrue -} -\DeclareOption{attach}{% - \asy@check@attachfile - \ASYattachtrue -} -\ProcessOptions* -\def\asylatexdir{} -\def\asydir{} -\def\ASYasydir{} -\def\ASYprefix{} -\newif\ifASYPDF -\ifxetex - \ASYPDFtrue -\else - \ifpdf - \ASYPDFtrue - \fi -\fi -\ifASYPDF - \def\AsyExtension{pdf} -\else - \def\AsyExtension{eps} -\fi -\def\unquoteJobname#1"#2"#3\relax{% - \def\rawJobname{#1}% - \ifx\rawJobname\empty - \def\rawJobname{#2}% - \fi -} -\expandafter\unquoteJobname\jobname""\relax -\def\fixstar#1*#2\relax{% - \def\argtwo{#2}% - \ifx\argtwo\empty - \gdef\Jobname{#1}% - \else - \fixstar#1-#2\relax - \fi -} -\expandafter\fixstar\rawJobname*\relax -\def\Ginclude@eps#1{% - \message{<#1>}% - \bgroup - \def\@tempa{!}% - \dimen@\Gin@req@width - \dimen@ii.1bp\relax - \divide\dimen@\dimen@ii - \@tempdima\Gin@req@height - \divide\@tempdima\dimen@ii - \special{PSfile=#1\space - llx=\Gin@llx\space - lly=\Gin@lly\space - urx=\Gin@urx\space - ury=\Gin@ury\space - \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\space\fi - \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\space\fi - \ifGin@clip clip\fi}% - \egroup -} -\immediate\openout\AsyPreStream=\jobname.pre\relax -\AtEndDocument{\immediate\closeout\AsyPreStream} -\def\WriteAsyLine#1{% - \immediate\write\AsyStream{\detokenize{#1}}% -} -\def\globalASYdefs{} -\def\WriteGlobalAsyLine#1{% - \expandafter\g@addto@macro - \expandafter\globalASYdefs - \expandafter{\detokenize{#1^^J}}% -} -\def\ProcessAsymptote#1{% - \begingroup - \def\CurrentAsymptote{#1}% - \let\do\@makeother \dospecials - \@makeother\^^L% and whatever other special cases - \catcode`\ =10 - \endlinechar`\^^M \catcode`\^^M=12 \xAsymptote -} -\begingroup - \catcode`\^^M=12 \endlinechar=-1\relax% - \gdef\xAsymptote{% - \expandafter\ProcessAsymptoteLine% - } - \gdef\ProcessAsymptoteLine#1^^M{% - \def\@tempa{#1}% - {% - \escapechar=-1\relax% - \xdef\@tempb{\string\\end\string\{\CurrentAsymptote\string\}}% - }% - \ifx\@tempa\@tempb% - \edef\next{\endgroup\noexpand\end{\CurrentAsymptote}}% - \else% - \ThisAsymptote{#1}% - \let\next\ProcessAsymptoteLine% - \fi% - \next% - } -\endgroup -\def\asy@init{% - \def\ASYlatexdir{}% - \ifx\asylatexdir\empty\else - \def\ASYlatexdir{\asylatexdir/}% - \fi - \ifx\asydir\empty\else - \def\ASYasydir{\asydir/}% - \fi - \def\ASYprefix{\ASYlatexdir\ASYasydir}% -} -\newcommand\asy[1][]{% - \stepcounter{asy}% - \setkeys{ASYkeys}{#1}% - \ifASYattach - \ASYinlinefalse - \fi - \asy@init - \immediate\write\AsyPreStream{% - \noexpand\InputIfFileExists{% - \ASYprefix\noexpand\jobname-\the\c@asy.pre}{}{}% - }% - \asy@write@graphic@header - \let\ThisAsymptote\WriteAsyLine - \ProcessAsymptote{asy}% -} -\def\endasy{% - \asy@finalise@stream - \asy@input@graphic -} -\def\asy@write@graphic@header{% - \immediate\openout\AsyStream=\ASYasydir\jobname-\the\c@asy.asy\relax - \gdef\AsyFile{\ASYprefix\Jobname-\the\c@asy}% - \immediate\write\AsyStream{% - if(!settings.multipleView) settings.batchView=false;^^J% - \ifxetex - settings.tex="xelatex";^^J% - \else\ifASYPDF - settings.tex="pdflatex";^^J% - \fi\fi - \ifASYinline - settings.inlinetex=true;^^J% - deletepreamble();^^J% - \fi - defaultfilename="\Jobname-\the\c@asy";^^J% - if(settings.render < 0) settings.render=4;^^J% - settings.outformat="";^^J% - \ifASYattach - settings.inlineimage=false;^^J% - settings.embed=false;^^J% - settings.toolbar=true;^^J% - \else - settings.inlineimage=true;^^J% - settings.embed=true;^^J% - settings.toolbar=false;^^J% - viewportmargin=(2,2);^^J% - \fi - \globalASYdefs - }% -} -\def\asy@expand@keepAspect{% - \ifASYkeepAspect keepAspect=true% - \else keepAspect=false% - \fi% -} -\def\asy@finalise@stream{% - \ifx\ASYwidth\@empty - \ifx\ASYheight\@empty - % write nothing! - \else - \immediate\write\AsyStream{size(0,\ASYheight,\asy@expand@keepAspect);}% - \fi - \else - \ifx\ASYheight\@empty - \immediate\write\AsyStream{size(\ASYwidth,0,\asy@expand@keepAspect);}% - \else - \immediate\write\AsyStream{size(\ASYwidth,\ASYheight,\asy@expand@keepAspect);}% - \fi - \fi - \ifx\ASYviewportwidth\@empty - \ifx\ASYviewportheight\@empty - % write nothing! - \else - \immediate\write\AsyStream{viewportsize=(0,\ASYviewportheight);}% - \fi - \else - \ifx\ASYviewportheight\@empty - \immediate\write\AsyStream{viewportsize=(\ASYviewportwidth,0);}% - \else - \immediate\write\AsyStream{% - viewportsize=(\ASYviewportwidth,\ASYviewportheight);}% - \fi - \fi - \immediate\closeout\AsyStream -} -\def\asy@input@graphic{% - \ifASYinline - \IfFileExists{"\AsyFile.tex"}{% - \catcode`:=12\relax - \@@input"\AsyFile.tex"\relax - }{% - \PackageWarning{asymptote}{file `\AsyFile.tex' not found}% - }% - \else - \IfFileExists{"\AsyFile.\AsyExtension"}{% - \ifASYattach - \ifASYPDF - \IfFileExists{"\AsyFile+0.pdf"}{% - \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{\AsyFile+0.pdf}}% - }{% - \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{\AsyFile.pdf}}% - }% - \else - \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{\AsyFile.eps}}% - \fi - \textattachfile{\AsyFile.\AsyExtension}{\phantom{\copy\ASYbox}}% - \vskip-\ht\ASYbox - \indent - \box\ASYbox - \else - \ifASYPDF - \includegraphics[hiresbb]{\AsyFile.pdf}% - \else - \includegraphics[hiresbb]{\AsyFile.eps}% - \fi - \fi - }{% - \IfFileExists{"\AsyFile.tex"}{% - \catcode`:=12 - \@@input"\AsyFile.tex"\relax - }{% - \PackageWarning{asymptote}{% - file `\AsyFile.\AsyExtension' not found% - }% - }% - }% - \fi -} -\def\asydef{% - \let\ThisAsymptote\WriteGlobalAsyLine - \ProcessAsymptote{asydef}% -} -\newcommand\asyinclude[2][]{% - \begingroup - \stepcounter{asy}% - \setkeys{ASYkeys}{#1}% - \ifASYattach - \ASYinlinefalse - \fi - \asy@init - \immediate\write\AsyPreStream{% - \noexpand\InputIfFileExists{% - \ASYprefix\noexpand\jobname-\the\c@asy.pre}{}{}% - }% - \asy@write@graphic@header - \IfFileExists{#2.asy}{% - \CatchFileDef\@tempa{#2.asy}{% - \let\do\@makeother - \dospecials - \endlinechar=10\relax - }% - }{% - \IfFileExists{#2}{% - \CatchFileDef\@tempa{#2}{% - \let\do\@makeother - \dospecials - \endlinechar=10\relax - }% - }{% - \PackageWarning{asymptote}{file #2 not found}% - \def\@tempa{}% - }% - }% - \immediate\write\AsyStream{\unexpanded\expandafter{\@tempa}}% - \asy@finalise@stream - \asy@input@graphic - \endgroup -} -\newcommand{\ASYanimategraphics}[5][]{% - \IfFileExists{_#3.pdf}{% - \animategraphics[{#1}]{#2}{_#3}{#4}{#5}% - }{}% -} -\newcommand\asysetup[1]{\setkeys{ASYkeys}{#1}} -\define@key{ASYkeys}{dir}{% - \def\asydir{#1}% -} -\def\ASYwidth{} -\define@key{ASYkeys}{width}{% - \edef\ASYwidth{\the\dimexpr#1\relax}% -} -\def\ASYheight{} -\define@key{ASYkeys}{height}{% - \edef\ASYheight{\the\dimexpr#1\relax}% -} -\define@key{ASYkeys}{keepAspect}[true]{% - \ifthenelse{\equal{#1}{true}} - {\ASYkeepAspecttrue} - {\ASYkeepAspectfalse}% -} -\def\ASYviewportwidth{} -\define@key{ASYkeys}{viewportwidth}{% - \edef\ASYviewportwidth{\the\dimexpr#1\relax}% -} -\def\ASYviewportheight{} -\define@key{ASYkeys}{viewportheight}{% - \edef\ASYviewportheight{\the\dimexpr#1\relax}% -} -\define@key{ASYkeys}{inline}[true]{% - \ifthenelse{\equal{#1}{true}} - {\ASYinlinetrue} - {\ASYinlinefalse}% -} -\define@key{ASYkeys}{attach}[true]{% - \ifthenelse{\equal{#1}{true}} - {\ASYattachtrue} - {\ASYattachfalse}% -} diff --git a/graphics/asymptote/doc/png/asymptote.info b/graphics/asymptote/doc/png/asymptote.info index 7bb896355d..7751122789 100644 --- a/graphics/asymptote/doc/png/asymptote.info +++ b/graphics/asymptote/doc/png/asymptote.info @@ -1,7 +1,7 @@ This is asymptote.info, produced by makeinfo version 6.8 from asymptote.texi. -This file documents 'Asymptote', version 2.82. +This file documents 'Asymptote', version 2.83. <https://asymptote.sourceforge.io> @@ -22,7 +22,7 @@ File: asymptote.info, Node: Top, Next: Description, Prev: (dir), Up: (dir) Asymptote ********* -This file documents 'Asymptote', version 2.82. +This file documents 'Asymptote', version 2.83. <https://asymptote.sourceforge.io> @@ -6606,7 +6606,7 @@ following routines: pair a=(0,0); pair b=(2pi,2pi); - path vector(pair z) {return (0,0)--(sin(z.x),cos(z.y));} + path vector(pair z) {return (sin(z.x),cos(z.y));} add(vectorfield(vector,a,b)); @@ -8255,11 +8255,9 @@ import slopefield; size(200); real func(real x) {return 2x;} -add(slopefield(func,(-3,-3),(3,3),20,Arrow)); +add(slopefield(func,(-3,-3),(3,3),20)); draw(curve((0,0),func,(-3,-3),(3,3)),red); - - [./slopefield1] @@ -10656,43 +10654,43 @@ Ref: marker244175 Ref: markuniform244529 Ref: errorbars246388 Ref: automatic scaling251517 -Node: palette263227 -Ref: images263345 -Ref: image267641 -Ref: logimage268162 -Ref: penimage269268 -Ref: penfunctionimage269531 -Node: three270303 -Ref: PostScript3D300578 -Node: obj302316 -Node: graph3302565 -Ref: GaussianSurface308308 -Node: grid3309458 -Node: solids310286 -Node: tube311278 -Node: flowchart313550 -Node: contour318193 -Node: contour3324701 -Node: smoothcontour3325013 -Node: slopefield326732 -Node: ode328221 -Node: Options328478 -Ref: configuration file336212 -Ref: settings336212 -Ref: texengines337476 -Ref: convert337476 -Node: Interactive mode340921 -Ref: history343070 -Node: GUI344373 -Node: GUI installation344923 -Node: GUI usage345851 -Node: Command-Line Interface346914 -Node: Language server protocol348356 -Node: PostScript to Asymptote349781 -Node: Help350559 -Node: Debugger352233 -Node: Credits353989 -Node: Index355214 +Node: palette263220 +Ref: images263338 +Ref: image267634 +Ref: logimage268155 +Ref: penimage269261 +Ref: penfunctionimage269524 +Node: three270296 +Ref: PostScript3D300571 +Node: obj302309 +Node: graph3302558 +Ref: GaussianSurface308301 +Node: grid3309451 +Node: solids310279 +Node: tube311271 +Node: flowchart313543 +Node: contour318186 +Node: contour3324694 +Node: smoothcontour3325006 +Node: slopefield326725 +Node: ode328206 +Node: Options328463 +Ref: configuration file336197 +Ref: settings336197 +Ref: texengines337461 +Ref: convert337461 +Node: Interactive mode340906 +Ref: history343055 +Node: GUI344358 +Node: GUI installation344908 +Node: GUI usage345836 +Node: Command-Line Interface346899 +Node: Language server protocol348341 +Node: PostScript to Asymptote349766 +Node: Help350544 +Node: Debugger352218 +Node: Credits353974 +Node: Index355199 End Tag Table diff --git a/graphics/asymptote/doc/slopefield1.asy b/graphics/asymptote/doc/slopefield1.asy index fd60de4f63..82de917646 100644 --- a/graphics/asymptote/doc/slopefield1.asy +++ b/graphics/asymptote/doc/slopefield1.asy @@ -3,7 +3,5 @@ import slopefield; size(200); real func(real x) {return 2x;} -add(slopefield(func,(-3,-3),(3,3),20,Arrow)); +add(slopefield(func,(-3,-3),(3,3),20)); draw(curve((0,0),func,(-3,-3),(3,3)),red); - - diff --git a/graphics/asymptote/doc/vectorfield.asy b/graphics/asymptote/doc/vectorfield.asy index 12de66e49c..bc319e5689 100644 --- a/graphics/asymptote/doc/vectorfield.asy +++ b/graphics/asymptote/doc/vectorfield.asy @@ -4,6 +4,6 @@ size(100); pair a=(0,0); pair b=(2pi,2pi); -path vector(pair z) {return (0,0)--(sin(z.x),cos(z.y));} +path vector(pair z) {return (sin(z.x),cos(z.y));} add(vectorfield(vector,a,b)); |