Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-22 Thread Steve Litt
Baris Erkus said on Mon, 21 Jun 2021 09:22:11 +0300

>On 18-Jun-21 9:35 AM, Wolfgang Engelmann wrote:
>> Hi, Steve,
>> if you have solved the font questions for your book, could you
>> kindly give a summary for those who might like to try it?
>> Thanks,
>> Wolfgang  
>+1

Please view the documentation at
http://www.troubleshooters.com/linux/lyx/texgyre.htm .

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-20 Thread Baris Erkus

On 18-Jun-21 9:35 AM, Wolfgang Engelmann wrote:

Hi, Steve,
if you have solved the font questions for your book, could you kindly 
give a summary for those who might like to try it?

Thanks,
Wolfgang

+1

--
↓↓
Please bottom-post. Start your reply here:

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


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-18 Thread Steve Litt
Wolfgang Engelmann said on Fri, 18 Jun 2021 08:35:39 +0200

>Hi, Steve,
>if you have solved the font questions for your book, could you kindly 
>give a summary for those who might like to try it?

Yes. If I don't announce it within 5 days, please remind me again.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Wolfgang Engelmann

Hi, Steve,
if you have solved the font questions for your book, could you kindly 
give a summary for those who might like to try it?

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


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Steve Litt
Kornel Benko said on Thu, 17 Jun 2021 16:35:01 +0200

>Am Thu, 17 Jun 2021 10:14:18 -0400
>schrieb Steve Litt :
>
>> Hi all,
>> 
>> The only font readable enough for my books is Century Schoolbook. All
>> the rest are too faint. Most Century Schoolbook implementations don't
>> work with LyX, or at least I haven't been able to get them to work.
>> With one exception...
>> 
>> Tex Gyra Schola is a Century Schoolbook implementation that has been
>> working for me for the past 5 years. But now, When I 
>> Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
>> listed, but the words "(not installed)" are appended, and in fact
>> when I compile the document, the font in the PDF is definitely not
>> TeX Gyre Schola.
>> 
>> I installed the tex-gyre and tex-gyra-math packages with the
>> following command:
>> 
>> tlmgr install tex-gyre
>> tlmgr install tex-gyre-math
>> 
>> After those commands, I performed a texhash command. I then
>> terminated LyX and did a reconfigure. Still "(not installed)". 
>> 
>> The other relevant settings on Document->Settings->Fonts are "Use
>> Non-TeX Fonts" is unchecked, LaTeX font encoding is Default.
>> 
>> What can I do to start to figure out this
>> problem?/etc/fonts/conf.d/09-texlive-fonts.conf
>> 
>> Thanks,
>> 
>> SteveT
>> 
>> Steve Litt 
>> Spring 2021 featured book: Troubleshooting Techniques of the
>> Successful Technologist http://www.troubleshooters.com/techniques  
>
>You have to add these texlive fonts to your system.
>
>1.) create file "/etc/fonts/conf.d/09-texlive-fonts.conf"
>e.g.
>   $ sudo cp `kpsewhich -var-value
>   TEXMFSYSVAR`/fonts/conf/texlive-fontconfig.conf
>   /etc/fonts/conf.avail/09-texlive-fonts.conf
>make a symbolic link for your system
>   $ sudo ln
>   -s ../conf.avail/09-texlive-fonts.conf
>   /etc/fonts/conf.d/09-texlive-fonts.conf
>The content should be something like:
>   
>   
>   
> /usr/local/texlive/2021/texmf-dist/fonts/opentype
> /usr/local/texlive/2021/texmf-dist/fonts/truetype
> /usr/local/texlive/2021/texmf-dist/fonts/type1
> /usr/local/texlive/texmf-local/fonts/opentype
> /usr/local/texlive/texmf-local/fonts/truetype
> /usr/local/texlive/texmf-local/fonts/type1
>   
>provided you installed texlive under /usr/local/texlive/2021
>2.) Make your system aware of this
>$ sudo fc-cache -fsv
>
>3.) Reconfigure lyx
>
>   Kornel


Thanks Kornel,

I *almost* followed your instructions, and added in Ricardo Berlasso's
suggestion of using non-TeX fonts, and now my TeX Gyre Schola no longer
says "(not installed)" and the book printed from it looks like Century
Schoolbook, and not one of those thin, reedy fonts meant for people
with great eyes reading on 1200dpi laser printed Letter paper. Thanks
to both of you!

However, I accidentally ran fc-cache without arguments, then Ctrl+C'ed
out, then ran it with -fsv, and now, in LyX, when I go to select a
font, there are about three zillion arcane fonts to choose from. I
suspect my running fc-cache without arguments caused the three zillion.
Is there a way I can properly rebuild my font cache?

By the way, the only way I can compile it now is with 

lyx -e luatex myfile.lyx
lualatex myfile.tex

I don't know how to set LyX to do that instead of using XeTeX, which no
longer works on this book.

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Steve Litt
Ricardo Berlasso said on Thu, 17 Jun 2021 19:02:08 +0200

>El jue, 17 jun 2021 a las 16:15, Steve Litt
>() escribió:
>
>> Hi all,
>>
>> The only font readable enough for my books is Century Schoolbook. All
>> the rest are too faint. Most Century Schoolbook implementations don't
>> work with LyX, or at least I haven't been able to get them to work.
>> With one exception...
>>
>> Tex Gyra Schola is a Century Schoolbook implementation that has been
>> working for me for the past 5 years. But now, When I
>> Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
>> listed, but the words "(not installed)" are appended, and in fact
>> when I compile the document, the font in the PDF is definitely not
>> TeX Gyre Schola.
>>  
>
>While there are metafont versions out there, all TexGyre fonts are
>distributed as opentype fonts. In the font settings dialogs, select to
>use non-TeX fonts and then you'll see it.

When I checked the non-TeX fonts box, the TeXGyre fonts went away. They
only appear when that box is unchecked.

Thanks,
SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Steve Litt
Ricardo Berlasso said on Thu, 17 Jun 2021 19:02:08 +0200

>El jue, 17 jun 2021 a las 16:15, Steve Litt
>() escribió:
>
>> Hi all,
>>
>> The only font readable enough for my books is Century Schoolbook. All
>> the rest are too faint. Most Century Schoolbook implementations don't
>> work with LyX, or at least I haven't been able to get them to work.
>> With one exception...
>>
>> Tex Gyra Schola is a Century Schoolbook implementation that has been
>> working for me for the past 5 years. But now, When I
>> Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
>> listed, but the words "(not installed)" are appended, and in fact
>> when I compile the document, the font in the PDF is definitely not
>> TeX Gyre Schola.
>>  
>
>While there are metafont versions out there, all TexGyre fonts are
>distributed as opentype fonts. In the font settings dialogs, select to
>use non-TeX fonts and then you'll see it.

I'll try again. I just uninstalled all my distro's texlive package and
installed straight from CTAN. But earlier today when I selected non-TeX
fonts, my document didn't compile.

[snip]


>BTW, you can also try Michael Sharp's ScholaX, which is an extension of
>TeXGyre Schola
>
>https://ctan.org/pkg/scholax
>
>This is also an opentype font. I briefly reviewed it in my blog
>
>https://frommindtotype.wordpress.com/2020/07/02/scholax-a-new-version-of-century-schoolbook/

:-) I went there earlier while researching Century Schoolbook, and
based on your blog entry, I installed Scholax. But now I reinstalled
texlive, so I'll need to do it again.

Thanks for your help!

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Ricardo Berlasso
El jue, 17 jun 2021 a las 16:15, Steve Litt ()
escribió:

> Hi all,
>
> The only font readable enough for my books is Century Schoolbook. All
> the rest are too faint. Most Century Schoolbook implementations don't
> work with LyX, or at least I haven't been able to get them to work.
> With one exception...
>
> Tex Gyra Schola is a Century Schoolbook implementation that has been
> working for me for the past 5 years. But now, When I
> Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
> listed, but the words "(not installed)" are appended, and in fact when
> I compile the document, the font in the PDF is definitely not TeX Gyre
> Schola.
>

While there are metafont versions out there, all TexGyre fonts are
distributed as opentype fonts. In the font settings dialogs, select to use
non-TeX fonts and then you'll see it.



>
> I installed the tex-gyre and tex-gyra-math packages with the following
> command:
>
> tlmgr install tex-gyre
> tlmgr install tex-gyre-math
>
> After those commands, I performed a texhash command. I then terminated
> LyX and did a reconfigure. Still "(not installed)".
>
> The other relevant settings on Document->Settings->Fonts are "Use
> Non-TeX Fonts" is unchecked, LaTeX font encoding is Default.
>

Check it ;)

BTW, you can also try Michael Sharp's ScholaX, which is an extension of
TeXGyre Schola

https://ctan.org/pkg/scholax

This is also an opentype font. I briefly reviewed it in my blog

https://frommindtotype.wordpress.com/2020/07/02/scholax-a-new-version-of-century-schoolbook/

Regards,
Ricardo



>
> What can I do to start to figure out this problem?
>
> Thanks,
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Kornel Benko
Am Thu, 17 Jun 2021 10:14:18 -0400
schrieb Steve Litt :

> Hi all,
> 
> The only font readable enough for my books is Century Schoolbook. All
> the rest are too faint. Most Century Schoolbook implementations don't
> work with LyX, or at least I haven't been able to get them to work.
> With one exception...
> 
> Tex Gyra Schola is a Century Schoolbook implementation that has been
> working for me for the past 5 years. But now, When I 
> Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
> listed, but the words "(not installed)" are appended, and in fact when
> I compile the document, the font in the PDF is definitely not TeX Gyre
> Schola.
> 
> I installed the tex-gyre and tex-gyra-math packages with the following
> command:
> 
> tlmgr install tex-gyre
> tlmgr install tex-gyre-math
> 
> After those commands, I performed a texhash command. I then terminated
> LyX and did a reconfigure. Still "(not installed)". 
> 
> The other relevant settings on Document->Settings->Fonts are "Use
> Non-TeX Fonts" is unchecked, LaTeX font encoding is Default.
> 
> What can I do to start to figure out this
> problem?/etc/fonts/conf.d/09-texlive-fonts.conf
> 
> Thanks,
> 
> SteveT
> 
> Steve Litt 
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques

You have to add these texlive fonts to your system.

1.) create file "/etc/fonts/conf.d/09-texlive-fonts.conf"
e.g.
$ sudo cp `kpsewhich -var-value
TEXMFSYSVAR`/fonts/conf/texlive-fontconfig.conf 
/etc/fonts/conf.avail/09-texlive-fonts.conf
make a symbolic link for your system
$ sudo ln
-s ../conf.avail/09-texlive-fonts.conf 
/etc/fonts/conf.d/09-texlive-fonts.conf
The content should be something like:



  /usr/local/texlive/2021/texmf-dist/fonts/opentype
  /usr/local/texlive/2021/texmf-dist/fonts/truetype
  /usr/local/texlive/2021/texmf-dist/fonts/type1
  /usr/local/texlive/texmf-local/fonts/opentype
  /usr/local/texlive/texmf-local/fonts/truetype
  /usr/local/texlive/texmf-local/fonts/type1

provided you installed texlive under /usr/local/texlive/2021
2.) Make your system aware of this
$ sudo fc-cache -fsv

3.) Reconfigure lyx

Kornel


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


LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Steve Litt
Hi all,

The only font readable enough for my books is Century Schoolbook. All
the rest are too faint. Most Century Schoolbook implementations don't
work with LyX, or at least I haven't been able to get them to work.
With one exception...

Tex Gyra Schola is a Century Schoolbook implementation that has been
working for me for the past 5 years. But now, When I 
Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
listed, but the words "(not installed)" are appended, and in fact when
I compile the document, the font in the PDF is definitely not TeX Gyre
Schola.

I installed the tex-gyre and tex-gyra-math packages with the following
command:

tlmgr install tex-gyre
tlmgr install tex-gyre-math

After those commands, I performed a texhash command. I then terminated
LyX and did a reconfigure. Still "(not installed)". 

The other relevant settings on Document->Settings->Fonts are "Use
Non-TeX Fonts" is unchecked, LaTeX font encoding is Default.

What can I do to start to figure out this problem?

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users