Re: [NTG-context] latest LMTX breaks XML compilation

2021-02-08 Thread Hans Hagen

On 2/8/2021 10:11 PM, Pablo Rodriguez wrote:

Hans,

using latest from (2021.02.08 17:03) with all my XML sources breaks
compilation with the following error:

   > tex error on line 2 in file : Argument of \xmlw has an extra }

How I can detect when ConTeXt uses \xmlw?

put a \tracingall someplace near when you think it happens


-
  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] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Bertrand Masson

Thanks, I'm waiting for the next version

Le 16/11/2020 à 17:36, Wolfgang Schuster a écrit :

Bertrand Masson schrieb am 16.11.2020 um 14:29:

Hello
With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  
fmt: 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no 
longer appear!


This is already fixed, you're just a few versions behind.

Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer 
works.


Should be fixed in the next release.

BTW: Minimal working examples are useful.

Wolfgang
___
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] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Wolfgang Schuster

Bertrand Masson schrieb am 16.11.2020 um 14:29:

Hello
With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  
fmt: 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no 
longer appear!


This is already fixed, you're just a few versions behind.


Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer works.


Should be fixed in the next release.

BTW: Minimal working examples are useful.

Wolfgang
___
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] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Hans van der Meer
Shouldn't it be \startitemize ? Or is there another problem?
dr. Hans van der Meer


> On 16 Nov 2020, at 14:29, Bertrand Masson  wrote:
> 
> Hello
> With the latest version of lmtx (ConTeXt  ver: 2020.11.04 09:40 LMTX  fmt: 
> 2020.11.14) \ startitemeze [2] no longer works. Bullets (-) no longer appear!
> 
> Multipage TABLEs with \bTABLE[split=repeat,option=stretch] no longer works.
> 
> Bertrand
> 
> ___
> 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] latest lmtx

2020-11-15 Thread Hans Hagen

On 11/15/2020 12:05 AM, Thomas A. Schmitz wrote:

On 11/14/20 12:17 AM, j.ha...@xs4all.nl wrote:

Take today's upload.



Hi Hans,

since you mentioned that such buglets may occur, here's another one, but 
in this case, the error message is obscure to me, and I have no clue 
where in the environment file it is triggered (it's an xml-project):


tex error   > tex error on line 8 in file cont-yes.mkiv: ?


lua error:

     registered function call [382]: [string "..."]:5: attempt to 
call a nil value (global 'scanintegerargument')

stack traceback:
     [string "..."]:5: in function <[string "..."]:4>

Does that ring any bell?

>rgrep scanintegerargument *.l*
./toks-scn.lmt 44: local scanintegerargument = scanners.integerargument
./toks-scn.lmt263: scanintegerargument = scanintegerargument,

so

\ctxlua{print(tokens.scanners.integerargument)}

should print a function reference

if not, you have a mismatch between engine and context files

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] latest lmtx

2020-11-14 Thread Thomas A. Schmitz

On 11/14/20 12:17 AM, j.ha...@xs4all.nl wrote:

Take today's upload.



Hi Hans,

since you mentioned that such buglets may occur, here's another one, but 
in this case, the error message is obscure to me, and I have no clue 
where in the environment file it is triggered (it's an xml-project):


tex error   > tex error on line 8 in file cont-yes.mkiv: ?


lua error:

registered function call [382]: [string "..."]:5: attempt to 
call a nil value (global 'scanintegerargument')

stack traceback:
[string "..."]:5: in function <[string "..."]:4>

Does that ring any bell?

All best

Thomas
___
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] latest lmtx

2020-11-14 Thread Thomas A. Schmitz

> On 14. Nov 2020, at 00:17, j.ha...@xs4all.nl wrote:
> 
> Take today's upload.
> 
> Hans
> 
> 
Hi Hans,

Yes, it works again! Thanks for the quick fix; I’m looking forward to new 
adventures in context land…

All best

Thomas
___
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] latest lmtx

2020-11-13 Thread j . hagen
Take today's upload.HansOp 13 nov. 2020 23:04 schreef "Thomas A. Schmitz" :Hi all,
I hadn't upgraded in a couple of weeks because I was in the middle of a 
project. Now that I'm up to 2020.11.08, I have a problem: I can't load 
my third party modules; they all throw an error.
The error message is
Use of \syst_modules_setup_yes doesn't match its definition
So I guess it's the way I have used setupmodule in my modules. I tried 
to find and understand the new code by comparing file-mod.mkvi vs 
file-mod.mklx, and it should be around l. 117-131 of this file, but I 
don't quite see what needs to be changed. A line such as
\setupmodule [scale=1,font=GreekDidot]
for my t-ancientgreek.mkiv works fine with the --luatex switch; in lmtx, 
context chokes on it. What is the new incantation for modules?
Thomas
___
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] latest lmtx

2020-09-05 Thread Alan Bowen
Hi, Otared—

I had

#!/bin/zsh

#set path=  ($path /usr/texbin
/Applications/LuaMetaTeX/tex/texmf-osx-64/bin)
export
PATH=~/context-osx-64/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin

~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script
context --directives="system.showerror" --autopdf "$1" --purgeall

but on reading your response and checking my LuaMetaTeX directory, I
changed the 2nd line to

export
PATH=~/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin

and the files now process as they should.

It is odd that it worked before with the mistaken entry.

Many thanks to you and Hraban for your help!

Alan


On Sat, Sep 5, 2020 at 11:46 AM Otared Kavian  wrote:

> Hi Alan,
>
> Where did you install LuaMetaTeX?
> For instance my LuaMetaTeX.engine contains the following three lines:
>
> #!/bin/bash
>
> export
> PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin
>
> /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script
> context --directives="system.showerror" --autopdf "$1" --purgeall
>
> where I am invoking the file
> /context-osx-64/tex/texmf-osx-64/bin/mtxrun
> which is in the folder context-osx-64 where I installed LuaMetaTeX by
> running
> sh install.sh
>
> Therefore your LuaMetaTeX.engine file should contain the correct path.
>
> Best regards: Otared
>
> > On 5 Sep 2020, at 17:19, Alan Bowen  wrote:
> >
> > No, Hraban, and I have never had a directory
> /Users/bowen1/context-osx-64. Does Luametatex 2.10 (Context 2020.09.03) now
> require one?
> >
> > Alan
> >
> > On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm 
> wrote:
> >
> >
> > > Am 05.09.2020 um 16:08 schrieb Alan Bowen :
> > >
> > > When I process
> > > \starttext
> > > Hello, world!
> > > \stoptext
> > > I get the following error message:
> > >
> > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such
> file or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun
> > >
> > > resolvers   | formats | executing runner 'run luametatex format':
> /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex
> --jobname="Version"
> --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
> --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
> cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error
> --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1
> --c:maxnofruns=9 --c:synctex="1"
> --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin"
> > > mtx-context | fatal error: return code: 11
> > >
> > > There is definitely a file
> > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine.
> > > Previous versions of lmtx process without any problem.
> >
> > The message doesn’t ask for the engine file, but for the mtxrun script
> mentioned in line 9 of the engine.
> >
> > Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid
> in your installation?
> >
> > 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
> >
> ___
> >
> ___
> > 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
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 

Re: [NTG-context] latest lmtx

2020-09-05 Thread Otared Kavian
Hi Alan,

Where did you install LuaMetaTeX? 
For instance my LuaMetaTeX.engine contains the following three lines:

#!/bin/bash

export 
PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin

/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context 
--directives="system.showerror" --autopdf "$1" --purgeall

where I am invoking the file 
/context-osx-64/tex/texmf-osx-64/bin/mtxrun
which is in the folder context-osx-64 where I installed LuaMetaTeX by running 
sh install.sh

Therefore your LuaMetaTeX.engine file should contain the correct path.

Best regards: Otared

> On 5 Sep 2020, at 17:19, Alan Bowen  wrote:
> 
> No, Hraban, and I have never had a directory  /Users/bowen1/context-osx-64. 
> Does Luametatex 2.10 (Context 2020.09.03) now require one?
> 
> Alan
> 
> On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm  wrote:
> 
> 
> > Am 05.09.2020 um 16:08 schrieb Alan Bowen :
> > 
> > When I process
> > \starttext
> > Hello, world!
> > \stoptext
> > I get the following error message:
> > 
> > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or 
> > directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun
> > 
> > resolvers   | formats | executing runner 'run luametatex format': 
> > /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex 
> > --jobname="Version" 
> > --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
> >  
> > --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
> >  cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error 
> > --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1 
> > --c:maxnofruns=9 --c:synctex="1" 
> > --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin"
> > mtx-context | fatal error: return code: 11
> > 
> > There is definitely a file 
> > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine.
> > Previous versions of lmtx process without any problem. 
> 
> The message doesn’t ask for the engine file, but for the mtxrun script 
> mentioned in line 9 of the engine.
> 
> Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid in 
> your installation?
> 
> 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
> ___
> ___
> 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] latest lmtx

2020-09-05 Thread Alan Bowen
No, Hraban, and I have never had a directory  /Users/bowen1/context-osx-64.
Does Luametatex 2.10 (Context 2020.09.03) now require one?

Alan

On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm  wrote:

>
>
> > Am 05.09.2020 um 16:08 schrieb Alan Bowen :
> >
> > When I process
> > \starttext
> > Hello, world!
> > \stoptext
> > I get the following error message:
> >
> > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file
> or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun
> >
> > resolvers   | formats | executing runner 'run luametatex format':
> /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex
> --jobname="Version"
> --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
> --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
> cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error
> --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1
> --c:maxnofruns=9 --c:synctex="1"
> --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin"
> > mtx-context | fatal error: return code: 11
> >
> > There is definitely a file
> > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine.
> > Previous versions of lmtx process without any problem.
>
> The message doesn’t ask for the engine file, but for the mtxrun script
> mentioned in line 9 of the engine.
>
> Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid in
> your installation?
>
> 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
>
> ___
>
___
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] latest lmtx

2020-09-05 Thread Henning Hraban Ramm


> Am 05.09.2020 um 16:08 schrieb Alan Bowen :
> 
> When I process
> \starttext
> Hello, world!
> \stoptext
> I get the following error message:
> 
> /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or 
> directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun
> 
> resolvers   | formats | executing runner 'run luametatex format': 
> /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex --jobname="Version" 
> --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
>  
> --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
>  cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error 
> --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1 
> --c:maxnofruns=9 --c:synctex="1" 
> --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin"
> mtx-context | fatal error: return code: 11
> 
> There is definitely a file 
> /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine.
> Previous versions of lmtx process without any problem. 

The message doesn’t ask for the engine file, but for the mtxrun script 
mentioned in line 9 of the engine.

Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid in your 
installation?

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
___