\emph is broken #254

Closed
simifilm opened this Issue Jan 23, 2017 · 5 comments

Projects

None yet

3 participants

@simifilm

I just updated to fontspec 2.5c, and with this version \emph{} is undefined. With the following MWE \textit{} gives correct italics, while \emph{} does nothing:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{texgyrepagella-regular.otf}[
       BoldFont       = texgyrepagella-bold.otf ,
       ItalicFont     = texgyrepagella-italic.otf ,
       BoldItalicFont = texgyrepagella-bolditalic.otf ]
\begin{document}\textit{Lala}\emph{Lala}
\end{document}
@wspr
Owner
wspr commented Jan 24, 2017
@wspr
Owner
wspr commented Jan 24, 2017

Update to fix this now sent to CTAN.

@wspr wspr closed this Jan 24, 2017
@crmackay
crmackay commented Jan 27, 2017 edited

any idea when this might show up on CTAN for download via tlmgr?

also in my fontspec-xetex.sty file i have:


\prop_gput:NxV \g__fontspec_em_prop { \f@series/\f@shape } { \l__fontspec_emdef_int }

as opposed to what was pasted above. Though adding _if_new to this line and other line did fix the problem for now. Hopefully this gets overwritten with an update from TeX Live soon.

@wspr
Owner
wspr commented Jan 28, 2017
@crmackay

Sounds good. Thanks for the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment