Re: [NTG-context] fatal error in LMTX
On 4/13/22 00:27, Bruce Horrocks via ntg-context wrote: >> On 12 Apr 2022, at 18:14, Pablo Rodriguez via ntg-context >> wrote: >> >> I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could >> be more verbose about an opened environment that isn’t closed. > > $ mtxrun --script check filename.tex > is something I learned from this list. Many thanks for your reply, Bruce. I knew this too, but this doesn’t fit my working conditions. I’m afraid that it doesn’t work with sources with \input commands. Contents of 'c.tex': \starttext \startfrontmatter some text... \input c1.tex \stoptext Contents of 'c1.tex': \stopfrontmatter Compilation works fine, but checking doesn’t. Checking doesn’t also work with XML sources typeset with ConTeXt environments. XML is the most common format for the sources I use with ConTeXt. Many thanks for your help again, Pablo ___ 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] fatal error in LMTX
On 4/12/22 20:04, Otared Kavian via ntg-context wrote: > Hi Pablo, > > Your example works fine on my machine (MacOS 11.6.4) with LMTX > version 2022.04.11. Hi Otared, many thanks for your reply. The fatal error prevents an extra run, but it doesn’t prevent the PDF generation. In my original document, hyperlinks for footnotes were missing. Don’t you even get the fatal error message? > However in your example the \stopfrontmatter is missing. I knew that. I only provided a minimal sample that I got after more than two hours dealing with an XML source and two ConTeXt environments. Cheers, Pablo ___ 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] fatal error in LMTX
> On 12 Apr 2022, at 18:14, Pablo Rodriguez via ntg-context > wrote: > > I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could > be more verbose about an opened environment that isn’t closed. $ mtxrun --script check filename.tex is something I learned from this list. — Bruce Horrocks Hampshire, UK ___ 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] fatal error in LMTX
Hi Otared, I think Pablo knows that \stopfrontmatter is missing. IIUC, his point is that the error message should be more useful. Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Otared > Kavian via ntg-context > Gesendet: Dienstag, 12. April 2022 20:05 > An: mailing list for ConTeXt users > Cc: Otared Kavian > Betreff: Re: [NTG-context] fatal error in LMTX > > Hi Pablo, > > Your example works fine on my machine (MacOS 11.6.4) with LMTX version > 2022.04.11. However in your example the \stopfrontmatter is missing. > > Best regards: Otared > > > On 12 Apr 2022, at 19:14, Pablo Rodriguez via ntg-context cont...@ntg.nl> wrote: > > > > Hi Hans, > > > > I have a minimal sample that triggers a fatal error in ConTeXt LMTX > > (current latest from 2022.04.11 19:27): > > > > \starttext > > \startfrontmatter > > \input zapf > > \stoptext > > > > This gives the following error message: > > > > mkiv lua stats > runtime: 0.386 seconds, 1 processed pages, > >1 shipped pages, 2.592 pages/second > > mtx-context | fatal error: return code: 1 > > > > The one above is a stupid sample. But it took me about two hours to > > discover what was triggering the fatal error message. > > > > I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could > > be more verbose about an opened environment that isn’t closed. > > > > Many thanks for your help and your excellent work, > > > > Pablo > > > __ > > > _ 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] fatal error in LMTX
Hi Pablo, Your example works fine on my machine (MacOS 11.6.4) with LMTX version 2022.04.11. However in your example the \stopfrontmatter is missing. Best regards: Otared > On 12 Apr 2022, at 19:14, Pablo Rodriguez via ntg-context > wrote: > > Hi Hans, > > I have a minimal sample that triggers a fatal error in ConTeXt LMTX > (current latest from 2022.04.11 19:27): > > \starttext > \startfrontmatter > \input zapf > \stoptext > > This gives the following error message: > > mkiv lua stats > runtime: 0.386 seconds, 1 processed pages, >1 shipped pages, 2.592 pages/second > mtx-context | fatal error: return code: 1 > > The one above is a stupid sample. But it took me about two hours to > discover what was triggering the fatal error message. > > I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could > be more verbose about an opened environment that isn’t closed. > > Many thanks for your help and your excellent work, > > Pablo > ___ > 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 ___
[NTG-context] fatal error in LMTX
Hi Hans, I have a minimal sample that triggers a fatal error in ConTeXt LMTX (current latest from 2022.04.11 19:27): \starttext \startfrontmatter \input zapf \stoptext This gives the following error message: mkiv lua stats > runtime: 0.386 seconds, 1 processed pages, 1 shipped pages, 2.592 pages/second mtx-context | fatal error: return code: 1 The one above is a stupid sample. But it took me about two hours to discover what was triggering the fatal error message. I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could be more verbose about an opened environment that isn’t closed. Many thanks for your help and your excellent work, Pablo ___ 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 ___