Neal Becker wrote:

> Neal Becker wrote:
> 
>> José Abílio Matos wrote:
>> 
>>> On Friday, July 1, 2016 9:13:07 AM WEST Neal Becker wrote:
>>>> There it is!
>>>> I've tried
>>>> sudo mktexlsr --verbose
>>>> and also rm -rf ~/.texlive2015 to clean cache.
>>> 
>>> Hi Neal,
>>> do you have texlive-lm-math installed?
>>> 
>>> If not this should work:
>>> # dnf install texlive-lm-math
>>> 
>>> Regards,
>> 
>> Yes
>> I posted my question with more info here
>> https://stackoverflow.com/questions/38149551/lualatex-luaotfload-load-path-lookup-of-latinmodern-math-otf-unsuccessful
>> 
>> The issue seems to be:
>> luaotfload | load : path lookup of "latinmodern-math.otf" unsuccessful,
>> falling
>> back to file:
>> 
>> falls back to (LatinModernMath-Regular
>> which doesn't seem to work.
>> 
>> But why isn't latinmodern-math.otf found?
>> [nbecker@nbecker2 interference]$ luaotfload-tool
>> [--find=latinmodern-math.otf
>> luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason:
>> "Font latinmodern-math.otf not found.".
>> luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
>> luaotfload | resolve : Hint: use the --fuzzy option to display
>> suggestions.
>> [nbecker@nbecker2 interference]$ luaotfload-tool
>> [--find=latinmodern-math.otf
>> --fuzzy
>> luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason:
>> "Font latinmodern-math.otf not found.".
>> luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
>> luaotfload | resolve : Hint: use the --fuzzy option to display
>> suggestions. luaotfload | resolve : Looking for close matches, this may
>> take a while ... luaotfload | query : Distance from "latinmodernmathotf":
>> 7
>>     LatinModernMath-Regular
>>     LatinModernMath-Regular
>> [nbecker@nbecker2 interference]$ luaotfload-tool --find=latinmodern-math
>> [--
>> fuzzy
>> luaotfload | resolve : Font "latinmodern-math" found!
>> luaotfload | resolve : Resolved file name "/usr/share/fonts/lm-
>> math/latinmodern-math.otf"
>> 
>> My guess is luatex is looking for 'latinmodern-math.otf', which fails,
>> instead of looking for 'latinmodern-math', which succeeds.
>> 
>> If this is correct, where's the problem?
> 
> I've attached a minimal test file that shows the problem:
> Missing character: There is no 𝑙 (U+1D459) in font "file:lmsans10-
> regular:scr
> ipt=latn;+trep;+tlig;"!

To summarize my findings so far:
1. I believe texlive 2015 unicode-math-luatex.sty has a typo, the '.otf' 
should be removed, this removes the 'path lookup of "latinmodern-math.otf" 
unsuccessful' message
2. Adding
\usefonttheme{professionalfonts}
\usepackage{lmodern}

seems to clean things up, and gets rid of messages about 'Missing 
character...', which was upsetting lyx (lyx thinks these messages are 
errors)

Reply via email to