ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [LMTX] fonts problem (again)
@ 2021-02-21 15:45 kaddour kardio
  2021-02-21 16:05 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: kaddour kardio @ 2021-02-21 15:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 463 bytes --]

Hi! Once again i'm unable to load my system's font which is working well
with MKIV.

i have followed the steps :
export
OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/
mtxrun --generate
mtx run --make
mtxrun --script fonts --reload

without success.
This problem occurred  to me since december 2020, i update LMTX weekly from
the archlinux user repo (aur) binary.
Any suggestions?

-- 
Dr YAHYAOUI Mohamed Kaddour, cardiologue  .

[-- Attachment #1.2: Type: text/html, Size: 2535 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LMTX] fonts problem (again)
  2021-02-21 15:45 [LMTX] fonts problem (again) kaddour kardio
@ 2021-02-21 16:05 ` Hans Hagen
  2021-02-21 17:42   ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2021-02-21 16:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users, kaddour kardio

On 2/21/2021 4:45 PM, kaddour kardio wrote:
> 
> Hi! Once again i'm unable to load my system's font which is working well 
> with MKIV.
> 
> i have followed the steps :
> export 
> OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/
> mtxrun --generate
> mtx run --make
> mtxrun --script fonts --reload
> 
> without success.
> This problem occurred  to me since december 2020, i update LMTX weekly 
> from the archlinux user repo (aur) binary.
> Any suggestions?
Not without more info ... here I get something

fonts           | names | variable 'OSFONTDIR' specifies path 
'c:/windows/fonts'
fonts           | names | variable 'fontconfig file' specifies path 
'c:/windows/fonts'
fonts           | names | globbing path 'c:/windows/fonts/**.otf'
fonts           | names | identifying system font files with suffix 'OTF'
fonts           | names | globbing path 'c:/windows/fonts/**.OTF'

what is that at your end? (As I never rely on system fonts I have no 
linux box with a setup to test it.)

(making a copy - or link - in <sometexroot>/texmf-fonts/data/... could 
also work)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LMTX] fonts problem (again)
  2021-02-21 16:05 ` Hans Hagen
@ 2021-02-21 17:42   ` Pablo Rodriguez
  2021-02-23 17:15     ` kaddour kardio
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2021-02-21 17:42 UTC (permalink / raw)
  To: ntg-context

On 2/21/21 5:05 PM, Hans Hagen wrote:
> On 2/21/2021 4:45 PM, kaddour kardio wrote:
>>
>> Hi! Once again i'm unable to load my system's font which is working well
>> with MKIV.
>> [...]
>> export
>> OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/
>> [...]
>> This problem occurred  to me since december 2020, i update LMTX weekly
>> from the archlinux user repo (aur) binary.
>> Any suggestions?
> [...]
> (making a copy - or link - in <sometexroot>/texmf-fonts/data/... could
> also work)
Hi Kaddour,

I use LMTX in Linux too and I have symlynks in <texroot>/texmf-fonts
that work perfectly fine (as Hans suggests).

I would create symlinks for your font directories, such as in:

  ln -s ~/.local/share/fonts <texroot>/texmf-fonts/local-fonts
  ln -s /usr/share/fonts <texroot>/texmf-fonts/system-fonts
  ln -s /usr/share/texmf/fonts/ <texroot>/texmf-fonts/texlive-fonts

After that, I think it would be helpful (this is what I do after each
LMTX update):

  mtxrun --script cache --erase
  mtxrun --generate

And compile your documents. The first run will make the format file.

I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LMTX] fonts problem (again)
  2021-02-21 17:42   ` Pablo Rodriguez
@ 2021-02-23 17:15     ` kaddour kardio
  2021-02-23 17:45       ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: kaddour kardio @ 2021-02-23 17:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2110 bytes --]

Thank you Hans and Pablo, symlinking the font directories to luametatex
font directory worked as expected. I guess i have to follow the same steps
after every update..

Le dim. 21 févr. 2021 à 18:42, Pablo Rodriguez <oinos@gmx.es> a écrit :

> On 2/21/21 5:05 PM, Hans Hagen wrote:
> > On 2/21/2021 4:45 PM, kaddour kardio wrote:
> >>
> >> Hi! Once again i'm unable to load my system's font which is working well
> >> with MKIV.
> >> [...]
> >> export
> >>
> OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/
> >> [...]
> >> This problem occurred  to me since december 2020, i update LMTX weekly
> >> from the archlinux user repo (aur) binary.
> >> Any suggestions?
> > [...]
> > (making a copy - or link - in <sometexroot>/texmf-fonts/data/... could
> > also work)
> Hi Kaddour,
>
> I use LMTX in Linux too and I have symlynks in <texroot>/texmf-fonts
> that work perfectly fine (as Hans suggests).
>
> I would create symlinks for your font directories, such as in:
>
>   ln -s ~/.local/share/fonts <texroot>/texmf-fonts/local-fonts
>   ln -s /usr/share/fonts <texroot>/texmf-fonts/system-fonts
>   ln -s /usr/share/texmf/fonts/ <texroot>/texmf-fonts/texlive-fonts
>
> After that, I think it would be helpful (this is what I do after each
> LMTX update):
>
>   mtxrun --script cache --erase
>   mtxrun --generate
>
> And compile your documents. The first run will make the format file.
>
> I hope it helps,
>
> Pablo
> --
> http://www.ousia.tk
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>


-- 
Dr YAHYAOUI Mohamed Kaddour, cardiologue  .

[-- Attachment #1.2: Type: text/html, Size: 3394 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LMTX] fonts problem (again)
  2021-02-23 17:15     ` kaddour kardio
@ 2021-02-23 17:45       ` Hans Hagen
  2021-02-23 18:34         ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2021-02-23 17:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users, kaddour kardio

On 2/23/2021 6:15 PM, kaddour kardio wrote:
> Thank you Hans and Pablo, symlinking the font directories to luametatex 
> font directory worked as expected. I guess i have to follow the same 
> steps after every update..
no, because texmf-fonts is never touched by an update

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LMTX] fonts problem (again)
  2021-02-23 17:45       ` Hans Hagen
@ 2021-02-23 18:34         ` Pablo Rodriguez
  0 siblings, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2021-02-23 18:34 UTC (permalink / raw)
  To: ntg-context

On 2/23/21 6:45 PM, Hans Hagen wrote:
> On 2/23/2021 6:15 PM, kaddour kardio wrote:
>> Thank you Hans and Pablo, symlinking the font directories to luametatex
>> font directory worked as expected. I guess i have to follow the same
>> steps after every update..
> no, because texmf-fonts is never touched by an update

You have only to add (if you want to recreate everything after each update):

  mtxrun --script cache --erase &&  mtxrun --generate

Just in case it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-23 18:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21 15:45 [LMTX] fonts problem (again) kaddour kardio
2021-02-21 16:05 ` Hans Hagen
2021-02-21 17:42   ` Pablo Rodriguez
2021-02-23 17:15     ` kaddour kardio
2021-02-23 17:45       ` Hans Hagen
2021-02-23 18:34         ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).