Am 01.12.21 um 18:36 schrieb Wolfgang Engelmann:


\usepackage{libertinus}
\setmathfont{STIX2Math.otf}


I inserted your
\usepackage{libertinus}
\setmathfont{STIX2Math.otf}

(I had before
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
>the second one in one line, i.e. [...]{AnonymousPro}

that is also ok, libertinus is a wrapper for libertinus-otf and libertinus-type1




which gives an error message
! Package fontspec Error: The font "STIX2Math" cannot be found.


it is  part of a full texlive installation.  You can try the file name:

\setmathfont{STIXTwoMath-Regular.otf}

it it doesn't help, then try to install STIXTwo:
https://ctan.org/tex-archive/fonts/stix2-otf?lang=de

Maybe that Ubuntu has an own package for that.

Herbert


What was wrong?
Do you need more of the log-file? >
 A font might not be found for many reasons.
 Check the spelling, where the font is installed etc. etc.

 When in doubt, ask someone for help!


luaotfload | aux : no font with id 0

Package fontspec Warning: Font "STIX2Math" does not contain requested Script
(fontspec)                "Math".

luaotfload | aux : no font with id 0
luaotfload | aux : no font with id 0

! Package fontspec Error: The font "STIX2Math" cannot be found.


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to