latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
243 stars 28 forks source link

not working with current TL #426

Closed tweh closed 6 years ago

tweh commented 6 years ago

Hi,

I know this is a quite bad title for the issue but I have no idea what the reason is. It seems like unicode-math is broken with a current TeX Live (I guess due to some changes in L3).

The following MWE won’t compile.

% !TeX program = xelatex
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
Test
\end{document}

I’m using an up-to-date TeX Live 2017 and get several errors about undefined control sequences, e.g. \g__um_named_ranges_seq or \__um_log:nx.

hvoss49 commented 6 years ago

no problem with my up-to-date TL2017

 *File List*
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
unicode-math.sty    2017/11/18 v0.8i Unicode maths in XeLaTeX and LuaLaTeX
   expl3.sty    2017/12/05 L3 programming layer (loader) 
expl3-code.tex    2017/12/05 L3 programming layer 
l3xdvipdfmx.def    
  xparse.sty    2017/12/05 L3 Experimental document command parser
l3keys2e.sty    2017/12/05 LaTeX2e option processing using LaTeX3 keys
fontspec.sty    2017/11/09 v2.6g Font selection for XeLaTeX and LuaLaTeX
fontspec-xetex.sty    2017/11/09 v2.6g Font selection for XeLaTeX and LuaLaTeX
 fontenc.sty
   tuenc.def    2017/04/05 v2.0i Standard LaTeX file
fontspec.cfg
ucharcat.sty    2015/11/19 v0.03 ucharcat for luaLaTeX (DPC)
  fix-cm.sty    2015/01/14 v1.1t fixes to LaTeX
  ts1enc.def    2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
filehook.sty    2011/10/12 v0.5d Hooks for input files
unicode-math-xetex.sty    2017/11/18 v0.8i Unicode maths in XeLaTeX and LuaLaTeX
tweh commented 6 years ago

That’s strange … I can’t even get a file list … However I checked manually and the versions are the same as yours and tlmgr doesn’t show any updates at the moment. And as far as I can tell there’s nothing in my user texmf tree that can have an effect on this.

I attach the log file of this MWE

% !TeX program = xelatex
\listfiles
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
Test
\end{document}

log file: um-bug.log

stone-zeng commented 6 years ago

It seems that you have put unicode-math-xetex.sty in your working directory, but this file is not up-to-date and may not be compatible with the current unicode-math.

hvoss49 commented 6 years ago

You are using a local file:

`(./unicode-math-xetex.sty

should also be

(/usr/local/texlive/2017/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty

tweh commented 6 years ago

Damn … that’s the problem when using a cluttered temp folder for tests … thanks!