New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\emph is broken #254

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

Comments

Projects
None yet
3 participants
@simifilm

simifilm commented Jan 23, 2017

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

This comment has been minimized.

Show comment
Hide comment
@wspr

wspr Jan 24, 2017

Owner
Owner

wspr commented Jan 24, 2017

@wspr

This comment has been minimized.

Show comment
Hide comment
@wspr

wspr Jan 24, 2017

Owner

Update to fix this now sent to CTAN.

Owner

wspr commented Jan 24, 2017

Update to fix this now sent to CTAN.

@crmackay

This comment has been minimized.

Show comment
Hide comment
@crmackay

crmackay Jan 27, 2017

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.

crmackay commented Jan 27, 2017

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

This comment has been minimized.

Show comment
Hide comment
@wspr

wspr Jan 28, 2017

Owner
Owner

wspr commented Jan 28, 2017

@crmackay

This comment has been minimized.

Show comment
Hide comment
@crmackay

crmackay Jan 28, 2017

Sounds good. Thanks for the great work!

crmackay commented Jan 28, 2017

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