Difference between revisions of "Asymptote: Getting Started/Windows/Downloads and Installation"

(Asymptote)
m (fmt)
Line 1: Line 1:
 
{{Asymptote}}
 
{{Asymptote}}
  
'''NOTE''': The following instructions assume that you are using a Windows machine.  Instructions for MAC and Unix users can be found under Documentation <math>\rightarrow</math> Installation [[http://asymptote.sourceforge.net/ here]].
+
:'''''NOTE''': The following instructions assume that you are using a Windows machine.  Instructions for MAC and Unix users can be found under Documentation <math>\rightarrow</math> Installation [http://asymptote.sourceforge.net/ here].''
  
 
To begin using Asymptote, you must first download and install it.  To view the eps-format images you produce, you will also need to download an eps viewer such as GSview.  (GSview is convenient because it can display both eps and pdf files, and with GhostScript installed, Asymptote can easily output the images in pdf format as well.)
 
To begin using Asymptote, you must first download and install it.  To view the eps-format images you produce, you will also need to download an eps viewer such as GSview.  (GSview is convenient because it can display both eps and pdf files, and with GhostScript installed, Asymptote can easily output the images in pdf format as well.)
Line 8: Line 8:
 
To download and install Asymptote on your Windows machine:
 
To download and install Asymptote on your Windows machine:
  
#Go to [[http://asymptote.sourceforge.net SourceForge]] and click on the Download link on the left.  This will bring you to a page that has the latest file release in a box, with a green button marked "Download" on the right side of this box.  Follow this link.
+
#Go to [http://asymptote.sourceforge.net SourceForge] and click on the Download link on the left.  This will bring you to a page that has the latest file release in a box, with a green button marked "Download" on the right side of this box.  Follow this link.
# You will now see a box with four files, only one of which ends in .exe (it should look something like asymptote-1.20-setup.exe, depending on the number of the latest release.)  Click on this link, and a download window will pop up in your browser.  Choose to save the file, and take note of where on your hard drive you saved it to.  Let's say you saved it to the folder <tt>D:\downloads\Asymptote</tt>.
+
# You will now see a box with four files, only one of which ends in <tt>.exe</tt> (it should look something like <tt>asymptote-1.20-setup.exe</tt>, depending on the number of the latest release.)  Click on this link, and a download window will pop up in your browser.  Choose to save the file, and take note of where on your hard drive you saved it to.  Let's say you saved it to the folder <tt>D:\downloads\Asymptote</tt>.
#When the download is complete, browse to <tt>D:\downloads\Asymptote</tt>1 in your files and double-click on the .exe file (asymptote-1.20-setup.exe).  This will open an installer window, where you can choose the folder that Asymptote will be installed to (or simply use the default <tt>C:\Program Files\Asymptote</tt>), and choose whether you wish to have shortcuts added to the desktop and start menu.  When you have finished, click Install.
+
#When the download is complete, browse to <tt>D:\downloads\Asymptote</tt>1 in your files and double-click on the <tt>.exe</tt> file (<tt>asymptote-1.20-setup.exe</tt>).  This will open an installer window, where you can choose the folder that Asymptote will be installed to (or simply use the default <tt>C:\Program Files\Asymptote</tt>), and choose whether you wish to have shortcuts added to the desktop and start menu.  When you have finished, click Install.
  
 
Asymptote is ready to start producing images, but you still need a way to view these images.  (NOTE: if you already have a previewer capable of viewing .eps and .pdf files, you do not need to download the file below.)
 
Asymptote is ready to start producing images, but you still need a way to view these images.  (NOTE: if you already have a previewer capable of viewing .eps and .pdf files, you do not need to download the file below.)
Line 16: Line 16:
 
== GSview ==
 
== GSview ==
 
GSview is a standard viewer for .eps files, which is the standard output format for Asymptote images.  To download and install GSview,
 
GSview is a standard viewer for .eps files, which is the standard output format for Asymptote images.  To download and install GSview,
# Go to [http://www.cs.wisc.edu/~ghost/gsview/get48.htm this download site], and click on gsv48w32.exe.  A download window will pop up in your browser.  Choose to save the file, and take note of where on your hard drive you saved it to.  Let's say you saved it to the folder <tt>D:\downloads\Ghostscript</tt>.
+
# Go to [http://www.cs.wisc.edu/~ghost/gsview/get48.htm this download site], and click on <tt>gsv48w32.exe</tt>.  A download window will pop up in your browser.  Choose to save the file, and take note of where on your hard drive you saved it to.  Let's say you saved it to the folder <tt>D:\downloads\Ghostscript</tt>.
 
# When the download is complete, browse to <tt>D:\downloads\Ghostscript</tt> in your files and double-click on the .exe file gsv48w32.exe.  This will bring you to an installation window.  Click Setup.
 
# When the download is complete, browse to <tt>D:\downloads\Ghostscript</tt> in your files and double-click on the .exe file gsv48w32.exe.  This will bring you to an installation window.  Click Setup.
 
# After it extracts the necessary files, there will be a new installation window.  Click Next twice, and there will be two checkboxes, which can set GSview to be the default eps or pdf previewer.  If you wish to use the more common Acrobat Reader, or some other pdf reader, to view pdf files, only leave the first box checked.  However, you can check both if desired.
 
# After it extracts the necessary files, there will be a new installation window.  Click Next twice, and there will be two checkboxes, which can set GSview to be the default eps or pdf previewer.  If you wish to use the more common Acrobat Reader, or some other pdf reader, to view pdf files, only leave the first box checked.  However, you can check both if desired.
Line 25: Line 25:
 
You now have installed everything you need to use Asymptote on the most basic level.  However, you still need to get Asymptote to find GSview to view the images when it runs.  To do so, see the section on Basic Configuration.
 
You now have installed everything you need to use Asymptote on the most basic level.  However, you still need to get Asymptote to find GSview to view the images when it runs.  To do so, see the section on Basic Configuration.
  
[[Asymptote: Getting Started/Windows/Basic Configuration| Next: Basic Configuration]]
+
:[[Asymptote: Getting Started/Windows/Basic Configuration| Next: Basic Configuration]]

Revision as of 22:09, 1 February 2007

Asymptote (Vector Graphics Language)
Getting Started - Basics - Drawing - Labeling - Filling - Useful functions - Examples - Macros and Packages

Help - Reference - Advanced Asymptote - 3D Graphics - CSE5 Package - How to

NOTE: The following instructions assume that you are using a Windows machine. Instructions for MAC and Unix users can be found under Documentation $\rightarrow$ Installation here.

To begin using Asymptote, you must first download and install it. To view the eps-format images you produce, you will also need to download an eps viewer such as GSview. (GSview is convenient because it can display both eps and pdf files, and with GhostScript installed, Asymptote can easily output the images in pdf format as well.)

Asymptote

To download and install Asymptote on your Windows machine:

  1. Go to SourceForge and click on the Download link on the left. This will bring you to a page that has the latest file release in a box, with a green button marked "Download" on the right side of this box. Follow this link.
  2. You will now see a box with four files, only one of which ends in .exe (it should look something like asymptote-1.20-setup.exe, depending on the number of the latest release.) Click on this link, and a download window will pop up in your browser. Choose to save the file, and take note of where on your hard drive you saved it to. Let's say you saved it to the folder D:\downloads\Asymptote.
  3. When the download is complete, browse to D:\downloads\Asymptote1 in your files and double-click on the .exe file (asymptote-1.20-setup.exe). This will open an installer window, where you can choose the folder that Asymptote will be installed to (or simply use the default C:\Program Files\Asymptote), and choose whether you wish to have shortcuts added to the desktop and start menu. When you have finished, click Install.

Asymptote is ready to start producing images, but you still need a way to view these images. (NOTE: if you already have a previewer capable of viewing .eps and .pdf files, you do not need to download the file below.)

GSview

GSview is a standard viewer for .eps files, which is the standard output format for Asymptote images. To download and install GSview,

  1. Go to this download site, and click on gsv48w32.exe. A download window will pop up in your browser. Choose to save the file, and take note of where on your hard drive you saved it to. Let's say you saved it to the folder D:\downloads\Ghostscript.
  2. When the download is complete, browse to D:\downloads\Ghostscript in your files and double-click on the .exe file gsv48w32.exe. This will bring you to an installation window. Click Setup.
  3. After it extracts the necessary files, there will be a new installation window. Click Next twice, and there will be two checkboxes, which can set GSview to be the default eps or pdf previewer. If you wish to use the more common Acrobat Reader, or some other pdf reader, to view pdf files, only leave the first box checked. However, you can check both if desired.
  4. Click Next, and choose the directory in which you want GSview installed (or leave the default setting, C:\Program Files\Ghostgum).
  5. Click Next twice, and choose the Start Menu folder to which a shortcut will be added. (The default is Ghostgum.)
  6. Click Finish, and GSview will be installed.

You now have installed everything you need to use Asymptote on the most basic level. However, you still need to get Asymptote to find GSview to view the images when it runs. To do so, see the section on Basic Configuration.

Next: Basic Configuration