Texmaker and TeXstudioQuickBuild

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
baxy77bax
Posts: 2
Joined: Mon Mar 05, 2012 1:14 pm

QuickBuild

Post by baxy77bax »

Problem is the following: I have a Ubuntu 11.10 on my machine and I have installed the new version of latex (2011) since my pgfplots was not up to date.after the installation when i compile my code via terminal it runs nicely no errors but if i compile it via texmaker (Quick build: Latex+dvips+ViewPS) with latex set to my new latex location which is : /usr/local/texlive/2011/bin/x86...

it reports every old bug that was specific for the pgfplots latex 2009


what am i doing wrong?

thank you

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

QuickBuild

Post by justdeath »

You have a PATH problem. Open a terminal, type:

Code: Select all

cd ~
nano .bashrc
and put this code at the end of the file:

Code: Select all

export PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH
Then press Ctrl+X, y, enter. Close all terminals.
Open again, type:

Code: Select all

which pdflatex
and it should return the command from TeXLive 2011.

Compile again, also you can try installing pgfplots again from:
http://sourceforge.net/projects/pgfplots/
Just extract it in /usr/local/texlive/2011/texmf-dist

The problem also might be that texmaker uses old PATHs.
Go to its options and FIX that.

If you still have problems, send a minimal working example.
Can't be bothered to learn how to use pgfplots.

Nikolay
Post Reply