TeXoMaker

 
  • Increase font size
  • Default font size
  • Decrease font size

Installation

Table of Contents

You can use a precompiled package or compile yourself from the sources available on the Svn repository.

Using a precompiled package

Linux

A precompiled package has been prepared for linux (tested with Debian Lenny, Etch, Ubuntu 8.04, 8.10, and Mandriva 2009). Decompress the package :

gwenael@debian:/programmes$ tar -xvzf TeXoMaker-_version_-Linux-pkg.tar.gz

In the package you'll find the software binary, TeXoMaker and a script, TeXoMaker.sh used to launch the application using the libraries in the lib directory. In the bin directory there is also another script, ltx2pdf used for compilations with latex.

So, the specific libraries are contained in the package (in the directory lib) : Qt4 libraries, and poppler-qt4 libraries.

For mysterious dependencies reasons, you could have to install libaudio2 library (I had to do this on a "fresh" Ubuntu 8.04) :

gwenael@debian:~/TeXoMaker$ sudo apt-get install libaudio2

To launch the application, use the script TeXoMaker.sh :

gwenael@debian:~/TeXoMaker$ ./TeXoMaker.sh

If you wish to create a symbolic link (in /usr/bin for example) you have do this with TeXoMaker.sh as target.

TeXoMaker.sh and ltx2pdf have to be executable. If it's not the case you have to launch ::

gwenael@debian:~/TeXoMaker$ chmod +x TeXoMaker.sh
gwenael@debian:~/TeXoMaker/bin$ chmod +x ltx2pdf

Mac Os X 10.5 (Intel)

There is a package for Mac Os X 10.5 (Leopard) which contains TeXoMaker.app ready to use. The bin directory contains also the script ltx2pdf, that you could have to make executable with the command :

MacBook:bin gwenael$ chmod +x ltx2pdf

The file TeXoMaker.app is larger than for the linux version; it's because the file (an Apple bundle) contains all necessary libraries.

Windows

Just download the corresponding archive for Windows : TeXoMaker-_version_-Windows-pkg.zip and uncompress it anywhere you want, for example in C:\Program Files.

The directory contains a shortcut that you can drag anywhere. The important thing is not to move the binary TeXoMaker.exe itself from the directory bin.

Compilation from sources

Whatever your architecture, the compilation will necessitate the installation of Qt4 and poppler-qt4 libraries.

Linux

With GNU/Linux, it's very easy using your package manager. For exemple with the debian family :

gwenael@debian:~ # apt-get install libqt4-core libqt4-gui libqt4-xml libqt4-dev libpoppler-qt4-dev

(it will lead to the installation of a lot of dependencies).

Checkout the sources on the svn :

  • on this link Svn you can download a zip package.

  • or directly :

    gwenael@debian:~ # apt-get install svn

    if necessary then :

    gwenael@debian:~/programmes$ svn checkout http://syracuse-dev.org/svn/gwen/trunk/Qt/TeXoMaker

Then go to the TeXoMaker directory and type the classic commands to compile Qt4 programs :

gwenael@debian:~/programmes/TeXoMaker$ qmake
gwenael@debian:~/programmes/TeXoMaker$ make

The binary (in case of success) is in the subdirectory bin.

Mac Os X

On Mac OS X, the problem is not to install Qt4 (there is a Mac version on the Trolltech site), but for poppler and particularly poppler-qt4 it's another story (compiling poppler with the option Qt4 with the good settings is a little bit tricky (for me)). I found a simpler method using MacPorts. Installation of poppler through MacPorts with the qt4 variant leads to the installation of Qt4 (and a lot of other dependencies). Once MacPorts is installed, the following command should work :

MacBook:~ gwenael$ sudo port install poppler +quartz +qt4

(the quartz variant leads to the installation of the native version of Qt4 instead of the X11 version). Keep in mind that MacPorts downloads the sources and compile them (with the good settings, that's the point of interest), so it can be very long (several hours). For information, MacPorts installs everything in the /opt/local) directory.

Then go to the TeXoMaker directory and type the classic commands to compile Qt4 programs :

MacBook:~/TeXoMaker gwenael$ qmake
MacBook:~/TeXoMaker gwenael$ make

The binary (in case of success) is in the subdirectory bin.

Windows

On Windows, it's very easy to install Qt4; but concerning Poppler, it's very different : the compilation of Poppler on Windows is very difficult.

The best way I found was to get the precompiled libraries (.dll). To do that, I used the huge work done by people of the Kde on Windows project who have (among other things) compiled a lot of libraries of the *NIX world on Windows.

If you're interested in the compilation of TeXoMaker on Windows, please contact me.

 


created-with-docbook-black