1ASY(1)                      General Commands Manual                     ASY(1)
2
3
4

NAME

6       asy - Asymptote: a script-based vector graphics language
7

SYNOPSIS

9       asy [options] [file ...]
10

DESCRIPTION

12       Asymptote  is a powerful descriptive vector graphics language for tech‐
13       nical drawings, inspired by MetaPost but with an improved C++-like syn‐
14       tax.   Asymptote  provides  for  figures the same high-quality level of
15       typesetting that LaTeX does for scientific text.
16

OPTIONS

18       If no arguments are given, Asymptote runs in interactive mode.
19
20       If "-" is given as the file argument,  Asymptote  reads  from  standard
21       input.
22
23       A  summary of options is included below. The effect of most options can
24       be negated by prepending no to the option  name.   Default  values  for
25       most  options  may  also  be entered in the file .asy/config.asy in the
26       user's home directory using the long form:
27
28            import settings;
29            batchView=true;
30
31       For a complete description, see the Info files.
32
33       -V,-View
34              View output; command-line only.
35
36       -a,-align C|B|T|Z
37              Center, Bottom, Top, or Zero page alignment [C].
38
39       -aligndir pair
40              Directional page alignment (overrides align) [(0,0)].
41
42       -antialias n
43              Antialiasing width for rasterized output [2].
44
45       -arcballradius pixels
46              Arcball radius [750].
47
48       -auto3D
49              Automatically activate 3D scene [true].
50
51       -autobillboard
52              3D labels always face viewer by default [true].
53
54       -autoimport string
55              Module to automatically import.
56
57       -autoplain
58              Enable automatic importing of plain [true].
59
60       -autoplay
61              Autoplay 3D animations [false].
62
63       -autorotate
64              Enable automatic PDF page rotation [false].
65
66       -axes3 Show 3D axes in PDF output [true].
67
68       -batchMask
69              Mask fpu exceptions in batch mode [false].
70
71       -batchView
72              View output in batch mode [false].
73
74       -bw    Convert all colors to black and white [false].
75
76       -cd directory
77              Set current directory; command-line only.
78
79       -cmyk  Convert rgb colors to cmyk [false].
80
81       -c,-command string
82              Command to autoexecute.
83
84       -compact
85              Conserve memory at the expense of speed [false].
86
87       -d,-debug
88              Enable debugging messages [false].
89
90       -divisor n
91              Garbage collect using purge(divisor=n) [2].
92
93       -doubleclick ms
94              Emulated double-click timeout [200].
95
96       -embed Embed rendered preview image [true].
97
98       -exitonEOF
99              Exit interactive mode on EOF [true].
100
101       -fitscreen
102              Fit rendered image to screen [true].
103
104       -framedelay ms
105              Additional frame delay [0].
106
107       -framerate frames/s
108              Animation speed [30].
109
110       -globalwrite
111              Allow write to other directory [false].
112
113       -gray  Convert all colors to grayscale [false].
114
115       -h,-help
116              Show summary of options; command-line only.
117
118       -historylines n
119              Retain n lines of history [1000].
120
121       -iconify
122              Iconify rendering window [false].
123
124       -inlineimage
125              Generate inline embedded image [false].
126
127       -inlinetex
128              Generate inline TeX code [false].
129
130       -interactiveMask
131              Mask fpu exceptions in interactive mode [true].
132
133       -interactiveView
134              View output in interactive mode [true].
135
136       -interactiveWrite
137              Write expressions entered at the prompt to stdout [true].
138
139       -k,-keep
140              Keep intermediate files [false].
141
142       -keepaux
143              Keep intermediate LaTeX .aux files [false].
144
145       -level n
146              Postscript level [3].
147
148       -l,-listvariables
149              List available global functions and variables [false].
150
151       -localhistory
152              Use a local interactive history file [false].
153
154       -loop  Loop 3D animations [false].
155
156       -m,-mask
157              Mask fpu exceptions; command-line only.
158
159       -maxtile pair
160              Maximum rendering tile size [(1024,768)].
161
162       -maxviewport pair
163              Maximum viewport size [(2048,2048)].
164
165       -multiline
166              Input code over multiple lines at the prompt [false].
167
168       -multipleView
169              View output from multiple batch-mode files [false].
170
171       -multisample n
172              Multisampling width for screen images [4].
173
174       -offscreen
175              Use offscreen rendering [false].
176
177       -O,-offset pair
178              PostScript offset [(0,0)].
179
180       -f,-outformat format
181              Convert each output file to specified format.
182
183       -o,-outname name
184              Alternative output directory/filename.
185
186       -p,-parseonly
187              Parse file [false].
188
189       -pdfreload
190              Automatically reload document in pdfviewer [false].
191
192       -pdfreloaddelay usec
193              Delay before attempting initial pdf reload [750000].
194
195       -position pair
196              Initial 3D rendering screen position [(0,0)].
197
198       -prc   Embed 3D PRC graphics in PDF output [true].
199
200       -prompt string
201              Prompt [> ].
202
203       -prompt2 string
204              Continuation prompt for multiline input  [..].
205
206       -q,-quiet
207              Suppress welcome text and noninteractive stdout [false].
208
209       -render n
210              Render 3D graphics using n pixels per bp (-1=auto) [-1].
211
212       -resizestep step
213              Resize step [1.2].
214
215       -reverse
216              reverse 3D animations [false].
217
218       -rgb   Convert cmyk colors to rgb [false].
219
220       -safe  Disable system call [true].
221
222       -scroll n
223              Scroll standard output n lines at a time [0].
224
225       -spinstep deg/s
226              Spin speed [60].
227
228       -svgemulation
229              Emulate unimplemented SVG shading [false].
230
231       -tabcompletion
232              Interactive prompt auto-completion [true].
233
234       -tex engine
235              latex|pdflatex|xelatex|lualatex|tex|pdftex|luatex|context|none
236              [latex].
237
238       -thick Render thick 3D lines [true].
239
240       -thin  Render thin 3D lines [true].
241
242       -threads
243              Use POSIX threads for 3D rendering [true].
244
245       -toolbar
246              Show 3D toolbar in PDF output [true].
247
248       -s,-translate
249              Show translated virtual machine code [false].
250
251       -twice Run LaTeX twice (to resolve references) [false].
252
253       -twosided
254              Use two-sided 3D lighting model for rendering [true].
255
256       -u,-user string
257              General purpose user string.
258
259       -v,-verbose
260              Increase verbosity level (can specify multiple times) [0].
261
262       -version
263              Show version; command-line only.
264
265       -wait  Wait for child processes to finish before exiting [false].
266
267       -warn string
268              Enable warning; command-line only.
269
270       -where Show where listed variables are declared [false].
271
272       -xasy  Special interactive mode for xasy [false].
273
274       -zoomfactor factor
275              Zoom step factor [1.05].
276
277       -zoomstep step
278              Mouse motion zoom step [0.1].
279
280

SEE ALSO

282       Asymptote  is  documented fully in the asymptote Info page.  The manual
283       can also be accessed in interactive mode with the "help" command.
284
285

AUTHOR

287       Asymptote was written by Andy Hammerlindl, John Bowman, and Tom Prince.
288
289       This manual page was written by Hubert Chan for the Debian project (but
290       may be used by others).
291
292
293
294                                  1 Dec 2004                            ASY(1)
Impressum