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


Libertinus font and AnonymousPro

2021-07-06 Thread 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

but get:

Requested font "AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85" at 
10.94997p

t
 -> font not found, using "nullfont"

! Package fontspec Error: The font
(fontspec) 
"AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85"

(fontspec) cannot be found.

At the end of the book it says:
\requirePackage[libertinus-otf]
\setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll9]{AnonymouPro}
but this gave also an error:

Runaway argument?
{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll\ETC.
! 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?

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