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

version 0.8g cannot give version information #408

Closed stone-zeng closed 6 years ago

stone-zeng commented 6 years ago

It seems that you have comment some lines, so that there are no \ProvidesPackage{...} in the sty files.

%---- Near line 52 in unicode-math.dtx ----%

\ProvidesFile{unicode-math.dtx}
%</internal>
%<preamble&!XE&!LU>\ProvidesPackage{unicode-math}
%<preamble&XE>\ProvidesPackage{unicode-math-xetex}
%<preamble&LU>\ProvidesPackage{unicode-math-luatex}
%<*preamble>
  [2017/10/02 v0.8g Unicode maths in XeLaTeX and LuaLaTeX]
%</preamble>

By the way, you use the label package,XE\UMDEBUG here, is that a typo?

%---- Near line 43 in unicode-math.dtx ----%

\generate{\file{unicode-math-luatex.sty}{
  \from{unicode-math.dtx}{package,LU\UMDEBUG}
  \from{unicode-math-epilogue.dtx}{package,XE\UMDEBUG}  % <==== HERE
  \from{unicode-math-compat.dtx}{compat,LU\UMDEBUG}
}}

Version: v0.8g, 2017/10/02

wspr commented 6 years ago

Ah thanks. I'm reorganising this now to make it more clear what's going on.

stone-zeng commented 6 years ago

It seems that you still forget the version information for the main unicode-math.sty in v0.8h. :satisfied: But for unicode-math-xetex.styand unicode-math-luatex.sty, it's OK.

The sample log file:

(d:/Texlive/2017/texmf-dist/tex/latex/unicode-math/unicode-math.sty
(d:/Texlive/2017/texmf-dist/tex/latex/ucharcat/ucharcat.sty
Package: ucharcat 2015/11/19 v0.03 ucharcat for luaLaTeX (DPC)
\ucharcat@table=\catcodetable9
)
(d:/Texlive/2017/texmf-dist/tex/latex/filehook/filehook.sty
Package: filehook 2011/10/12 v0.5d Hooks for input files
)
(d:/Texlive/2017/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.sty
Package: unicode-math-luatex 2017/10/09 v0.8h Unicode maths in XeLaTeX and LuaLaTeX

(d:/Texlive/2017/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
Package: lualatex-math 2017/06/15 v1.7 Patches for mathematics typesetting with LuaLaTeX
Lua module: lualatex-math 2013/08/03 1.3 Patches for mathematics typesetting with LuaLaTeX

...
wspr commented 6 years ago

Thanks — it's not that I forgot, it's that there was a bug in the code for generating those lines :)