Hey,
I'm very new to this forum and to (Xe)LaTeX in general, so you have to bear with me if this is a stupid question. There are som basic features about TeX that I don't know much about.
I'm using Linux Libertine in Kile and it worked perfectly a couple of months ago, but now the italic command seems to be ignored. In other words, it compiles without problems but the italics aren't in the pdf.
That should not be a problem of the editor. Perhaps post your .log file here, as attachment to a post. There may be warnings or information regarding fonts.
You don't need to copy your log file. In the folder where you have your tex-file (let's call it, say, file.tex) there should be (after at least on LaTeX or XeLaTeX run) also the file file.log. When you write a post here below the text field there's the button “Upload attachment” where you could upload the whole log-file as an attachment to your post which we then could download and have a look.
First thing I notice you use an old TeX Live (TeX Live 2009/Debian). The up to date version is TeX Live 2011. This also means you have some old versions of packages. For example: the version of fontspec you have is 2008/08/09 v1.18. Up to date is 2011/09/18 v2.2a.
Second thing I notice: this is not the log file for the minimal working example above! For example it does not load babel which is loaded by you, obviously.
So I would suggest to install TeX Live 2011. I'd think that this should resolve all the problems.
Ok, I'll try that and get back as soon as possible. It seems that it's a bit of a trick to install Tex Live 2011, but I should be able to figure it out.
And you're right about babel - it was there to test some things in specific languages.
This simple code can compiled with either XeLaTeX or pdfLaTeX engines. The result compiling with pdfLaTeX is both words "TEST" appears slanted but with XeLaTeX none of them appears slanted.
The following are extraits from compilation .log:
. Font family 'LinuxLibertineO(0)' created for font 'Linux Libertine O' with
. options [Mapping=tex-text].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"Linux Libertine O/ICU:script=latn;language=DFLT;mapping=tex-text;"
.
. * 'small caps' with NFSS spec.:
. <->"Linux Libertine O/ICU:script=latn;language=DFLT;mapping=tex-text;+smcp;"
.
. * 'bold' with NFSS spec.:
. <->"Linux Libertine O/B/ICU:script=latn;language=DFLT;mapping=tex-text;"
.
. * 'bold small caps' with NFSS spec.:
. <->"Linux Libertine
. O/B/ICU:script=latn;language=DFLT;mapping=tex-text;+smcp;"
.
. * 'italic' with NFSS spec.:
. <->"Linux Libertine O/I/ICU:script=latn;language=DFLT;mapping=tex-text;"
.
. * 'italic small caps' with NFSS spec.:
. <->"Linux Libertine
. O/I/ICU:script=latn;language=DFLT;mapping=tex-text;+smcp;"
.
. * 'bold italic' with NFSS spec.:
. <->"Linux Libertine O/BI/ICU:script=latn;language=DFLT;mapping=tex-text;"
There is no 'slanted' here. Log continues:
...
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `normal' on input line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> EU1/LinuxLibertineO(0)/m/n on input lin
e 14.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `bold' on input line 14.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/m/n on input li
ne 14.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/m
...
LaTeX Font Warning: Font shape `EU1/LinuxLibertineO(0)/m/sl' undefined
(Font) using `EU1/LinuxLibertineO(0)/m/n' instead on input line 16
The last line tells us that there is no slanted font for Linux Libertine 0 and normal will be used instead, but if I change the font to Times New Roman and DejaVu Sans:
LaTeX Font Warning: Font shape `EU1/TimesNewRoman(0)/m/sl' undefined
(Font) using `EU1/TimesNewRoman(0)/m/n' instead on input line 16.
LaTeX Font Warning: Font shape `EU1/DejaVuSans(0)/m/sl' undefined
(Font) using `EU1/DejaVuSans(0)/m/n' instead on input line 16.
So, no slanted fonts in XeLaTeX. Why this happened after upgrading from 2009 to 2011 in Debian?
I don't have the problem the OP reports: italic fonts works for me compiling with both engines, but I do have another -related?- new issue after upgrading: