Tuesday, April 3, 2012

Tex Live & TeXstudio


I have been using Tex Live and TexMaker for many years, but I have been always using the Ubuntu's packaged versions of these programs. Recently I tried to use moderncv to write my CV and I realized how old these packages are.

Tex Live

So I decided to read about Tex Live installation process and I found it is such a simple thing, that I put myself to work.

You have to download Tex Live tarball from Tex Live TUG. Uncompress it, and run the following command:

perl install-tl 

You can configure some stuff like languages, schemas, target directories and page layout (I set A4 for default paper size, spanish languaje, and full schema). Once installation ends, you have to configure PATH, MANPATH and INFOPATH environment variables to include Tex Live stuff, and that's all folks.

Of course you can configure more options, and you can custom Tex Live. For example, you can configure Fonts for XeTex, as Official Documentation states.

TeXstudio

In this case you need to install several dependencies before you proceed. At least: qt4-qmake, build-essential, libqt4-dev and libpoppler-qt4-dev are needed in a typical Ubuntu Oneiric (using Unity).

Then you can download TeXstudio tarball, uncompress it and run following commands:

qmake texstudio.pro
make
sudo make install

Now you can run TeXstudio and enjoy it!