From 8d918f88e6d576dc1612e5625a0ad802d17c8e13 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 6 Nov 2019 22:15:00 +0000 Subject: asy 2.60 sources git-svn-id: svn://tug.org/texlive/trunk@52659 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/doc/asymptote.texi | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'Build/source/utils/asymptote/doc/asymptote.texi') diff --git a/Build/source/utils/asymptote/doc/asymptote.texi b/Build/source/utils/asymptote/doc/asymptote.texi index 47620441392..6b932fd4bf6 100644 --- a/Build/source/utils/asymptote/doc/asymptote.texi +++ b/Build/source/utils/asymptote/doc/asymptote.texi @@ -3596,6 +3596,14 @@ shipout(bbox(0.25cm)); A @code{picture} may be fit to a frame with the background color pen @code{p}, using the function @code{bbox(p,Fill)}. +@cindex @code{pad} +To pad a picture to a precise size in both directions, fit the picture +to a frame using the function +@verbatim +frame pad(picture pic=currentpicture, real xsize=pic.xsize, + real ysize=pic.ysize, filltype filltype=NoFill); +@end verbatim + The functions @verbatim pair min(picture pic, user=false); @@ -6138,7 +6146,7 @@ to the type. This is regardless of what fields the variable actually possesses. @cindex @code{asymptote.sty} @code{Asymptote} comes with a convenient @code{LaTeX} style file -@code{asymptote.sty} (v1.33 or later required) that makes @code{LaTeX} +@code{asymptote.sty} (v1.34 or later required) that makes @code{LaTeX} @code{Asymptote}-aware. Entering @code{Asymptote} code directly into the @code{LaTeX} source file, at the point where it is needed, keeps figures organized and avoids the need to invent new file @@ -9376,16 +9384,17 @@ produced using the @code{-f} option (or @code{outformat} setting). @cindex @code{SVG} @cindex @code{dvisvgm} @cindex @code{libgs} -@cindex @code{graphics} +@cindex @code{graphic} To produce @acronym{SVG} output, you will need @code{dvisvgm} (version 2.6.3 or later) from @url{http://dvisvgm.sourceforge.net}. You might need to adjust the configuration variable @code{libgs} to point to the location of your @code{Ghostscript} library @code{libgs.so} (or to an empty string, depending on how -@code{dvisvgm} was configured). Due to current limitations of @code{dvisvgm}, -@code{graphic()} can only display SVG output (used by the xasy -editor) for external vector EPS graphics (embedded images, PDF, PNG, -and JPG formats are not yet supported). +@code{dvisvgm} was configured). The 2.8 version of @code{dvisvgm} can +display SVG output (used by the @code{xasy} editor) for external +vector @acronym{EPS} and @acronym{PDF} images included with the +@code{graphic()} function, in addition to (using the @code{latex} +@TeX{} engine) @acronym{PNG} and @acronym{JPEG} embedded raster images. @code{Asymptote} can also produce any output format supported by the @code{ImageMagick} @code{convert} program (version 6.3.5 or @@ -9633,6 +9642,8 @@ raising and lowering objects within @code{xasy}, allowing an object to be selected. Pressing the arrow keys will pan while the shift key is held and zoom while the control key is held. The mouse wheel will pan while the alt or shift keys is held and zoom while the control key is held. +In translate mode, an object can be dragged coarsely with the mouse +or positioned finely with the arrow keys while holding down the mouse button. Deconstruction of compound objects (such as arrows) can be prevented by enclosing them within the commands -- cgit v1.2.3