ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl, Rudolf Bahr <quasi@quasi.de>
Subject: Re: mtxrun
Date: Tue, 11 Feb 2020 13:07:23 +0100	[thread overview]
Message-ID: <8876449b-e7ec-3c8f-85d2-962f7940ab72@xs4all.nl> (raw)
In-Reply-To: <20200211105607.GA6250@nan>

On 2/11/2020 11:56 AM, Rudolf Bahr wrote:
> On Mon, Feb 10, 2020 at 01:03:38PM +0100, Bahr Rudolf wrote:
>> On Mon, Feb 10, 2020 at 11:54:49AM +0100, Bahr Rudolf wrote:
>>>
>>> Hello ConTeXters!
>>>
>>> LuaMetaTeX, Version 2.03.15
>>> ConTeXt  ver: 2020.02.07 18:36 MKIV beta  fmt: 2020.2.10
>>> works well doing my usual tasks.
>>>
>>> Now, I put an .otf-font into ".../tex/texmf-local/", and made
>>>     mtxrun --generate
>>>     mtxrun --script fonts --reload
>>>     mtxrun --script fonts --list --all --pattern=<pattern*>,
>>> but didn't get the expected information on the new font from the last
>>> command.
>>>
>>> So I investigated the output of the first two commands in more detail
>>> and found:
>>>
>>> 1. mtxrun --generate:
>>>     resolvers       | resolving | warning: no lua configuration files found
>>>     resolvers       | resolving | no texmf paths are defined (using TEXMF)
>>>
>>>     By the way, "TEXMF" seems to be a mtxrun variable and hasn't directly
>>>     to do with the environmental variable "TEXMF" which gets extinguished.
>>>
>>> 2. mtxrun --script fonts --reload:
>>>     mtxrun          | the resolver databases are not present or outdated
>>>     mtxrun          | unknown script 'fonts.lua' or 'mtx-fonts.lua'
>>>
>>>
>>> Please, what is to be done?
>>>
>>
>>
>> In context luatex, current version: 2020.01.30 14:13, I'm getting the awaited
>> information!
> 
> 
> 
> With
> LuaMetaTeX, Version 2.03.15
> ConTeXt  ver: 2020.02.10 18:37 MKIV beta  fmt: 2020.2.11
> I'm getting the same results:
> 
> 1. mtxrun --generate:
>     resolvers       | resolving | variable 'TEXMFCNF' set to ''
>     resolvers       | resolving | variable 'TEXMF' set to ''
> 
>     resolvers       | resolving | warning: no lua configuration files found
>     resolvers       | resolving | no texmf paths are defined (using TEXMF)
> 
> 2. mtxrun --script fonts --reload
>     resolvers       | resolving | warning: no lua configuration files found
>     resolvers       | resolving | no texmf paths are defined (using TEXMF)
> 
>     mtxrun          | the resolver databases are not present or outdated
>     mtxrun          | unknown script 'fonts.lua' or 'mtx-fonts.lua'
> 
> 
> BTW, running "context --make" after wiping "~/context-lmtx/tex/texmf-cache"
> and running "mtxrun --generate" gives:
>     mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
Are you mixing mkiv and lmtx?

In mkiv:

    windows:

      luatex.exe
      mtxrun.exe (small stub)
      context.exe (small stub)
      mtxrun.lua

    unix:

      luatex
      mtxrun   (== mtxrun.lua without suffix)
      context  (== mtxrun --script context)

In lmtx all platforms have the same approach:

    windows:

      luametatex.exe
      mtxrun.exe  (copy of luametatex.exe or link to it)
      context.exe (copy of luametatex.exe or link to it)
      mtxrun.lua
      context.lua

    unix:

      luatex
      mtxrun  (copy of luametatex or link to it)
      context (copy of luametatex or link to it)
      mtxrun.lua
      context.lua

so it's either one or the other incarnation of the mtxrun file

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:[~2020-02-11 12:07 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 10:54 mtxrun Rudolf Bahr
2020-02-10 11:06 ` mtxrun Taco Hoekwater
2020-02-10 11:27   ` mtxrun Rudolf Bahr
2020-02-10 12:03 ` mtxrun Rudolf Bahr
2020-02-11 10:56   ` mtxrun Rudolf Bahr
2020-02-11 12:07     ` Hans Hagen [this message]
2020-02-11 15:23       ` mtxrun Rudolf Bahr
2020-02-11 15:57         ` mtxrun Pablo Rodriguez
2020-02-11 17:26           ` mtxrun Rudolf Bahr
2020-02-11 18:38             ` mtxrun Hans Hagen
2020-02-11 20:41               ` mtxrun Rudolf Bahr
2020-02-11 20:57                 ` mtxrun Aditya Mahajan
2020-02-12  5:44                   ` mtxrun Rudolf Bahr
2020-02-11 18:39             ` mtxrun Aditya Mahajan
2020-02-12  4:41               ` mtxrun Rudolf Bahr
2020-02-12  5:24                 ` mtxrun Aditya Mahajan
2020-02-12 10:05                   ` mtxrun Rudolf Bahr
     [not found] <mailman.0.1581764401.20240.ntg-context@ntg.nl>
2020-02-15 14:38 ` mtxrun Luca Donetti
2020-02-15 14:48 ` mtxrun Luca Donetti
     [not found] <mailman.474.1581455525.1332.ntg-context@ntg.nl>
2020-02-14 19:59 ` mtxrun Luca Donetti
2020-02-15  4:59   ` mtxrun Aditya Mahajan
2020-02-15  5:40   ` mtxrun Rudolf Bahr
2020-02-15 11:32     ` mtxrun Floris van Manen
2020-02-15 14:57       ` mtxrun Aditya Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2011-01-23 16:21 MTXrun Herbert Voss
2011-01-23 17:43 ` MTXrun Vedran Miletić
2011-01-23 19:25   ` MTXrun Hans Hagen
2008-06-17 16:49 mtxrun Hans van der Meer
2008-06-17 17:29 ` mtxrun Hans Hagen
2008-06-17 17:34 ` mtxrun Taco Hoekwater
2008-06-17 19:47 ` mtxrun Aditya Mahajan
2008-06-18  8:12   ` mtxrun Hans van der Meer
2008-06-18  9:37     ` mtxrun Hans Hagen
2008-06-18 11:54     ` mtxrun Taco Hoekwater

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=8876449b-e7ec-3c8f-85d2-962f7940ab72@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=quasi@quasi.de \
    /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).