Euler comes with a simple installation file EulerSetup.exe. This is an installation program for Windows which has been created using InnoSetup. It works for all versions of Windows so far.
The installation will create the following things on your computer
- the installation directory of Euler, by default in the Programs folder,
- the folder "Euler Files" in the directory of the user documents,
- a folder "Euler" may be created in the home directory of the user,
- icons in the start menu of the user
- an uninstall entry for Windows
- associations for Euler files in the registry.
The user can save notebooks and other files to the "Euler Files" directory. Euler does not write or read to this directory by itself. For temporary files, Euler creates a folder named "Euler" in the user home folder (Usually C:\Users\Name). This is used for intermediate Euler files (Press F9 or F10 in an empty line), for Maxima gnuplot, for Povray files, or for Latex files.
If you uninstall Euler, the Euler installation directory will be removed, as well as the association of Euler files. Your "Euler Files" folder remains intact, as well as the temporary folder "Euler" in the user home.
Also the settings in the registry are not cleared, since users might want to reinstall a new version of Euler with the same settings. These settings take only very little space.
For experts, there is a special installation
You can use it for updating from the full version to a new version. If you want to use your own version of Maxima, you need to open the Maxima setup in the Options menu, and browse to your Maxima version twice.
If you select the default full EulerSetup.exe, Maxima will be installed into the installation directory of Euler.
If you select the installation without Maxima, you need to install Maxima on your own. Since there might be changes in Maxima in recent versions, not everything is guaranteed to work. You can link Euler to your Maxima installation. As long as Maxima does not change its interface, this will work just like Maxima in the full installation of Euler.
To link Euler to Maxima, open Options / Symbolic Setup / Setup Maxima ... You need to browse for "sbcl.exe" (usually in a directory "bin") or "maxima.exe" (older versions), and for the Maxima directory.
Gnuplot in Maxima uses the "Euler" directory in the user home file.
Euler can display formulas formatted by Latex in comments or as command output. For this, a version of Latex must be installed. I recommend installation MikTex. by default, Euler uses the AMS package. So you should install this too.
You can use the 64bit version. After the installation, there are two ways to make Latex ready for Euler. You can add it to your system path, or you can tell Euler where to find it.
You can tell Euler where to find Latex. Browse for Latex in Options / Latex Settings / Setup Latex ... You need to browse to the directory, where the latex.exe and the dvinpng.exe are. The default position of the working directory is "Euler" in the user home. You can leave this blank.
Alternatively, you can add the Latex directory to the system path.
It is possible to write and run Python code in Euler. Python code is about 10 times faster than Euler code for elementary programs with lots of loops. Moreover, a mature library of functions from Python are available in Euler with this interface.
Depending on your Euler installation, the 32bit or 64bit Version of Python 2.7 must be fully installed on the computer. MatPlotLib is only needed, if you want to plot via Python. Then you also need NumPy.
- Python - Link to the homepage of Python
I have some files on my server for your convinience. But you should install the more current version that you find on the net.
- Python 2.7 - 32 bit version of Python
- MatPlotLib - 32 bit version of MatPlotLib for Python 2.7
- NumPy - 32 bit version of NumPy for Python 2.7
- Python 2.7 - 64 bit version of Python
- MatPlotLib - 64 bit version of MatPlotLib for Python 2.7
- NumPy - 64 bit version of NumPy for Python 2.7
Alternatively, you can also install Anaconda. This is a full Python system with MatlotLib and NumPy. Install it "for all users", or copy the python27.dll to the Windows directory with adminstrator priviledges.
The Tiny C compiler is installed with Euler. It can be used automatically.
Euler can call the open raytracer Povray to generate photo-realistic 3D output. You need to install Povray from their site. During the installation, note the path to the installation directory. You find the current version on the following site.
You can install the 64bit version of Povray. If you do so, copy the file povengine64.exe in the installation directory to povengine.exe, or change the settings of "defaultpovray" (see below).
Again, there are two ways to link Euler to Povray. You can add the "bin" directory to the system path.Or you can set the Povray engine in each notebook that uses Povray. You need to do this using an Euler variable.
defaultpovray = "C:\Users\Rene\Povray\bin\pvengine.exe"
Povray writes intermediate files and the PNG output to the "Euler" folder in the user home folder.
Though it is not essential I recommend the use of the Source Code Pro Font for Euler, as well as for any other activity in programming. Euler uses the default Courier New font of Windows, but the Source Code Pro font has a much clearer appearance. You can find the font in Sourceforge.
To use a font for Euler, open the font settings, and click on the selection for the text font. Then you can select any of the available fonts with fixed character width. Or you can simply enter the font name. The default is Courier New. Do not change the size in pixels from the default 16, unless you have to. For Presentations, you can magnify the text window with a menu options.
Note that the graphics font is font with non-fixed characters, by default is is Arial. The size is measured relative to the screen size. The default is 40 lines per screen. You can increase or decrease this to generate images for print. But you need to restart Euler so that the graphics window can be adjusted.
Fonts can be adjusted for one session with the setfont command. This is useful for graphics designed for small prints below 12cm. See the example pages on plots for more information on this.
The Windows version of Euler will run under Wine with many restrictions. For details on this, refer to this document. The following is for the Windows version.
Euler comes with the external editor JE, written by the author of EMT. It is a Java editor. Java must be installed on the system. The external editor can be used to edit external Euler files, or the temporary Euler file.
JE has syntax highlighting for Euler files (*.e), and a spell checker for English and German which works only inside comments of functions or global comments. It can also wrap comments.
You can also use any other editor. There is a syntax highlighting for Notepad++ in the installation directory, which you can import as a language.
If you need Euler on a stick, or do not want to install Euler into your system, you can create a version that does not alter the computer.
To install Euler on a USB stick, do not simply change the installation directory. You would still get icons and uninstall information on the computer pointing to data on the stick. Instead, do the following.
- Install the full version of Euler on a computer and copy the Euler directory in the program folder to the USB stick. This is the directory, which contains the Euler executable.
- Create a subdirectory of the copied folder on the USB stick named "Euler Files". If Euler finds such a subdirectory, it will not use the registry, nor the user home directory. Euler will create a file with its settings on the stick.
- If you want to use LPSOLVE or Python, you need to copy the proper DLLs to your stick. EMT installes DLLs into the system directory, usually c:\windows\system32. You need eulpsolve.dll, lpssolve55.dll, py27.dll.
- You can then uninstall Euler from the computer, if you wish.
- Start the Euler executable from the stick.
To install Euler in a local network, you need to provide a place for the Euler binaries on the file server, and another place for the user home directory and the Euler configuration in the home directory of the current user.
- Install Euler as usual and copy the Euler directory to the file server. Once the files are copied, you can uninstall Euler.
- Provide a link to start euler.exe on the file server with the parameter "-h homedir", where homedir is the full Windows name of the user directory. Euler will create a directory "Euler Files" in this directory, and save .euler.profile there.