[lltx] hyphenation problem with fontspec

Stephan Hennig mailing_list at arcor.de
Fri Nov 12 14:01:05 CET 2010


Hi,

with LuaTeX words containing letters in different fonts can be properly 
hyphenated.  In the following LaTeX example this works well as long as 
fontspec isn't loaded.  With fontspec loaded the \itshape version is 
still hyphenated, but the \textit version isn't.  Is that expected 
behaviour?

Best regards,
Stephan Hennig

\documentclass[draft]{article}
%\usepackage{fontspec}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[width=2cm]{geometry}
\begin{document}
An  intere\textit{st}ing word.

An intere{\itshape st\/}ing word.
\end{document}


More information about the lualatex-dev mailing list