Libertinus font and AnonymousPro

Wolfgang Engelmann engelmann at
Tue Jul 6 07:18:24 UTC 2021

I would like to use the Libertinus font and AnonymousPro as recommended 
in the book of Herbert Voss 'Die wissenschaftliche Arbeit mit 
Latex''page 44.
This font is not listed in the Document>font

I put according to Voss this in the latex preamble:
\usepackage {libertinus-otf}
in Document>settings

but get:

Requested font "AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85" at 
  -> font not found, using "nullfont"

! Package fontspec Error: The font
(fontspec) cannot be found.

At the end of the book it says:
but this gave also an error:

Runaway argument?
! Paragraph ended before \setmonofont  was complete.

Voss offers this command to check for the installed fonts:
pdffonts 04-02-6.pdf | sed 's/^.*+/      /g' | (sed -u 2q; sort -k1,1 -u)
but I get:

I/O Error: Couldn't open file '04-02-6.pdf': No such file or directory.
and the command

I use LyX Version 2.3.6 (Friday, November 27, 2020)
under Debian 11 and use the non-TeX fonts setting

What should I do in order to use these fonts?


More information about the lyx-users mailing list