[XeTeX] Dotless I and Emph problem

Joseph Wright joseph.wright at morningstar2.co.uk
Sat May 8 19:05:53 CEST 2010


On 08/05/2010 15:54, Chris Yocum wrote:
> \documentclass{article}
>
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \usepackage{fontspec}
> \setmainfont[Mapping=tex-text]{Linux Libertine O}
>
> \begin{document}
>
> F\'{\i}thal
>
> \emph{F\'{\i}thal}
>
> \end{document}

Things work with a real dotless i

\documentclass{article}

\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Linux Libertine O}

\begin{document}

Fıthal

\emph{Fıthal}

\end{document}

If you try the example

\documentclass{article}

\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Linux Libertine O}

\begin{document}

F{\i}thal

\emph{F{\i}thal}

\end{document}

You'll see the error:

LaTeX Font Info:    No file OT1LinuxLibertineO(0).fd. on input line 12.
LaTeX Font Info:    Font shape `OT1/LinuxLibertineO(0)/m/it' undefined
(Font)              using `OT1/cmr/m/n' instead
(Font)              for symbol `i' on input line 12.

LaTeX is looking in the wrong place for \i, and so is falling back on CM 
(and not italic).
-- 
Joseph Wright


More information about the XeTeX mailing list