Compiling with either XeLaTeX or LuaLaTeX, \emph{}
no longer displays text as expected, i.e. in italics. \textit{}
works fine. Here is a MWE demonstrating the issue.
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\emph{lorem ipsum}
\textit{lorem ipsum}
\end{document}
I have TeXLive 2016 (MacTeX) installed. I updated it an hour ago with sudo tlmgr update --self --all
.
I guess there is something wrong but what ? I'd be happy to have some help. Thank you.
Best Answer
This is now fixed in the version on ctan and in texlive.
This is a hopefully temporary issue in the latest
fontspec
release, it has been raised this morning ashttps://github.com/wspr/fontspec/issues/254
In the meantime if you add
to your preamble the document will work in the common cases where
\emph
is italic, and then just look out for a fontspec update in the next day or so and remove this line again.