1.2 Launching TeXgraph

The program needs to be installed ( see the LisezMoi.txt file ), the executable is called TeXgraph, and is launched with a script : startTeXgraph.

The installation directory is containing the TeXgraph directory where you’ll find the executables and other directories : Exemples, doc and macros.

TeXgraph is handling three kinds of files : the source files (*.teg), the model files (*.mod) and the macro files (*.mac).

These three file types follow the same syntax rules, as described in the src4latex section.

At program launch, several macro files are loaded: TeXgraph.mac, couleurs.mac, scene3d.mac and interface.mac (the later is only loaded by the GUI ). Those files are considered as predefined and will stay in memory during the whole session until the program is closed.

It’s also possible to load one or several other macro files at program launch by adding those as parameters in the command line . On the same way, the macros loaded are considered as predefined and will be removed from memory at the end of the session, ie: the closing of the program.

A macro file is loaded using the File/Load Macros. The variables and macros loaded are also considrered as predefined and won’t be part of the graphics. Though, these will be removed from memory at the next graphic file loading . The variables and macro loaded with the Filer/Import a model are added to the current file, will be saved with it, and will be removed at the next graphic file loading

For a satisfying user experience with TeXgraph, your system should come with:

  1. A working TEX distribution, including the tikz/pgf , pstricks packages.
  2. The ImageMagic software suite is mandatory to convert images (Snapshot button or animated gifs from the Animation.mod model).
  3. The swftools if you use the Animation.mod model and export using Flash format.
  4. The pstoedit program is needed to convert compiled TEX formulas into paths.
  5. The povray program if you use the povray.mod model.

If you also intend to use the geom and jvx 3D exports, you’ll need to visualize the results using:

  1. The geomview program : with the *.geom files.
  2. The javaview program : with the *.jvx files. This program can be run locally, and as an applet in a web page as we can see on that page.
These programs are all free software available for linux and windows.