ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Installing Modules with ConTeXt LMTX
@ 2020-06-01 17:58 Sebastian Miele
  2020-06-01 18:26 ` Marco Patzer
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Miele @ 2020-06-01 17:58 UTC (permalink / raw)
  To: ntg-context

I want to try the t-letter module. I have a fresh install of ConTeXt
LMTX from today. The page https://wiki.contextgarden.net/Modules has
sections "Installation by hand" and "ConTeXt standalone", but no section
on ConTeXt LMTX.

The section on ConTeXt standalone mentions a --modules switch to
first-setup.sh in order to include modules. This cannot work with the
install.sh from ConTeXt LMTX, as it does not pass any command line
arguments to mtxrun. install.sh does have an empty by default variable
LMTXEXTRAS at the top, which is passed as --extras="$LMTXEXTRA" to
bin/mtx-install.lua near the bottom of the script. However, setting
LMTXEXTRAS=t-letter seems to not work.

Searching through the bin/mtx-install.lua for "modules" and "extras"
reveals that most probably neither flag is handled at all. However, the
helpinfo variable in bin/mtx-install.lua does mention the modules flag,
but not the extras flag.

Is there a way to install modules in ConTeXt LMTX not by hand?
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Installing Modules with ConTeXt LMTX
  2020-06-01 17:58 Installing Modules with ConTeXt LMTX Sebastian Miele
@ 2020-06-01 18:26 ` Marco Patzer
  2020-06-06 14:23   ` Sebastian Miele
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2020-06-01 18:26 UTC (permalink / raw)
  To: Sebastian Miele; +Cc: mailing list for ConTeXt users

On Mon, 01 Jun 2020 19:58:59 +0200
Sebastian Miele <sebastian.miele@gmail.com> wrote:

> I want to try the t-letter module. I have a fresh install of ConTeXt
> LMTX from today. The page https://wiki.contextgarden.net/Modules has
> sections "Installation by hand" and "ConTeXt standalone", but no
> section on ConTeXt LMTX.
> 
> The section on ConTeXt standalone mentions a --modules switch to
> first-setup.sh in order to include modules. This cannot work with the
> install.sh from ConTeXt LMTX, as it does not pass any command line
> arguments to mtxrun.

As far as I understand there is no built-in method. You have to
install them manually. Relevant thread:

  https://mailman.ntg.nl/pipermail/ntg-context/2020/097022.html

Marco
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Installing Modules with ConTeXt LMTX
  2020-06-01 18:26 ` Marco Patzer
@ 2020-06-06 14:23   ` Sebastian Miele
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Miele @ 2020-06-06 14:23 UTC (permalink / raw)
  To: Marco Patzer; +Cc: mailing list for ConTeXt users


Marco Patzer <lists@homerow.info> writes:

> On Mon, 01 Jun 2020 19:58:59 +0200
> Sebastian Miele <sebastian.miele@gmail.com> wrote:
>
>> I want to try the t-letter module. I have a fresh install of ConTeXt
>> LMTX from today. The page https://wiki.contextgarden.net/Modules has
>> sections "Installation by hand" and "ConTeXt standalone", but no
>> section on ConTeXt LMTX.
>> 
>> The section on ConTeXt standalone mentions a --modules switch to
>> first-setup.sh in order to include modules. This cannot work with the
>> install.sh from ConTeXt LMTX, as it does not pass any command line
>> arguments to mtxrun.
>
> As far as I understand there is no built-in method. You have to
> install them manually. Relevant thread:
>
>   https://mailman.ntg.nl/pipermail/ntg-context/2020/097022.html

Thank you. That pointed into the right direction.

The thread contains a little script to get all modules
(https://mailman.ntg.nl/pipermail/ntg-context/2020/097023.html).

However, the script does not really work. (In every iteration of the
loop of the script, the --delete to rsync deletes the files of the
module from the previous iteration. Just omitting the --delete would not
be correct, either.)

Using the information from the script, I wrote, tested, and wikified
something else (https://wiki.contextgarden.net/Modules#ConTeXt_LMTX).
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2020-06-06 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 17:58 Installing Modules with ConTeXt LMTX Sebastian Miele
2020-06-01 18:26 ` Marco Patzer
2020-06-06 14:23   ` Sebastian Miele

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).