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.

The settings for EMT are saved in a file ".euler.profile" in the user home directory. To reset EMT to its default state simply delete this file.

Maxima

If you select the default full EulerSetup.exe, Maxima will be installed into the installation directory of Euler.

You can use your own version of Maxima. 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 up to 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. Note, that C code, e.g. generated with the included TinyC compiler, is again up to 10 times faster then Python.

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. Currently, only Python 2.7 is supported. Python 3 will be supported in later versions of EMT.

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.

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.

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 "EMT.xml" for Notepad++ in the installation sub-directory "util", 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.