ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: LMTX mtxrun --script fonts --reload --force isn't finding fonts in tex/texmf-fonts
Date: Wed, 28 Jul 2021 14:56:20 +0200	[thread overview]
Message-ID: <61ddfca5-d680-ec78-6f77-e74b00c93680@xs4all.nl> (raw)
In-Reply-To: <6C4D4C22-C460-440F-B3EF-1BB82BFCB107@fiee.net>

On 7/28/2021 1:45 PM, Henning Hraban Ramm via ntg-context wrote:
> 
>> Am 28.07.2021 um 11:46 schrieb Hans Hagen <j.hagen@xs4all.nl>:
>>
>> On 7/28/2021 10:31 AM, Henning Hraban Ramm via ntg-context wrote:
>>>> Am 28.07.2021 um 08:50 schrieb Hans Hagen via ntg-context <ntg-context@ntg.nl>:
>>>>
>>>> On 7/27/2021 11:44 PM, T. Kurt Bond via ntg-context wrote:
>>>>> Hello.
>>>>> I'm trying to get LMTX to use my fonts on Fedora 33 Linux.  I've got LMTX installed in the directory /sw/versions/context/lmtx and I've put copies of the fonts I'd like to use in /sw/versions/context/lmtx/tex/texmf-fonts.  Some of them are truetype and some of them are opentype.  When I run
>>>>>     mtxrun --script fonts --reload --force
>>>>> it says
>>>>>     fonts           | names | scanning path
>>>>>     '/sw/versions/context/lmtx/tex/texmf-fonts' for otf files
>>>>>     fonts           | names | 0 otf files checked,  okay
>>>>> and later
>>>>>     fonts           | names | scanning path
>>>>>     '/sw/versions/context/lmtx/tex/texmf-fonts' for ttf files
>>>>>     fonts           | names | 0 ttf files checked,  okay
>>>>> Any ideas of what I'm doing wrong?
>>>>
>>>> did you add the /fonts subpath?
>>>>
>>>>   /sw/versions/context/lmtx/tex/texmf-fonts/fonts/data
>>>>
>>>> i normally put them in
>>>>
>>>>    data/whatever/whataverer*.otf
>>>>
>>>> (data is kind of generic, there is no need to distinguish between various font types)
>>> When I added your “Lost in fonts” article to the CGJ, I did exactly that with the included TYFA* fonts.
>>> They were not recognized in the same folder as the article or in texmf-fonts/fonts/data/tyfa, even after several force reloads; they were only found when I added them to the system font directory (~/Library/Fonts on MacOS).
>> did you also do mtxrun --generate beforehand?
> 
> I didn’t because that’s part of the install script, isn’t it? I run that more or less daily.
> 
> But it doesn’t change anything – deleted the fonts from Library, they’re still in texmf-fonts, --generate, --reload --force => fonts not found.
> 
> Since my texmf-fonts is a symlink (to avoid the same tree in several installations), I also checked if a “real” directory solves the problem – no.

No clue ... maybe --verbose helps ... i assume that mtxrun --generate 
shows the path being seen.

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
___________________________________________________________________________________

      reply	other threads:[~2021-07-28 12:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 21:44 T. Kurt Bond via ntg-context
2021-07-28  6:50 ` Hans Hagen via ntg-context
2021-07-28  8:31   ` Henning Hraban Ramm via ntg-context
2021-07-28  9:46     ` Hans Hagen via ntg-context
2021-07-28 11:45       ` Henning Hraban Ramm via ntg-context
2021-07-28 12:56         ` Hans Hagen via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61ddfca5-d680-ec78-6f77-e74b00c93680@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).