Stable version
You may download
current version of MathGL for following configurations:
- source file with autoconf/automake script.
- Win32 binaries for MinGW (build for i686)
- DevPak package for Dev-C++ or Code::Blocks
- RPM packages for Fedora 8
- RPM packages for ALT Linux
- DEB packages for Debian Sid
- DEB packages for all platforms
- PDF documentation in English
- PDF documentation in Russian
- PDF slideshow of main features
Older versions of library or documentation you may download from sourceforge project page. Statistic for MathGL project can be viewed here.
You may also download the files with MGL scripts
interpreter:
- Binary for windows - archive with tools mgl2png.exe, mgl2eps.exe and so on.
- HTML documentation
- Source files of tools are included in library source.
Note, that GSL and PNG libraries should be installed in system. If they are absent then you may download here precompiled versions for MinGW Win32 or mgl_msvs.zip for MS Visual Studio.
There are a set of font files for MathGL with following typefaces. Note, that the set of glyphs can be less than in default font. As result not all TeX symbols can be displayed.
- STIX font – default font for MathGL.
- Adventor font – the TeX Gyre sansserif font based on the URW Gothic L family (like Avant Garde Gothic).
- Bonum font – the TeX Gyre serif font based on the URW Bookman L family.
- Chorus font – the TeX Gyre font based on the URW Chancery L Medium Italic.
- Cursor font – the TeX Gyre monospaced serif font based on the URW Nimbus Mono L (like Courier).
- Heros font – the TeX Gyre sansserif font based on the URW Nimbus Sans L (like Helvetica).
- HerosCN font – the "compressed" version of previous one.
- Pagella font – the TeX Gyre serif font based on the URW Palladio L (like Palatino).
- Schola font – the TeX Gyre serif fonts is based on the URW Century Schoolbook L.
- Termes font – the TeX Gyre serif fonts is based on the Nimbus Roman No9 L (like Times).
Installation and using
Installation is rather simple. There are two ways. First one is the direct compilation from sources. The standard script for autoconf/automake tools is included in the library. Note that sometime you need to update yours OS by calling ldconfig. To do that check that folder /usr/local/lib present in file /etc/ld.so.conf or in a file inside folder /etc/ld.so.conf.d . If folder /usr/local/lib is absent that add it. After that execute ldconfig by root user.
Second way is the using of precompiled binary. There are binaries for MinGW (Win32 platform, i686). For precompiled variant one needs only to unpack the archive to the compiler location (or in any other folder and setup paths). By default precompiled versions include support of GSL (www.gsl.org) and PNG. So, one needs to have these libraries installed on system.
One needs to specify the following key for linker -lmgl when using library and compiling own program in console mode or with external graphical library. If you plan to use FLTK or GLUT windows then you need to add keys for its support: -lmgl-fltk or -lmgl-glut.
Fortran users (for v.1.4.3 and later) should also specify following option -lstdc++. Note that I test library with gfortran compiler which use Classic AT&T UNIX order of parameters for string (this is default for gfortran). You may need to use another options in yours compiler to set it.
|