Am 02.12.21 um 09:03 schrieb Wolfgang Engelmann:


Am 02.12.21 um 07:51 schrieb Wolfgang Engelmann:


Am 01.12.21 um 20:18 schrieb Herbert Voss:


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
Thanks, Herbert

I do have the sticks2 fonts, as shown by

/usr/local/texlive/2021/texmf-dist/fonts$ find -iname 'stix2*'

May be, I have to set a PATH to it? ow?

Wolfgang

I put

  PATH=/usr/local/texlive/2021/bin/x86_64-linux:$PATH
in /etc/environment with sudo

The file was empty before. I rebootet and started my lyx file again, but get again

luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: File not foun
d: "STIX2Math.otf".
! Package fontspec Error: The font "STIX2Math" cannot be found.

I tried also /etc/environment.d
but I do not understand its functioning and stopped it

Wolfgang

same after a reconfigure of the lyx file

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

Reply via email to