Installation

The Euler Core

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 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.

Maxima

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.

Latex

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 find a good Tex system for windows on the site of

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.

Python

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. 

It is recommended that you install Anaconda. This is a full Python system with MatPlotLib and NumPy. Install it "for all users", or copy the python27.dll to the Windows directory with adminstrator priviledges.

You can also use the standard Python environment. 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.

I have some files on my server for your convenience. But you should install the more current version that you find on the net.

Tiny C

The Tiny C compiler is installed with EMT. It can be used automatically.

Povray

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.

Watch carefully where Povray is installed. You need to link the Povray executable to EMT before you can use it.

There are two ways to link EMT to Povray. You can add the "bin" directory of Povray 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.

Fonts

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.

Linux

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.

External Editor

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.

Portable Euler

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.

Network Installation

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.