Hi there,
checking whether a clash between fontspec and babel in LuaLaTeX (already
reported at
http://tug.org/mailman/htdig/luatex/2010-August/001895.html), I have
just discovered new issues with this document:
\documentclass{book}
\usepackage{fontspec}
\usepackage[german,spanish]{babel}
\newcommand{\getext}[1]{\foreignlanguage{german}{#1}}
\newcommand{\geit}[1]{\foreignlanguage{german}{\emph{#1}}}
\begin{document}
\showhyphens{documento (documento)}
\showhyphens{\emph{documento (documento)}}
\showhyphens{(\getext{Umwelterlebnis}) (\getext{Andenken})}
\showhyphens{(\geit{Umwelterlebnis}) (\geit{Andenken})}
\end{document}
XeLaTeX with fontspec-2.1 shows no hyphenation.
XeTeX without fontspec-2.1 shows all hyphenations correctly.
LuaLaTeX with fontspec-2.1 shows no hyphenation on the fourth pair.
LuaLaTeX without fontspec-2.1 shows all hyphenations right.
I guess this might be a bug on fontspec too. The previous fontspec-2.0
version had also the issue with LuaLaTeX too.
Thanks for your help,
Pablo
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex