Re: [NTG-context] getnonfreefonts with LMTX

2021-03-14 Thread Hans Hagen

On 3/14/2021 2:18 PM, Philipp A. wrote:

Hi!

The LMTX distribution comes with few binaries, texlua being none of them.

The getnonfreefonts  script 
seems simple enough, but it relies on a global “kpse” which it uses to 
get kpse variables. Therefore luametatex --luaonly can’t execute it.


I suppose we can make it work (because lmtx can call out to kpse if 
needed) but it's not worth the trouble because afaiks it depends on 
perl, does all kind of map things, probably donwloads more than one 
needs and I actually prefer to be explicit when it comes to fonts.



Is there a way to get those fonts with the standalone LMTX distribution?

(1) make a tree:

tex/texmf-fonts/fonts/data/nonfree

(2) download the fonts you want (only opentype I guess) and put them there

(3) mtxrun --generate
(4) mtxrun --script font --reload

The texmf-fonts tree is never overwritten and there is no need to figure 
out paths (just use /data/vendor). We're not talking of many fonts.


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
___


[NTG-context] getnonfreefonts with LMTX

2021-03-14 Thread Philipp A.
Hi!

The LMTX distribution comes with few binaries, texlua being none of them.

The getnonfreefonts  script
seems simple enough, but it relies on a global “kpse” which it uses to get
kpse variables. Therefore luametatex --luaonly can’t execute it.

Is there a way to get those fonts with the standalone LMTX distribution?

Best, Phil
___
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
___