Re: [NTG-context] Few quick questions

2022-03-08 Thread Marco Patzer via ntg-context
On Tue, 08 Mar 2022 20:45:17 +0100
Christoph Hintermüller via ntg-context  wrote:

> Hans indicated a tool, a program, which allows to verify that that
> all start* stop* tag pairs are symmetric and placed in correct
> order. I just cant remember how it is called. Can anybody help
> here?

  mtxrun --autogenerate --script check 

The following will not report missing tags but will find other
common issues and report them on the console:

  context --errors='*' 

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
___


Re: [NTG-context] Few quick questions

2022-03-08 Thread Rik Kabel via ntg-context


On 2022-03-08 14:54, Christoph Hintermüller via ntg-context wrote:

Hi

I'm still stuck with also providing my lecture notes as epub in addtion
to its PDF version.

The last year, when I tried figure what is wrong, Hans indicated a
tool, a program, which allows to verify that that all start* stop* tag
pairs are symmetric and placed in correct order. I just cant remember
how it is called. Can anybody help here?


mtxrun --script check 

--
Rik

___
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] Few quick questions

2022-03-08 Thread Christoph Hintermüller via ntg-context
Hi 

I'm still stuck with also providing my lecture notes as epub in addtion
to its PDF version.

The last year, when I tried figure what is wrong, Hans indicated a
tool, a program, which allows to verify that that all start* stop* tag
pairs are symmetric and placed in correct order. I just cant remember
how it is called. Can anybody help here?

Second are there any limits in how large files exproted to XML, XHTML
etc can be. Does the exporter automatically try to split huge documents
into multiple exported documents when some size is exceeded or was or
is such a feature allways experiemental up to mkIV and what could break
proper slitting which contexts, commands should not be active to avoid
breakage. 

My current setup is neither a fresh install of latest standalone nor
texlive installation. This task is still pending. I just have done some
partial update mixing 2020 Texlife with 2021 standlalone by calling
update.sh. So the aborting of the export in the middle of a hundred
pages long document with plenty of floats and the heavy use of Aditya's
t-vim package might additionally be worsened by some inconsistencies of
my currently not clean installation. But to rule out or properly tackle
down I think I believe knowing about possible Limitations of exporter
in mkIV if any to be saving a lot of time

The abort in xml export also occurs when i inline all files exempt t-
vim code snippets, png or svg files replacing meta post images into one
huge document removing any \input commands. Therefore i want to check
first on the inlined document if there would by any asymetric start*
stop* before persuing further.




___
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] Few quick questions

2022-03-08 Thread Christoph Hintermüller via ntg-context
Hi 

I'm still stuck with also providing my lecture notes as epub in addtion
to its PDF version.

The last year, when I tried figure what is wrong, Hans indicated a
tool, a program, which allows to verify that that all start* stop* tag
pairs are symmetric and placed in correct order. I just cant remember
how it is called. Can anybody help here?

Second are there any limits in how large files exproted to XML, XHTML
etc can be. Does the exporter automatically try to split huge documents
into multiple exported documents when some size is exceeded or was or
is such a feature allways experiemental up to mkIV and what could break
proper slitting which contexts, commands should not be active to avoid
breakage. 

My current setup is neither a fresh install of latest standalone nor
texlive installation. This task is still pending. I just have done some
partial update mixing 2020 Texlife with 2021 standlalone by calling
update.sh. So the aborting of the export in the middle of a hundred
pages long document with plenty of floats and the heavy use of Aditya's
t-vim package might additionally be worsened by some inconsistencies of
my currently not clean installation. But to rule out or properly tackle
down I think I believe knowing about possible Limitations of exporter
in mkIV if any to be saving a lot of time

The abort in xml export also occurs when i inline all files exempt t-
vim code snippets, png or svg files replacing meta post images into one
huge document removing any \input commands. Therefore i want to check
first on the inlined document if there would by any asymetric start*
stop* before persuing further.



-- 
-- 
Christoph Hintermüller
Dipl.-Ing. Dr. MBA. MSc
JKU Institute of Biomedical Mechatronics
Altenberger Straße 69,
4040 Linz, Austria,
Cell: +43 650 8827347
Tel. +43 732 2468 4813
Email: christoph.hintermuel...@jku.at

___
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
___


Re: [NTG-context] After Compiling the Test, which usualy works perfect

2022-03-08 Thread Hans Hagen via ntg-context

On 3/8/2022 4:08 PM, Ursula Hermann via ntg-context wrote:

Dear Hans,
Thank you for your answer. So what should I do?

probably set the your path ... then run mtxrun --generate and try again

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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Hans Hagen via ntg-context

On 3/8/2022 3:58 PM, Henning Hraban Ramm via ntg-context wrote:

Am 08.03.22 um 14:03 schrieb Hans Hagen via ntg-context:

On 3/8/2022 12:55 PM, Stephen Gaito via ntg-context wrote:

Hans,

I am having the same problem on an XUbuntu 21.10 :

hm, maybe the server has some issue ... i rebooted the machine


Thank you! I can confirm it’s working again – and the current version is 
much faster than the previous one, because it doesn’t write so many 
logging/debugging messages. Now to check all my projects are working...
actually, that current version is not that current ... so you could have 
gotten that gain more than a month ago


(btw, you only got that 'temporary' enabled plenty of detail when you 
had many overfull boxes so you still need to check that)


we are progressing with the math so i suppose that there will be an 
update soon, if only because users can then test if we messed up


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
___


Re: [NTG-context] After Compiling the Test, which usualy works perfect

2022-03-08 Thread Ursula Hermann via ntg-context
Dear Hans,
Thank you for your answer. So what should I do? 
Uschi

-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Hans Hagen via 
ntg-context
Gesendet: Dienstag, 08. März 2022 15:50
An: Ursula Hermann via ntg-context 
Cc: Hans Hagen 
Betreff: Re: [NTG-context] After Compiling the Test, which usualy works perfect

On 3/8/2022 3:35 PM, Ursula Hermann via ntg-context wrote:
> Dear List,
> 
> I have Windows 10, and WinEdt 10.3., actual verison.
> 
> I wanted to do the test, but only I got this, after compiling:
> 
> Command Line:   C:\texlive\2021\bin\win32\context.exe --synctex=-1 
> "context-test.tex"
> 
> Startup Folder: 
> C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv
> 
> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'
did you mix texlive with the lmtx install?


-
   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
___
___
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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Henning Hraban Ramm via ntg-context

Am 08.03.22 um 14:03 schrieb Hans Hagen via ntg-context:

On 3/8/2022 12:55 PM, Stephen Gaito via ntg-context wrote:

Hans,

I am having the same problem on an XUbuntu 21.10 :

hm, maybe the server has some issue ... i rebooted the machine


Thank you! I can confirm it’s working again – and the current version is 
much faster than the previous one, because it doesn’t write so many 
logging/debugging messages. Now to check all my projects are working...


Hraban
___
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
___


Re: [NTG-context] After Compiling the Test, which usualy works perfect

2022-03-08 Thread Hans Hagen via ntg-context

On 3/8/2022 3:35 PM, Ursula Hermann via ntg-context wrote:

Dear List,

I have Windows 10, and WinEdt 10.3., actual verison.

I wanted to do the test, but only I got this, after compiling:

Command Line:   C:\texlive\2021\bin\win32\context.exe --synctex=-1 
"context-test.tex"


Startup Folder: C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv

mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'

did you mix texlive with the lmtx install?


-
  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] After Compiling the Test, which usualy works perfect

2022-03-08 Thread Ursula Hermann via ntg-context
Dear List,

I have Windows 10, and WinEdt 10.3., actual verison.

I wanted to do the test, but only I got this, after compiling:

Command Line:   C:\texlive\2021\bin\win32\context.exe --synctex=-1 
"context-test.tex"
Startup Folder: C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv

mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'


_

ConTeXt Compilation Report (Pages: 0)

Errors: 0   Warnings: 0   Bad Boxes: 0

What is wrong here?
Uschi Hermann
___
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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Stephen Gaito via ntg-context
Hans, (and all)

I can confirm that the context garden's download for Intel/XUbuntu
21.10 

http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip

Works again!

Many thanks for your swift solution!

And as always **many many thanks for a wonderful tool!**

Regards,

Stephen Gaito

On Tue, 8 Mar 2022 14:03:54 +0100
Hans Hagen via ntg-context  wrote:

> On 3/8/2022 12:55 PM, Stephen Gaito via ntg-context wrote:
> > Hans,
> > 
> > I am having the same problem on an XUbuntu 21.10 :  
> hm, maybe the server has some issue ... i rebooted the machine
> 
> 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
> ___

___
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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Keith McKay via ntg-context

Hi,

I had the same issue on an old laptop running Ubuntu 21.04, but after 
the server reboot the update was successful.


Running context -version now gives:

mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/myPath/context-linux-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv 


mtx-context | current version: 2022.01.21 20:13
mtx-context | main context file: 
/myPath/context-linux-64/tex/texmf-context/tex/context/base/mkxl/context.mkxl 


mtx-context | current version: 2022.01.21 20:13

Best Wishes

Keith McKay



On 08/03/2022 13:03, Hans Hagen via ntg-context wrote:

On 3/8/2022 12:55 PM, Stephen Gaito via ntg-context wrote:

Hans,

I am having the same problem on an XUbuntu 21.10 :

hm, maybe the server has some issue ... i rebooted the machine

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
___ 


___
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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Hans Hagen via ntg-context

On 3/8/2022 12:55 PM, Stephen Gaito via ntg-context wrote:

Hans,

I am having the same problem on an XUbuntu 21.10 :

hm, maybe the server has some issue ... i rebooted the machine

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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Stephen Gaito via ntg-context
Hans,

I am having the same problem on an XUbuntu 21.10 :
---
user@host:/tmp/testContext$ wget 
https://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip
--2022-03-08 11:42:14--
https://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip Resolving
lmtx.pragma-ade.nl (lmtx.pragma-ade.nl)... 213.125.29.165 Connecting to
lmtx.pragma-ade.nl (lmtx.pragma-ade.nl)|213.125.29.165|:443...
connected. HTTP request sent, awaiting response... 200 OK Length:
1538088 (1.5M) [application/zip] Saving to: ‘context-linux-64.zip’

context-linux-64.zi 100%[===>]   1.47M  1.57MB/sin 0.9s

2022-03-08 11:42:16 (1.57 MB/s) - ‘context-linux-64.zip’ saved [1538088/1538088]

user@host:/tmp/testContext$ ls
context-linux-64.zip
user@host:/tmp/testContext$ unzip context-linux-64.zip 
Archive:  context-linux-64.zip
   creating: bin/
  inflating: bin/mtxrun  
  inflating: bin/mtx-install.lua 
  inflating: bin/mtxrun.lua  
  inflating: install.sh  
  inflating: installation.pdf
user@host:/tmp/testContext$ ls
bin  context-linux-64.zip  installation.pdf  install.sh
user@host:/tmp/testContext$ sh install.sh 
mtxrun  | forcing cache reload
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/stg/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/tmp/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/tmp/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/tmp/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/tmp/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/stg/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/tmp/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/tmp/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/tmp/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/tmp/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
mtx-install | provide valid server and instance

cp: cannot stat '/tmp/testContext/tex/texmf-linux-64/bin/mtxrun': No such file 
or directory
cp: cannot stat 
'/tmp/testContext/tex/texmf-context/scripts/context/lua/mtxrun.lua': No such 
file or directory
cp: cannot stat 
'/tmp/testContext/tex/texmf-context/scripts/context/lua/mtx-install.lua': No 
such file or directory

If you want to run ConTeXt everywhere, you need to adapt the path, like:

  export PATH=/tmp/testContext/tex/texmf-linux-64/bin:$PATH

If you run from an editor you can specify the full path to mtxrun:

  /tmp/testContext/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ...

The following settings were used:

  server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
  instance : install-lmtx
  extras   : 
  ownpath  : /tmp/testContext
  platform : linux-64

---

On Tue, 8 Mar 2022 11:09:33 +0100
Hans Hagen via ntg-context  wrote:

> On 3/8/2022 10:06 AM, Ursula Hermann via ntg-context wrote:
> > Dear List,
> > I can't make the installation context-mswin.zip, too.  
> that's 32 bit windows ... are you sure you don't need 64 bit?
> 
> -
>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 / 

Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Hans Hagen via ntg-context

On 3/8/2022 10:06 AM, Ursula Hermann via ntg-context wrote:

Dear List,
I can't make the installation context-mswin.zip, too.

that's 32 bit windows ... are you sure you don't need 64 bit?

-
  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
___


Re: [NTG-context] What’s wrong with installation?

2022-03-08 Thread Ursula Hermann via ntg-context
Dear List, 
I can't make the installation context-mswin.zip, too. 
Uschi Hermann 

-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Henning Hraban 
Ramm via ntg-context
Gesendet: Montag, 07. März 2022 12:48
An: mailing list for ConTeXt users 
Cc: Henning Hraban Ramm 
Betreff: [NTG-context] What’s wrong with installation?

Hi, I just tried to install a new instance of LMTX without success.

"""
$ unzip -l *.zip
Archive:  context-osx-64.zip
   Length  DateTimeName
-  -- -   
 0  03-05-2019 22:50   bin/
 19082  01-21-2022 20:13   bin/mtx-install.lua
693184  01-21-2022 20:13   bin/mtxrun.lua
  3910  01-21-2022 20:13   install.sh
   2725900  01-21-2022 20:13   bin/mtxrun
 24047  01-21-2022 20:13   installation.pdf
- ---
   3466123 6 files


$ sh install.sh
mtx-install | provide valid server and instance

cp: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such file or 
directory
cp: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtxrun.lua: 
No such file or directory
cp: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtx-install.lua:
 
No such file or directory

If you want to run ConTeXt everywhere, you need to adapt the path, like:

   export PATH=/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin:$PATH

If you run from an editor you can specify the full path to mtxrun:

   /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun
--autogenerate --script context --autopdf ...

The following settings were used:

   server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
   instance : install-lmtx
   extras   :
   ownpath  : /Users/hraban/lmtx_2022-03-07
   platform : osx-64


$ ./bin/mtxrun --script ./bin/mtx-install.lua --update 
--server=lmtx.contextgarden.net --instance=install-lmtx
--platform=osx-64 --extras=all
mtx-install | provide valid server and instance
"""

Same result if I omit --server and --instance, since they default to the same.

In mtx-install.lua, line 489 "local server = false" overwrites the previously 
set server variable.

If I comment this line, I get:

"""
$ ./bin/mtxrun --script ./bin/mtx-install.lua --update --platform=osx-64 
--extras=all
mtx-install | server   : 
lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl
mtx-install | instance : install-lmtx
mtx-install | platform : osx-64
mtx-install | system   : unix
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-context.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-osx-64.tma'
mtx-install | current  : %S
mtx-install | target   : %S
mtx-install | removing : mtxrun
mtx-install | removing : context
mtx-install | copied   : mtxrun
mtx-install | copied   : context
mtx-install | running: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun --generate
sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such file or 
directory
mtx-install | running: 
/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context --make en
sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context: No such file or 
directory
mtx-install |
mtx-install |
mtx-install | ConTeXt LMTX with LuaMetaTeX is still experimental and 
when you get a crash this
mtx-install | can be due to a mismatch between Lua bytecode and the 
engine. In that case you can
mtx-install | try the following:
mtx-install |
mtx-install |   - wipe the texmf-cache directory
mtx-install |   - run: mtxrun --generate
mtx-install |   - run: context --make
mtx-install |
mtx-install | When that doesn't solve the problem, ask on the 
mailing list (ntg-context@ntg.nl).
mtx-install |
mtx-install | update, done
"""

The "invalid database" lines don’t look good. If I give an explicit 
--server=lmtx.contextgarden.net, I still get the same error:

"""
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-context.tma'
mtx-install | invalid database 
'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-osx-64.tma'
"""

What’s wrong?

Hraban
___
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  :