latex3 / fontspec

Font selection in LaTeX for XeTeX and LuaTeX
http://latex3.github.io/fontspec/
LaTeX Project Public License v1.3c
277 stars 34 forks source link

\str_lowercase:f removed in lualatex-dev #412

Closed projekter closed 4 years ago

projekter commented 4 years ago

Description

In the developer's preview versions lualatex-dev, \str_lowercase:f seems to be removed. According to the l3deprecation.dtx the new command needs two underscores: \str_lower_case:f. Changing fontspec-luatex.sty to this variant works in both the normal as well as the developer variant.

Check/indicate

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\setmainfont{texgyrepagella}[
  Extension = .otf ,
  UprightFont = *-regular.otf ,
  ItalicFont  = *-italic.otf  ,
]
\begin{document}
hello \emph{hello}
\end{document}
wspr commented 4 years ago

Ignore my commit above, it has been rolled back. I wasn't paying enough attention.

\str_lower_case:f is the OLD command — \str_lowercase:f is the new one.

I think an update to all l3.. and latex2e packages in your distribution should fix the issue.

projekter commented 4 years ago

Sorry for the wrong report. This seems to be a MikTeX development build issue, as all my l3 packages are up-to-date (even after the update today, it is still present), and also the date of the luatex-dev format is from February 1st (rebuild right now didn't help). Got it: After the package updates (which I only do in admin mode), MikTex must have during rebuild switched to user mode, so that the formats themselves - which I manually rebuild in admin mode - were overwritten by an older user-mode format). Deleting all user-mode data that should not have been there in the first place solved the issue.

wspr commented 4 years ago

Great to hear!