Re: [NTG-context] fatal error in LMTX

2022-04-13 Thread Pablo Rodriguez via ntg-context
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

2022-04-13 Thread Pablo Rodriguez via ntg-context
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
___