I use Gummi was LaTeX document editing.
I recently installed TeX Live 2012 as per instructions here. Also I previously had TeX Live installed from Ubuntu Software Center which I uninstalled.
Now, when I start Gummi and load some old LaTeX documents, it seems Gummi doesn't know anything about new TeX Live 2012 installation and uses old TeX program (I don't understand where it loads this old program from since I uninstalled TeX Live from Software Center).
This is the first line in Gummi's build log:
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
Does it come with its own TeX Live
? How do I make it use TeX Live 2012
?
In fact when I type in command pdflatex
in the terminal, I get:
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
where as when I cd /usr/local/texlive/2012/bin/i386-linux
and type in ./pdflatex
, I get:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
restricted \write18 enabled.
I had properly exported PATH
variable after installing TeX Live 2012
by adding following entry in my ~/.pam_environment
file:
PATH DEFAULT=${PATH}:/usr/local/texlive/2012/bin/i386-linux
When I echo $PATH
above directory can be seen added to PATH
.
Looks like some old TeX Live program is taking preference over TeX Live 2012.
Tex Live 2012
inPATH
variable.DEFAULT=/usr/local/texlive/2012/bin/i386-linux:${PATH}
?TeX Live 2012
directory in front to the PATH and now Gummi uses 2012 installation. However, where did it findTeX Live 2009
installation when I had it uninstalled from software center?