Re: [NTG-context] Luatex format error

2021-05-28 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

The error occurs when there is a newline before the \starttext, as in the 
attachment. Remove the initial newline, and it compiles with
  context line_bug.tex
 
A workaround is to give the name of the file at the prompt '**', but one will 
get another such prompt after the compile.




line_bug.tex
Description: Binary data
___
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] Luatex format error

2021-05-28 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

It works with
  mtxrun math_style.tex 
but not
  context math_style.tex
where the file math_style.tex only contains
\starttext
  \m{f = \beta}
\stoptext

It does not help with context --generate.




___
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] Luatex format error

2021-05-24 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> On 5/23/2021 9:28 PM, Hans Åberg wrote:
>> Using TexLive 2021, I got the error below. How to fix it? What input file 
>> should one give?
>> % context math_style.tex
>> resolvers   | formats | executing runner 'run luatex format': 
>> /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" 
>> --fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
>>  
>> --lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
>>   --c:currentrun=1 --c:fulljobname="./math_style.tex" 
>> --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 
>> --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
>> This is LuaTeX, Version 1.13.2 (TeX Live 2021)
>>  system commands enabled.
>> **
>> Please type the name of your input file.
>> **
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

% context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/usr/local/texlive/2021/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.03.05 19:11
mtx-context | main context file: 
/usr/local/texlive/2021/texmf-dist/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.03.05 19:11

% which context
/usr/local/texlive/2021/bin/universal-darwin/context

> Does that file have \starttext ... \stoptext ?

Yes, the example from another thread on math style.

\starttext
   \m{f = \beta}
\stoptext

> 
> There is something missing:
> 
>   ..cont-en.lui cont-yes.mkiv --c:currentrun=1
> 
> in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx we 
> don't pass that one (not needed as we start up a bit different)

Should one use anything else than just 'context'?


___
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] Luatex format error

2021-05-23 Thread Hans Hagen

On 5/23/2021 9:28 PM, Hans Åberg wrote:

Using TexLive 2021, I got the error below. How to fix it? What input file 
should one give?


% context math_style.tex

resolvers   | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex 
--jobname="math_style" 
--fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
 
--lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
  --c:currentrun=1 --c:fulljobname="./math_style.tex" --c:input="./math_style.tex" --c:kindofrun=1 
--c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
This is LuaTeX, Version 1.13.2 (TeX Live 2021)
  system commands enabled.
**
Please type the name of your input file.
**
So this is not lmtx (which also has luatex) but the regular installation 
right?


Does that file have \starttext ... \stoptext ?

There is something missing:

   ..cont-en.lui cont-yes.mkiv --c:currentrun=1

in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx 
we don't pass that one (not needed as we start up a bit different)


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
___


[NTG-context] Luatex format error

2021-05-23 Thread Hans Åberg
Using TexLive 2021, I got the error below. How to fix it? What input file 
should one give?


% context math_style.tex

resolvers   | formats | executing runner 'run luatex format': 
/usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" 
--fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
 
--lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
  --c:currentrun=1 --c:fulljobname="./math_style.tex" 
--c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
This is LuaTeX, Version 1.13.2 (TeX Live 2021) 
 system commands enabled.
**
Please type the name of your input file.
**


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