Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The texlive 2012 and the libertine font version (currently 5.3) has been already updated by:

Tlmgr update --all

However, I found texmaker pdflatex invoke libertine-legacy, because when using \usepackage[lining]{libertine} there is such an error:

error

but typing in terminal pdflatex filename.tex, no error arose. However, texmaker pdflatex will produce lining numbers without this option.

Another evidence is that the maths font is slightly different:

pdflatex in Terminal: superscript `f` is more close to the left Letter in math mode.

enter image description here

Texmaker pdflatex:

enter image description here

So how to make texmaker pdflatex loads the latest libertine font?

share|improve this question
2  
Are you sure you do not have two LaTeX installations? The Ubuntu one and the TUG TeXLive 2012, and then TeXMaker use one and the commandline the other. – daleif Jan 24 at 11:02
I have installed Texlive 2012 from TUG TeX Live Backports PPA. Information in texmaker This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2012.11.19) 24 JAN 2013 12:06 – KOF Jan 24 at 11:07
I don't use the backports, so I have no idea how they work, you might want to test if you have more than one TeXLive installed. – daleif Jan 24 at 11:20
Got it! The problem lies with Texmaker! Because it doesn't load the texlive 2012 path setting in bashrc. When opening texmaker in terminal, it loads the path and everything is ok. – KOF Jan 24 at 11:24
6  
Exactly, don't add the path in bashrc but in /etc/environment (make a backup first), append the path to /etc/environment, log out, log in, and someone is your uncle. – daleif Jan 24 at 11:30

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.