Re: Libertinus font and AnonymousPro

2021-07-07 Thread Herbert Voss




Am 07.07.21 um 18:00 schrieb Cuyahoga Falls:


On 7/7/2021 10:30 AM, Herbert Voss wrote:

that depends on your system setting. I can use _all_ fonts from TeXLive
in _any_ application




That's interesting, and I never realized that was possible. (As I 
said, I'm no expert).


Is this an OS system setting or a TeX Distro setting? My primary 
computer runs Windows 10 with Miktex and I also have a Linux Mint 
laptop with TeXLive. Where would I look to make the TeX fonts 
available system-wide?


I never used Windows but I suppose that you must copy the font files
into Widows font directory, because Win doesn't know links to another
directory.

For Linux you can read
http://www.troubleshooters.com/linux/lyx/texgyre.htm#reveal
It shows how you can make the TeXLive fonts available for the
System.

For macOS you can create symbolic links inside /Users/.../Library/Fonts
which points to
/usr/local/texlive/.../texmf-dist/fonts/opentype
/usr/local/texlive/.../texmf-dist/fonts/truetype

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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Herbert Voss

Am 07.07.21 um 17:09 schrieb Wolfgang Engelmann:

I tried your lyx file
but get this error (below after ##)
I guess there is a difference in Ubuntu and Debian.


I used a Debian installation for that exampüle. However, you should
export the LyX file into latex (lualatex) and then run that exported file
in a terminal with

lualatex ...

insert "quit " if you get an error.

and send me that tex file also with the created log file.

Herbert


In the meantime I'll try to proceed with the way Steve describes and 
Kornel pointed to

Wolfgang

##
 Requested font "AnonymousPro" at 9.7pt
 -> font not found, using "nullfont"

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

For immediate help type H .
 ...

l.13


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!


Requested font "AnonymousPro" at 10.3pt
 -> font not found, using "nullfont"
Missing character: There is no x ("78) in font nullfont!
! Undefined control sequence.
 \LaTeX3 error:
   Invalid operation fp_to_decimal(inf)
l.13

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Package fontspec Info: AnonymousPro scale =


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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Cuyahoga Falls



On 7/7/2021 10:30 AM, Herbert Voss wrote:

that depends on your system setting. I can use _all_ fonts from TeXLive
in _any_ application




That's interesting, and I never realized that was possible. (As I said, 
I'm no expert).


Is this an OS system setting or a TeX Distro setting? My primary 
computer runs Windows 10 with Miktex and I also have a Linux Mint laptop 
with TeXLive. Where would I look to make the TeX fonts available 
system-wide?


Virgil


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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Wolfgang Engelmann

Virgil,
the first part of your mail should perhaps go into Steves
Using the TeX Gyre Century Schoolbook Equivalent Fonts
http://www.troubleshooters.com/linux/lyx/texgyre.htm#xx_copy

It explains for people like me the way the fonts are made available for 
different programs.

Thanks for it
Wolfgang


Am 07.07.21 um 15:08 schrieb Cuyahoga Falls:


On 7/7/2021 7:13 AM, Wolfgang Engelmann wrote:


Herbert, I used in LyX
Use non-TeX fonts (via XeTeX/LuaTeX)
under Document>fonts

Wolfgang



I'm no expert (especially with Debian), but it sounds to me as if the 
fonts you're trying to use have not been unstalled in your Debian system 
(as opposed to being installed in TeXLive).


When you tell LyX to use "non-Tex fonts" through XeTeX/LuaTeX, you're 
telling LyX to use the fonts available to your OS apart from TeX. These 
would be the fonts available to all of your other programs, such as 
LibreOffice (if you have it). These fonts are different from those 
installed by TeXLive. The TeXLive fonts are generally available to 
TeX/LaTeX/LyX systems when compiling using PDFLaTeX (as opposed to 
XeTeX). The TeXLive fonts are generally not available to non-TeX 
programs as they are installed somewhere within the TeXLive file 
structure separate and apart from OS system fonts.


As a test, I would open another non-TeX program that uses system fonts 
(such as LibreOffice or OpenOffice or whatever else you have on your 
system) and see if the desired fonts are available within that program. 
If they are not, then that would indicate to me that they are not 
installed as OS system fonts.


If they are not installed as OS system fonts, then you'll need to 
install them to your Debian system. On that point, I can't help further 
as I know nothing about where Debian installs system fonts or the 
methods it uses to install them.


Virgil



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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Wolfgang Engelmann




Am 07.07.21 um 16:27 schrieb Herbert Voss:

Wolfgang Engelmann schrieb:


I followed your advice, installed Texlive 2021,
added the two lines you provided

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 




reconfigured lyx

but get this:

Requested font "AnonymousPro" at 10.94997pt
-> font not found, using "nullfont"

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



I deleted in your font setting in Document->Setting. The two lines
in the preamble are enough, no further font setting inside LyX document
preferences is needed. Try my attached LyX document. It works for me.

voss@shania:~/Dokumente$ pdffonts AnonymousPro.23-WE.pdf
name type encoding emb sub uni object ID
 - 
--- --- --- -
QHEWKK+LibertinusSerif-Regular CID Type 0C Identity-H yes yes yes 4 0
voss@shania:~/Dokumente$ pdffonts AnonymousPro.23-WE.pdf
name type encoding emb sub uni object ID
 - 
--- --- --- -
VKKRHB+LibertinusSerif-Regular CID Type 0C Identity-H yes yes yes 4 0
WYWFOS+LibertinusSans-Regular CID Type 0C Identity-H yes yes yes 5 0
WWPDNX+AnonymousPro CID TrueType Identity-H yes yes yes 6 0


If it does not work for you, then export the LyX file to latex (lualatex),
go into the directory and run the exported file with

lualatex AnonymousPro.23-WE


and send me this file also with the created log file.

Herbert



Thanks, Herbert.
I tried your lyx file
but get this error (below after ##)
I guess there is a difference in Ubuntu and Debian.
In the meantime I'll try to proceed with the way Steve describes and 
Kornel pointed to

Wolfgang

##
 Requested font "AnonymousPro" at 9.7pt
 -> font not found, using "nullfont"

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

For immediate help type H .
 ...

l.13


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!


Requested font "AnonymousPro" at 10.3pt
 -> font not found, using "nullfont"
Missing character: There is no x ("78) in font nullfont!
! Undefined control sequence.
 \LaTeX3 error:
   Invalid operation fp_to_decimal(inf)
l.13

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Package fontspec Info: AnonymousPro scale =
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Wolfgang Engelmann



Am 07.07.21 um 15:08 schrieb Kornel Benko:

Am Wed, 7 Jul 2021 13:17:35 +0200
schrieb Wolfgang Engelmann :




Am 07.07.21 um 13:01 schrieb Dr Eberhard Lisse:

what does

  tlmgr list |grep anonymouspro

say?

If it says

  anonymouspro: Use AnonymousPro fonts with LaTeX

you need to install it. If it says (has an 'i' for 'installed')

  i anonymouspro: Use AnonymousPro fonts with LaTeX



El,
Iget

i anonymouspro: Use AnonymousPro fonts with LaTeX



we need to look further,


How? Wolfgang


Please follow the advice at
http://www.troubleshooters.com/linux/lyx/texgyre.htm

This is not for tex-gyre only, but for all fonts from texlive.

Kornel

sudo tlmgr install libertinus

[sudo] Passwort für wolfgang:
tlmgr: package repository 
https://mirror.clientvps.com/CTAN/systems/texlive/tlnet (verified)

tlmgr install: package already present: libertinus

tlmgr: package repository 
https://mirror.informatik.hs-fulda.de/tex-archive/systems/texlive/tlnet 
(verified)

tlmgr install: package already present: anonymouspro

/etc/fonts$ ls
conf.avail  conf.d  fonts.conf
%%where fonts.conf is a file which says:
DO NOT EDIT THIS FILE.
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
LOCAL CHANGES BELONG IN 'local.conf'.
%%that leaves conf.avail and conf.d for cp the libertinus
%%conf.avail has
/etc/fonts/conf.avail$ ls
20-unhint-small-dejavu-lgc-sans.conf   57-dejavu-sans.conf
20-unhint-small-dejavu-lgc-sans-mono.conf  57-dejavu-sans-mono.conf
20-unhint-small-dejavu-lgc-serif.conf  57-dejavu-serif.conf
20-unhint-small-dejavu-sans.conf   58-dejavu-lgc-sans.conf
20-unhint-small-dejavu-sans-mono.conf  58-dejavu-lgc-sans-mono.conf
20-unhint-small-dejavu-serif.conf  58-dejavu-lgc-serif.conf
25-arphic-uming-bitmaps.conf 
62-google-crosextra-carlito-fontconfig.conf

25-arphic-uming-render.conf64-arphic-uming.conf
30-0-google-crosextra-carlito-fontconfig.conf  65-droid-sans-fallback.conf
30-droid-noto.conf 65-fonts-lmodern.conf
30-droid-noto-mono.conf65-fonts-texgyre.conf
35-arphic-uming-aliases.conf   90-arphic-uming-embolden.conf
41-arphic-uming.conf
%%conf.d has
/etc/fonts/conf.d$ ls
10-hinting-slight.conf 61-urw-gothic.conf
10-scale-bitmap-fonts.conf 61-urw-nimbus-mono-ps.conf
11-lcdfilter-default.conf  61-urw-nimbus-roman.conf
20-unhint-small-dejavu-lgc-sans.conf   61-urw-nimbus-sans.conf
20-unhint-small-dejavu-lgc-sans-mono.conf  61-urw-p052.conf
20-unhint-small-dejavu-lgc-serif.conf 
61-urw-standard-symbols-ps.conf

20-unhint-small-dejavu-sans.conf   61-urw-z003.conf
20-unhint-small-dejavu-sans-mono.conf  64-01-tlwg-kinnari.conf
20-unhint-small-dejavu-serif.conf  64-02-tlwg-norasi.conf
20-unhint-small-vera.conf  64-10-tlwg-loma.conf
25-arphic-uming-render.conf64-11-tlwg-waree.conf
30-0-google-crosextra-carlito-fontconfig.conf  64-13-tlwg-garuda.conf
30-metric-aliases.conf 64-14-tlwg-umpush.conf
30-opensymbol.conf 64-15-laksaman.conf
35-arphic-uming-aliases.conf   64-21-tlwg-typo.conf
40-nonlatin.conf   64-22-tlwg-typist.conf
41-arphic-uming.conf   64-23-tlwg-mono.conf
45-generic.conf64-arphic-uming.conf
45-Hack.conf   65-fonts-lmodern.conf
45-latin.conf  65-fonts-persian.conf
49-sansserif.conf  65-fonts-texgyre.conf
50-user.conf   65-nonlatin.conf
51-local.conf  69-unifont.conf
57-dejavu-sans.conf70-fonts-noto-cjk.conf
57-dejavu-sans-mono.conf   70-no-bitmaps.conf
57-dejavu-serif.conf   80-delicious.conf
58-dejavu-lgc-sans.conf89-tlwg-garuda-synthetic.conf
58-dejavu-lgc-sans-mono.conf 
89-tlwg-kinnari-synthetic.conf
58-dejavu-lgc-serif.conf 
89-tlwg-laksaman-synthetic.conf

60-generic.conf89-tlwg-umpush-synthetic.conf
60-latin.conf  90-arphic-uming-embolden.conf
61-urw-bookman.conf90-fonts-linux-libertine.conf
61-urw-c059.conf   90-fonts-unfonts-core.conf
61-urw-d05l.conf   90-fonts-unfonts-extra.conf
61-urw-fallback-backwards.conf 90-synthetic.conf
61-urw-fallback-generics.conf  README

%and the README says
conf.d/README

Each file in this directory is a fontconfig configuration file.  Fontconfig
scans this directory, loading all files of the form [0-9][0-9]*.conf.
These files are normally installed in 

Re: Libertinus font and AnonymousPro

2021-07-07 Thread Herbert Voss




Am 07.07.21 um 15:08 schrieb Cuyahoga Falls:


On 7/7/2021 7:13 AM, Wolfgang Engelmann wrote:


Herbert, I used in LyX
Use non-TeX fonts (via XeTeX/LuaTeX)
under Document>fonts

Wolfgang



I'm no expert (especially with Debian), but it sounds to me as if the 
fonts you're trying to use have not been unstalled in your Debian 
system (as opposed to being installed in TeXLive).


When you tell LyX to use "non-Tex fonts" through XeTeX/LuaTeX, you're 
telling LyX to use the fonts available to your OS apart from TeX. 
These would be the fonts available to all of your other programs, such 
as LibreOffice (if you have it). These fonts are different from those 
installed by TeXLive. The TeXLive fonts are generally available to 
TeX/LaTeX/LyX systems when compiling using PDFLaTeX (as opposed to 
XeTeX). The TeXLive fonts are generally not available to non-TeX 
programs as they are installed somewhere within the TeXLive file 
structure separate and apart from OS system fonts.


that depends on your system setting. I can use _all_ fonts from TeXLive
in _any_ application


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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Herbert Voss

Wolfgang Engelmann schrieb:


I followed your advice, installed Texlive 2021,
added the two lines you provided

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}


reconfigured lyx

but get this:

Requested font "AnonymousPro" at 10.94997pt
-> font not found, using "nullfont"

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



I deleted in your font setting in Document->Setting. The two lines
in the preamble are enough, no further font setting inside LyX document
preferences is needed. Try my attached LyX document. It works for me.

voss@shania:~/Dokumente$ pdffonts AnonymousPro.23-WE.pdf
name type encoding emb sub uni object ID
 - 
--- --- --- -
QHEWKK+LibertinusSerif-Regular CID Type 0C Identity-H yes yes yes 4 0
voss@shania:~/Dokumente$ pdffonts AnonymousPro.23-WE.pdf
name type encoding emb sub uni object ID
 - 
--- --- --- -
VKKRHB+LibertinusSerif-Regular CID Type 0C Identity-H yes yes yes 4 0
WYWFOS+LibertinusSans-Regular CID Type 0C Identity-H yes yes yes 5 0
WWPDNX+AnonymousPro CID TrueType Identity-H yes yes yes 6 0


If it does not work for you, then export the LyX file to latex (lualatex),
go into the directory and run the exported file with

lualatex AnonymousPro.23-WE


and send me this file also with the created log file.

Herbert






AnonymousPro.23-WE.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Cuyahoga Falls



On 7/7/2021 7:13 AM, Wolfgang Engelmann wrote:


Herbert, I used in LyX
Use non-TeX fonts (via XeTeX/LuaTeX)
under Document>fonts

Wolfgang



I'm no expert (especially with Debian), but it sounds to me as if the 
fonts you're trying to use have not been unstalled in your Debian system 
(as opposed to being installed in TeXLive).


When you tell LyX to use "non-Tex fonts" through XeTeX/LuaTeX, you're 
telling LyX to use the fonts available to your OS apart from TeX. These 
would be the fonts available to all of your other programs, such as 
LibreOffice (if you have it). These fonts are different from those 
installed by TeXLive. The TeXLive fonts are generally available to 
TeX/LaTeX/LyX systems when compiling using PDFLaTeX (as opposed to 
XeTeX). The TeXLive fonts are generally not available to non-TeX 
programs as they are installed somewhere within the TeXLive file 
structure separate and apart from OS system fonts.


As a test, I would open another non-TeX program that uses system fonts 
(such as LibreOffice or OpenOffice or whatever else you have on your 
system) and see if the desired fonts are available within that program. 
If they are not, then that would indicate to me that they are not 
installed as OS system fonts.


If they are not installed as OS system fonts, then you'll need to 
install them to your Debian system. On that point, I can't help further 
as I know nothing about where Debian installs system fonts or the 
methods it uses to install them.


Virgil


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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Kornel Benko
Am Wed, 7 Jul 2021 13:17:35 +0200
schrieb Wolfgang Engelmann :

> 
> 
> Am 07.07.21 um 13:01 schrieb Dr Eberhard Lisse:
> > what does
> > 
> >  tlmgr list |grep anonymouspro
> > 
> > say?
> > 
> > If it says
> > 
> >  anonymouspro: Use AnonymousPro fonts with LaTeX
> > 
> > you need to install it. If it says (has an 'i' for 'installed')
> > 
> >  i anonymouspro: Use AnonymousPro fonts with LaTeX
> 
> 
> El,
> Iget
> 
> i anonymouspro: Use AnonymousPro fonts with LaTeX
> 
> > 
> > we need to look further, 
> 
> How? Wolfgang

Please follow the advice at
http://www.troubleshooters.com/linux/lyx/texgyre.htm

This is not for tex-gyre only, but for all fonts from texlive.

Kornel


pgp4gFrc9rCg2.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Wolfgang Engelmann



Am 07.07.21 um 13:01 schrieb Dr Eberhard Lisse:

what does

 tlmgr list |grep anonymouspro

say?

If it says

 anonymouspro: Use AnonymousPro fonts with LaTeX

you need to install it. If it says (has an 'i' for 'installed')

 i anonymouspro: Use AnonymousPro fonts with LaTeX



El,
Iget

i anonymouspro: Use AnonymousPro fonts with LaTeX



we need to look further, 


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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Wolfgang Engelmann



Am 07.07.21 um 11:30 schrieb Herbert Voss:

Am 07.07.21 um 11:25 schrieb Wolfgang Engelmann:


I followed your advice, installed Texlive 2021,
added the two lines you provided

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 



reconfigured lyx

but get this:

 Requested font "AnonymousPro" at 10.94997pt
 -> font not found, using "nullfont"

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

In the appended lyx file (originally provided by Kornel) it tells me 
under Document>Fonts

that the Libertinus fonts are not installed.



did you used lualatex or xelatex?

Herbert


Herbert, I used in LyX
Use non-TeX fonts (via XeTeX/LuaTeX)
under Document>fonts

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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Dr Eberhard Lisse

what does

tlmgr list |grep anonymouspro

say?

If it says

anonymouspro: Use AnonymousPro fonts with LaTeX

you need to install it. If it says (has an 'i' for 'installed')

i anonymouspro: Use AnonymousPro fonts with LaTeX

we need to look further, but your enclosed file works in LyX 2.3.4.2 on
Mac BasicTex with

 i anonymouspro: Use AnonymousPro fonts with LaTeX
 i libertinus: Wrapper to use the correct libertinus package according 
to the used TeX engine
 i libertinus-fonts: The Libertinus font family
 i libertinus-otf: Support for Libertinus OpenType
 i libertinus-type1: Support for using Libertinus fonts with 
LaTeX/pdfLaTeX
 i libertinust1math: A Type 1 font and LaTeX support for Libertinus Math


el

On 07/07/2021 11:25, Wolfgang Engelmann wrote:
[...]

Herbert, thanks

[...]

but get this:

  Requested font "AnonymousPro" at 10.94997pt
  -> font not found, using "nullfont"

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

In the appended lyx file (originally provided by Kornel) it tells me
under Document>Fonts that the Libertinus fonts are not installed.

Could somebody try this file and see whether it works?  I am using
Debian 11 and Texlive 2021.

Wolfgang



--
To email me replace 'nospam' with 'el'

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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Herbert Voss

Am 07.07.21 um 11:25 schrieb Wolfgang Engelmann:


I followed your advice, installed Texlive 2021,
added the two lines you provided

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 



reconfigured lyx

but get this:

 Requested font "AnonymousPro" at 10.94997pt
 -> font not found, using "nullfont"

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

In the appended lyx file (originally provided by Kornel) it tells me 
under Document>Fonts

that the Libertinus fonts are not installed.



did you used lualatex or xelatex?

Herbert






Could somebody try this file and see whether it works?
I am using Debian 11 and Texlive 2021.

Wolfgang



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


Re: Libertinus font and AnonymousPro

2021-07-07 Thread Wolfgang Engelmann



Am 06.07.21 um 20:32 schrieb Herbert Voss:

Am 06.07.21 um 14:34 schrieb Wolfgang Engelmann:

Am 06.07.21 um 10:34 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 09:18:24 +0200
schrieb Wolfgang Engelmann :


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

\RequirePackage {libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 




I am using a full installed TeXLive on Ubuntu and LyX 2.3.4.2
(which should not be important):

- creating a new document
- insert into the document's preamble the two lines

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 



- running lualatex or xelatex works fine.

If you are using the TeXLive from Ubuntu, installed with the package 
manager,

then you need a

sudo apt install texlive-fonts-extra


Herbert


Herbert, thanks

I followed your advice, installed Texlive 2021,
added the two lines you provided

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 



reconfigured lyx

but get this:

 Requested font "AnonymousPro" at 10.94997pt
 -> font not found, using "nullfont"

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

In the appended lyx file (originally provided by Kornel) it tells me 
under Document>Fonts

that the Libertinus fonts are not installed.

Could somebody try this file and see whether it works?
I am using Debian 11 and Texlive 2021.

Wolfgang


AnonymousPro.23-WE.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Herbert Voss

Am 06.07.21 um 14:34 schrieb Wolfgang Engelmann:

Am 06.07.21 um 10:34 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 09:18:24 +0200
schrieb Wolfgang Engelmann :


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

\RequirePackage {libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 




I am using a full installed TeXLive on Ubuntu and LyX 2.3.4.2
(which should not be important):

- creating a new document
- insert into the document's preamble the two lines

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro} 



- running lualatex or xelatex works fine.

If you are using the TeXLive from Ubuntu, installed with the package 
manager,

then you need a

sudo apt install texlive-fonts-extra


Herbert




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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Kornel Benko
Am Tue, 6 Jul 2021 17:59:55 +0200
schrieb Wolfgang Engelmann :

> > No, running 2.3.x gives no errors here. You have to enable the tex-fonts 
> > for your
> > system. (Look at the conversation with subject 'LyX says Tex Gyra Schola is 
> > not
> > installed, but I installed it' on this list.)
> > 
> > Kornel
> > 
> >   
> But I want to use non-tex fonts (for luatex).
> And looking at the Gyra Schola conversion non-tex-fonts were checked.

This way the fonts _are_ non-tex-fonts.

The system has to know these otf-non-tex-fonts (this is misleading I know) form 
texlive.

...

However,
tlmgr install: package already present: anonymouspro

I am confused...

Sure, texlive knows them, but your system does not.
Here for example:
 $ fc-list -f '%{fullname}\n' | egrep -i Anonymous
Anonymous Pro Bold Italic
Anonymous Pro Bold
Anonymous Pro
Anonymous Pro Italic

Kornel




pgpiaF1WHhqyA.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Dr Eberhard Lisse

I have

i libertinus: Wrapper to use the correct libertinus package according to the 
used TeX engine
i libertinus-fonts: The Libertinus font family
i libertinus-otf: Support for Libertinus OpenType
i libertinus-type1: Support for using Libertinus fonts with LaTeX/pdfLaTeX
i libertinust1math: A Type 1 font and LaTeX support for Libertinus Math

On 2021-07-06 18:17 , Wolfgang Engelmann wrote:

Am 06.07.21 um 18:04 schrieb Dr Eberhard Lisse:

Install the fronts concerned.

el

[...]

Hi el:
  they are installed:
  tlmgr install: package already present: libertinus
same with anonymouspro
Wolfgang

I guess I have to follow Steve's way:

     Find directory containing texlive-fontconfig.conf
     From that directory, copy the file to 
/etc/fonts/conf.avail/09-texlive-fonts.conf
     Make the necessary symlink
     Make your system aware of the preceding two steps
     Reconfigure LyX
     Restart LyX and test

But I do not understand, why. Will try this way tomorrow.

still confused > Wolfgang



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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Wolfgang Engelmann



Am 06.07.21 um 18:04 schrieb Dr Eberhard Lisse:

Install the fronts concerned.

el

On 2021-07-06 16:37 , Wolfgang Engelmann wrote:



Am 06.07.21 um 16:31 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 16:15:22 +0200
schrieb Wolfgang Engelmann :


What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel



Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I
use 2.3.6 and it can't convert it. Debian has unfortunately not yet
version 2.4 and I can't find the lyx2lyx tool for conversion
Wolfgang


OK, exported to 2.3.x.

Kornel



This is, what I get in running your file:

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

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

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

May be I have to install Version 2.4?

Wolfgang




Hi el:
 they are installed:
 tlmgr install: package already present: libertinus
same with anonymouspro
Wolfgang

I guess I have to follow Steve's way:

Find directory containing texlive-fontconfig.conf
From that directory, copy the file to 
/etc/fonts/conf.avail/09-texlive-fonts.conf

Make the necessary symlink
Make your system aware of the preceding two steps
Reconfigure LyX
Restart LyX and test

But I do not understand, why. Will try this way tomorrow.

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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Dr Eberhard Lisse

Install the fronts concerned.

el

On 2021-07-06 16:37 , Wolfgang Engelmann wrote:



Am 06.07.21 um 16:31 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 16:15:22 +0200
schrieb Wolfgang Engelmann :


What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel



Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I
use 2.3.6 and it can't convert it. Debian has unfortunately not yet
version 2.4 and I can't find the lyx2lyx tool for conversion
Wolfgang


OK, exported to 2.3.x.

Kornel



This is, what I get in running your file:

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

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

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

May be I have to install Version 2.4?

Wolfgang



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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Wolfgang Engelmann




Am 06.07.21 um 16:50 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 16:37:55 +0200
schrieb Wolfgang Engelmann :


Am 06.07.21 um 16:31 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 16:15:22 +0200
schrieb Wolfgang Engelmann :
   

What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel

  


Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I
use 2.3.6 and it can't convert it. Debian has unfortunately not yet
version 2.4 and I can't find the lyx2lyx tool for conversion
Wolfgang


OK, exported to 2.3.x.

Kornel

   

This is, what I get in running your file:

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

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

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

May be I have to install Version 2.4?

Wolfgang


No, running 2.3.x gives no errors here. You have to enable the tex-fonts for 
your system.
(Look at the conversation with subject 'LyX says Tex Gyra Schola is not 
installed, but I
installed it' on this list.)

Kornel



But I want to use non-tex fonts (for luatex).
And looking at the Gyra Schola conversion non-tex-fonts were checked.

This is
 sudo tlmgr install libertinus
tlmgr: package repository 
https://packages.oth-regensburg.de/ctan/systems/texlive/tlnet (verified)

tlmgr install: package already present: libertinus

wolfgang@Fuji:~$ sudo tlmgr install AnonymousPro
tlmgr: package repository 
https://packages.oth-regensburg.de/ctan/systems/texlive/tlnet (verified)


tried without capital:
tlmgr install: package already present: anonymouspro

so I do have both packages.

To find out where they are located:

$ find -iname 'libertinus*'
./.texlive2020/texmf-var/luatex-cache/generic/fonts/otl/libertinusserif-regular.lua
./.texlive2020/texmf-var/luatex-cache/generic/fonts/otl/libertinusserif-semibold.lua
./.texlive2020/texmf-var/luatex-cache/generic/fonts/otl/libertinussans-italic.lua
./.texlive2020/texmf-var/luatex-cache/generic/fonts/otl/libertinusserif-regular.luc


But
sudo find -iname 'anonymouspro*'
./.local/share/RecentDocuments/AnonymousPro.lyx.desktop
./.local/share/RecentDocuments/AnonymousPro.23.lyx.desktop
./.local/share/RecentDocuments/AnonymousPro.lyx[3].desktop
./.local/share/RecentDocuments/AnonymousPro.lyx[2].desktop
./Dokumente/PUBLIKATIONEN-EIGENE/SP-WITTE-2021/AnonymousPro.lyx
./Dokumente/PUBLIKATIONEN-EIGENE/SP-WITTE-2021/AnonymousPro.23.lyx

and those are only names I gave.

However,
tlmgr install: package already present: anonymouspro

I am confused...

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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Kornel Benko
Am Tue, 6 Jul 2021 16:37:55 +0200
schrieb Wolfgang Engelmann :

> Am 06.07.21 um 16:31 schrieb Kornel Benko:
> > Am Tue, 6 Jul 2021 16:15:22 +0200
> > schrieb Wolfgang Engelmann :
> >   
> >>> What is wrong with lyx-way to use requested fonts?
> >>> Attached works here. (Used with lyx2.4)
> >>>
> >>>   Kornel
> >>>
> >>>  
> >>
> >> Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I
> >> use 2.3.6 and it can't convert it. Debian has unfortunately not yet
> >> version 2.4 and I can't find the lyx2lyx tool for conversion
> >> Wolfgang  
> > 
> > OK, exported to 2.3.x.
> > 
> > Kornel
> > 
> >   
> This is, what I get in running your file:
> 
> ! Package fontspec Error: The font "Libertinus Serif" cannot be found.
> 
> ! Package fontspec Error: The font "Libertinus Sans" cannot be found.
> 
> ! Package fontspec Error: The font "Anonymous Pro" cannot be found.
> 
> May be I have to install Version 2.4?
> 
> Wolfgang

No, running 2.3.x gives no errors here. You have to enable the tex-fonts for 
your system.
(Look at the conversation with subject 'LyX says Tex Gyra Schola is not 
installed, but I
installed it' on this list.)

Kornel


pgp1HPNokyF4R.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Wolfgang Engelmann




Am 06.07.21 um 16:31 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 16:15:22 +0200
schrieb Wolfgang Engelmann :


What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel

   


Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I
use 2.3.6 and it can't convert it. Debian has unfortunately not yet
version 2.4 and I can't find the lyx2lyx tool for conversion
Wolfgang


OK, exported to 2.3.x.

Kornel



This is, what I get in running your file:

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

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

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

May be I have to install Version 2.4?

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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Kornel Benko
Am Tue, 6 Jul 2021 16:15:22 +0200
schrieb Wolfgang Engelmann :

> > What is wrong with lyx-way to use requested fonts?
> > Attached works here. (Used with lyx2.4)
> > 
> > Kornel
> > 
> >   
> 
> Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I 
> use 2.3.6 and it can't convert it. Debian has unfortunately not yet 
> version 2.4 and I can't find the lyx2lyx tool for conversion
> Wolfgang

OK, exported to 2.3.x.

Kornel


AnonymousPro.23.lyx
Description: application/lyx


pgpIVzg_xcSif.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Wolfgang Engelmann




Am 06.07.21 um 16:01 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 14:34:08 +0200
schrieb Wolfgang Engelmann :


Am 06.07.21 um 10:34 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 09:18:24 +0200
schrieb Wolfgang Engelmann :
   

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}
\setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85}
in Document>settings


Typo? AnonymousPr -> AnonymousPro

Kornel

   

Thanks, Kornel,
after correcting the Typo I tried again

\RequirePackage {libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}

Libertinus seems to work, but AnonymousPro gives still errors:

Requested font "AnonymousPro" at 10.94997pt
   -> font not found, using "nullfont"

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

For immediate help type H .
   ...

l.74


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!


Requested font "AnonymousPro" at 10.95003pt
   -> font not found, using "nullfont"
Missing character: There is no x ("78) in font nullfont!

I will try to get Herbert Voss to help.

Wolfgang


What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel




Kornel, would you mind to grade down your lyx file from 2.4 to 2.3.x? I 
use 2.3.6 and it can't convert it. Debian has unfortunately not yet 
version 2.4 and I can't find the lyx2lyx tool for conversion

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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Kornel Benko
Am Tue, 6 Jul 2021 14:34:08 +0200
schrieb Wolfgang Engelmann :

> Am 06.07.21 um 10:34 schrieb Kornel Benko:
> > Am Tue, 6 Jul 2021 09:18:24 +0200
> > schrieb Wolfgang Engelmann :
> >   
> >> 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}
> >> \setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85}
> >> in Document>settings  
> > 
> > Typo? AnonymousPr -> AnonymousPro
> > 
> > Kornel
> > 
> >   
> Thanks, Kornel,
> after correcting the Typo I tried again
> 
> \RequirePackage {libertinus-otf}
> \setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
> 
> Libertinus seems to work, but AnonymousPro gives still errors:
> 
> Requested font "AnonymousPro" at 10.94997pt
>   -> font not found, using "nullfont"  
> 
> ! Package fontspec Error: The font "AnonymousPro" cannot be found.
> 
> For immediate help type H .
>   ...
> 
> l.74
> 
> 
> 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!
> 
> 
> Requested font "AnonymousPro" at 10.95003pt
>   -> font not found, using "nullfont"  
> Missing character: There is no x ("78) in font nullfont!
> 
> I will try to get Herbert Voss to help.
> 
> Wolfgang

What is wrong with lyx-way to use requested fonts?
Attached works here. (Used with lyx2.4)

Kornel


AnonymousPro.lyx
Description: application/lyx


pgpwuA5oeChPs.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Wolfgang Engelmann




Am 06.07.21 um 10:34 schrieb Kornel Benko:

Am Tue, 6 Jul 2021 09:18:24 +0200
schrieb Wolfgang Engelmann :


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}
\setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85}
in Document>settings


Typo? AnonymousPr -> AnonymousPro

Kornel



Thanks, Kornel,
after correcting the Typo I tried again

\RequirePackage {libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}

Libertinus seems to work, but AnonymousPro gives still errors:

Requested font "AnonymousPro" at 10.94997pt
 -> font not found, using "nullfont"

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

For immediate help type H .
 ...

l.74


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!


Requested font "AnonymousPro" at 10.95003pt
 -> font not found, using "nullfont"
Missing character: There is no x ("78) in font nullfont!

I will try to get Herbert Voss to help.

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


Re: Libertinus font and AnonymousPro

2021-07-06 Thread Kornel Benko
Am Tue, 6 Jul 2021 09:18:24 +0200
schrieb Wolfgang Engelmann :

> 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}
> \setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85}
> in Document>settings

Typo? AnonymousPr -> AnonymousPro

Kornel


pgpWHjLdLLTO3.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users