On 2/19/2026 11:22 AM, Max Chernoff wrote:
Hi Hans,

On Thu, 2026-02-19 at 10:08 +0100, Hans Hagen wrote:
Instead of adding top level keys, how about:

distribution = {
      name    = "TeX Live",
      version = "2026-A"
      url     = "https://github.com/gucci-on-fleek/context-packaging";,
      comment = "adapted for oneofthemanylinuxes",
      private = {
        welcome = "My name is Max, how can I help you today?",
        prompt  = "How do I install TL on my phone?",
      }
}

Sure, sounds good to me. I've implemented this here

     
https://github.com/gucci-on-fleek/context-packaging/blob/031c3f/files/texmfcnf.lua

(with slightly different names for the version fields), so the updated
file will show up whenever the next update is released.

We could of course report the first four (strign entries) in the log
when set.

I went for 'details' as in:

    details = {
        name    = "lmtx reference distribution",
        version = "see banner of a context run",
        url     = "https://contextgarden.net";,
        comment = false, -- "change this blob when you derive",
        private = { }
    },

And added:

>mtxrun --show-details
resolvers       | resolving | detail name : lmtx reference distribution
resolvers       | resolving | detail url : https://contextgarden.net
resolvers       | resolving | detail version : see banner of a context run

so you can overload details and have additional private info which basically is unseen but you can do

    local d = resolvers.getdetails()
    print(d.name)
    print(d.private)

to get the (merged) details during a tex run.

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 : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to