ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Luatex format error
@ 2021-05-23 19:28 Hans Åberg
  2021-05-23 21:41 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Åberg @ 2021-05-23 19:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=/Users/<name>/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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Luatex format error
  2021-05-23 19:28 Luatex format error Hans Åberg
@ 2021-05-23 21:41 ` Hans Hagen
  2021-05-24  8:40   ` Hans Åberg
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hans Hagen @ 2021-05-23 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Åberg

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/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=/Users/<name>/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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Luatex format error
  2021-05-23 21:41 ` Hans Hagen
@ 2021-05-24  8:40   ` Hans Åberg
  2021-05-28 12:30   ` Hans Åberg
  2021-05-28 16:43   ` Hans Åberg
  2 siblings, 0 replies; 5+ messages in thread
From: Hans Åberg @ 2021-05-24  8:40 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


> On 23 May 2021, at 23:41, Hans Hagen <j.hagen@xs4all.nl> 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/<name>/Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=/Users/<name>/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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Luatex format error
  2021-05-23 21:41 ` Hans Hagen
  2021-05-24  8:40   ` Hans Åberg
@ 2021-05-28 12:30   ` Hans Åberg
  2021-05-28 16:43   ` Hans Åberg
  2 siblings, 0 replies; 5+ messages in thread
From: Hans Åberg @ 2021-05-28 12:30 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


> On 23 May 2021, at 23:41, Hans Hagen <j.hagen@xs4all.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Luatex format error
  2021-05-23 21:41 ` Hans Hagen
  2021-05-24  8:40   ` Hans Åberg
  2021-05-28 12:30   ` Hans Åberg
@ 2021-05-28 16:43   ` Hans Åberg
  2 siblings, 0 replies; 5+ messages in thread
From: Hans Åberg @ 2021-05-28 16:43 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]


> On 23 May 2021, at 23:41, Hans Hagen <j.hagen@xs4all.nl> 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.



[-- Attachment #2: line_bug.tex --]
[-- Type: application/octet-stream, Size: 22 bytes --]


\starttext
\stoptext

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

end of thread, other threads:[~2021-05-28 16:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23 19:28 Luatex format error Hans Åberg
2021-05-23 21:41 ` Hans Hagen
2021-05-24  8:40   ` Hans Åberg
2021-05-28 12:30   ` Hans Åberg
2021-05-28 16:43   ` Hans Åberg

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