* LMTX and system fonts
@ 2019-04-27 12:13 Pablo Rodriguez
2019-04-27 15:37 ` Hans Hagen
0 siblings, 1 reply; 12+ messages in thread
From: Pablo Rodriguez @ 2019-04-27 12:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
fonts are my main problem using LMTX (on both Windows and Linux platforms).
In Windows (I installed it again from scratch yesterday), system fonts
(from c:/windows/fonts/) are simply ignored (I don’t know why).
In Linux, a symlink in tex/texmf-fonts/ to the directory where fonts are
stored doesn’t work either.
The weird thing is that the ConTeXt Suite in both OSes works fine with
system fonts or the mentioned symlink.
What am I missing here?
Many thanks for your help,
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 12:13 LMTX and system fonts Pablo Rodriguez
@ 2019-04-27 15:37 ` Hans Hagen
2019-04-27 16:25 ` Pablo Rodriguez
0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2019-04-27 15:37 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez
On 4/27/2019 2:13 PM, Pablo Rodriguez wrote:
> Dear list,
>
> fonts are my main problem using LMTX (on both Windows and Linux platforms).
>
> In Windows (I installed it again from scratch yesterday), system fonts
> (from c:/windows/fonts/) are simply ignored (I don’t know why).
>
> In Linux, a symlink in tex/texmf-fonts/ to the directory where fonts are
> stored doesn’t work either.
>
> The weird thing is that the ConTeXt Suite in both OSes works fine with
> system fonts or the mentioned symlink.
>
> What am I missing here?
mtxrun --generate
mtxrun --script font --reload
-----------------------------------------------------------------
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 15:37 ` Hans Hagen
@ 2019-04-27 16:25 ` Pablo Rodriguez
2019-04-27 16:35 ` Pablo Rodriguez
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Pablo Rodriguez @ 2019-04-27 16:25 UTC (permalink / raw)
To: ntg-context
On 4/27/19 5:37 PM, Hans Hagen wrote:
> On 4/27/2019 2:13 PM, Pablo Rodriguez wrote:
>> [...]
>> In Windows (I installed it again from scratch yesterday), system fonts
>> (from c:/windows/fonts/) are simply ignored (I don’t know why).
>>
>> In Linux, a symlink in tex/texmf-fonts/ to the directory where fonts are
>> stored doesn’t work either.
>>
>> The weird thing is that the ConTeXt Suite in both OSes works fine with
>> system fonts or the mentioned symlink.
>
> mtxrun --generate
> mtxrun --script font --reload
I’m afraid it doesn’t work, Hans.
I even removed tex/texmf-cache/luatex-cache/, but no luck.
The only workaround I found in Linux is to add a symlinks to each font
file. This works now.
It seems as if LMTX couldn’t follow symlinks for directories in Linux.
On Windows, I will have to wait some days to have access to a computer
with it.
Many thanks for your help,
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 16:25 ` Pablo Rodriguez
@ 2019-04-27 16:35 ` Pablo Rodriguez
2019-04-27 17:36 ` Hans Hagen
2019-04-27 19:50 ` Otared Kavian
2 siblings, 0 replies; 12+ messages in thread
From: Pablo Rodriguez @ 2019-04-27 16:35 UTC (permalink / raw)
To: ntg-context
On 4/27/19 6:25 PM, Pablo Rodriguez wrote:
> [...]
> The only workaround I found in Linux is to add a symlinks to each font
> file. This works now.
I mean, to add a symlink in tex/texmf-font/ for each in the original
font directory.
But a symlink in tex/texmf-font/ for the font directory itself doesn’t work.
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 16:25 ` Pablo Rodriguez
2019-04-27 16:35 ` Pablo Rodriguez
@ 2019-04-27 17:36 ` Hans Hagen
2019-04-27 19:32 ` Pablo Rodriguez
2019-04-27 19:50 ` Otared Kavian
2 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2019-04-27 17:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 4/27/2019 6:25 PM, Pablo Rodriguez wrote:
> On 4/27/19 5:37 PM, Hans Hagen wrote:
>> On 4/27/2019 2:13 PM, Pablo Rodriguez wrote:
>>> [...]
>>> In Windows (I installed it again from scratch yesterday), system fonts
>>> (from c:/windows/fonts/) are simply ignored (I don’t know why).
>>>
>>> In Linux, a symlink in tex/texmf-fonts/ to the directory where fonts are
>>> stored doesn’t work either.
>>>
>>> The weird thing is that the ConTeXt Suite in both OSes works fine with
>>> system fonts or the mentioned symlink.
>>
>> mtxrun --generate
>> mtxrun --script font --reload
>
> I’m afraid it doesn’t work, Hans.
>
> I even removed tex/texmf-cache/luatex-cache/, but no luck.
>
> The only workaround I found in Linux is to add a symlinks to each font
> file. This works now.
>
> It seems as if LMTX couldn’t follow symlinks for directories in Linux.
>
> On Windows, I will have to wait some days to have access to a computer
> with it.
I tested linux on wsl and made a (soft) symlink there to a path under
/mnt/c and it just works. So i need more details.
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 17:36 ` Hans Hagen
@ 2019-04-27 19:32 ` Pablo Rodriguez
2019-04-27 21:06 ` Aditya Mahajan
0 siblings, 1 reply; 12+ messages in thread
From: Pablo Rodriguez @ 2019-04-27 19:32 UTC (permalink / raw)
To: ntg-context
On 4/27/19 7:36 PM, Hans Hagen wrote:
> On 4/27/2019 6:25 PM, Pablo Rodriguez wrote:
>> [...]
>> It seems as if LMTX couldn’t follow symlinks for directories in Linux.
>>
>> On Windows, I will have to wait some days to have access to a computer
>> with it.
> I tested linux on wsl and made a (soft) symlink there to a path under
> /mnt/c and it just works. So i need more details.
I wish I could give more details.
Fonts are located in ~/Documents/ousia-fonts/. The soft link is
tex/texmf-fonts/ousia-fonts/.
If the soft symlink for the fonts directory is itself tex/texmf-fonts/,
ConTeXt LMTX handles the fonts right.
I’m going to test this in a Linux live version, but I need to get an
empty USB stick first.
Many thanks for your help,
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 19:32 ` Pablo Rodriguez
@ 2019-04-27 21:06 ` Aditya Mahajan
2019-04-28 9:01 ` Pablo Rodriguez
0 siblings, 1 reply; 12+ messages in thread
From: Aditya Mahajan @ 2019-04-27 21:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
On Sat, 27 Apr 2019, Pablo Rodriguez wrote:
> On 4/27/19 7:36 PM, Hans Hagen wrote:
>> On 4/27/2019 6:25 PM, Pablo Rodriguez wrote:
>>> [...]
>>> It seems as if LMTX couldn’t follow symlinks for directories in Linux.
>>>
>>> On Windows, I will have to wait some days to have access to a computer
>>> with it.
>> I tested linux on wsl and made a (soft) symlink there to a path under
>> /mnt/c and it just works. So i need more details.
>
> I wish I could give more details.
>
> Fonts are located in ~/Documents/ousia-fonts/. The soft link is
> tex/texmf-fonts/ousia-fonts/.
>
> If the soft symlink for the fonts directory is itself tex/texmf-fonts/,
> ConTeXt LMTX handles the fonts right.
The texmf-fonts directory must follow TDS (tex document structure).
Assuming that ~/Documents/ousia-fonts simply contains a bunch of
directories with opentype fonts, I'd try symlinking it to
tex/texmf-fonts/font/opentype/data
Aditya
[-- 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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 16:25 ` Pablo Rodriguez
2019-04-27 16:35 ` Pablo Rodriguez
2019-04-27 17:36 ` Hans Hagen
@ 2019-04-27 19:50 ` Otared Kavian
2019-04-28 8:55 ` Pablo Rodriguez
2 siblings, 1 reply; 12+ messages in thread
From: Otared Kavian @ 2019-04-27 19:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Pablo,
I don't know if this may help, but in principle in order to use systme fonts in LMTX you should invoke the mtxrun in the bin directory of your installation of LMTX. For me, working on MacOS, the following worked fine:
/context-osx-64/tex/texmf-osx-64/bin/mtxrun -generate
and then
/context-osx-64/tex/texmf-osx-64/bin/mtxrun --script font --reload
Best regards: OK
> On 27 Apr 2019, at 18:25, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 4/27/19 5:37 PM, Hans Hagen wrote:
>> On 4/27/2019 2:13 PM, Pablo Rodriguez wrote:
>>> [...]
>>> In Windows (I installed it again from scratch yesterday), system fonts
>>> (from c:/windows/fonts/) are simply ignored (I don’t know why).
>>>
>>> In Linux, a symlink in tex/texmf-fonts/ to the directory where fonts are
>>> stored doesn’t work either.
>>>
>>> The weird thing is that the ConTeXt Suite in both OSes works fine with
>>> system fonts or the mentioned symlink.
>>
>> mtxrun --generate
>> mtxrun --script font --reload
>
> I’m afraid it doesn’t work, Hans.
>
> I even removed tex/texmf-cache/luatex-cache/, but no luck.
>
> The only workaround I found in Linux is to add a symlinks to each font
> file. This works now.
>
> It seems as if LMTX couldn’t follow symlinks for directories in Linux.
>
> On Windows, I will have to wait some days to have access to a computer
> with it.
>
> Many thanks for your help,
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 12+ messages in thread
* Re: LMTX and system fonts
2019-04-27 19:50 ` Otared Kavian
@ 2019-04-28 8:55 ` Pablo Rodriguez
2019-04-28 15:22 ` Alan Braslau
0 siblings, 1 reply; 12+ messages in thread
From: Pablo Rodriguez @ 2019-04-28 8:55 UTC (permalink / raw)
To: ntg-context
On 4/27/19 9:50 PM, Otared Kavian wrote:
> Hi Pablo,
>
> I don't know if this may help, but in principle in order to use
> system fonts in LMTX you should invoke the mtxrun in the bin
> directory of your installation of LMTX. For me, working on MacOS, the
> following worked fine:
>
> /context-osx-64/tex/texmf-osx-64/bin/mtxrun -generate
Hi Otared,
I add the path, otherwise no mtxrun would be found.
Many thanks for your help,
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] 12+ messages in thread
end of thread, other threads:[~2019-05-01 11:07 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-27 12:13 LMTX and system fonts Pablo Rodriguez
2019-04-27 15:37 ` Hans Hagen
2019-04-27 16:25 ` Pablo Rodriguez
2019-04-27 16:35 ` Pablo Rodriguez
2019-04-27 17:36 ` Hans Hagen
2019-04-27 19:32 ` Pablo Rodriguez
2019-04-27 21:06 ` Aditya Mahajan
2019-04-28 9:01 ` Pablo Rodriguez
2019-04-27 19:50 ` Otared Kavian
2019-04-28 8:55 ` Pablo Rodriguez
2019-04-28 15:22 ` Alan Braslau
2019-05-01 11:07 ` 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).