LMTX mtxrun --script fonts --reload --force isn't finding fonts in tex/texmf-fonts
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? -- T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io
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) 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 -----------------------------------------------------------------
Am 28.07.2021 um 08:50 schrieb Hans Hagen via ntg-context
: 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). Hraban
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
: 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? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Am 28.07.2021 um 11:46 schrieb Hans Hagen
: 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
: 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. Hraban
On 7/28/2021 1:45 PM, Henning Hraban Ramm via ntg-context wrote:
Am 28.07.2021 um 11:46 schrieb Hans Hagen
: 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
: 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Henning Hraban Ramm
-
T. Kurt Bond