Skip to content
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

! Missing number, treated as zero. with mathbh #339

Closed
alinelena opened this issue Feb 15, 2016 · 1 comment
Closed

! Missing number, treated as zero. with mathbh #339

alinelena opened this issue Feb 15, 2016 · 1 comment

Comments

@alinelena
Copy link

I try to build a simple document with lualatex using fontspec and unicode-math... this seems suddenly to fail.


luaotfload | load : Lookup/name: "OpenSans" -> "OpenSans-Regular.ttf"
luaotfload | aux : font no 31 (OpenSans) defines no feature for script math
luaotfload | aux : no font with id 31
\sym__um_fam10=\mathgroup13
LaTeX Font Info: Overwriting symbol font __um_fam10' in versionnormal'
(Font) EU2/OpenSans(2)/m/n --> EU2/OpenSans(2)/m/n on input lin
e 18.
LaTeX Font Info: Overwriting symbol font __um_fam10' in versionbold'
(Font) EU2/OpenSans(2)/m/n --> EU2/OpenSans(2)/bx/n on input li
ne 18.
! Missing number, treated as zero.

\protect
l.18 ...t[range=\mathbf/{latin,Latin,num}]{OpenSans}

?
! Emergency stop.

\protect
l.18 ...t[range=\mathbf/{latin,Latin,num}]{OpenSans}

End of file on the terminal!

I really have no idea what is wrong (this is on a fedora install fontspec is svn37926.2.4d and unicode math is svn38337.0.8b)

attached a small example and a the log.

Alin
hello-pure.zip

@wspr
Copy link
Collaborator

wspr commented Jan 5, 2018

Sorry for the (very) slow reply. You can't use \mathbf (or \mathrm) when declaring alphabet ranges.

@wspr wspr closed this as completed in 9476c27 Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants