Hi,

Many thanks Hans and Mikael for the new upload! I tried it on a few of
my documents and realised it catches some errors which were previously
silently ignored (like a missing `\stopsection`), which is a
nice improvement as far as I'm concerned!

I also noticed it throws an error on multi-paragraph footnotes, for
instance:
```
\starttext
A footnote\footnote{
    Paragraph 1

    Paragraph 2
}
\stoptext
```
If I am not mistaken, the previous version could compile this example
correctly. Not sure whether that's intended behaviour or a regression.

In case that's useful, the relevant part of the log is:

```
tex error       > tex error on line 1 in file ./test.tex: Undefined control
sequence
<lua input>
<to be read again>

    \relax
<macro> \commalistcommand
    ...vedlisttitle {\currentconstructionmain
}\currentconstructionlistentry \relax
    }
<macro> \handlenoteitself
    ...\c_strc_notes_flushed \else \strc_notes_save_indices
\strc_notes_inject_text
    \relax \fi \ifvmode \obeydepth \else \endstrut \f ...
<macro> \handlenoteinsert
    ...ox \handlenoteitself {#1}{#2}\stopvboxtohbox \else \handlenoteitself
{#1}{#2}
    \fi \egroup \expand \everyafternoteinsert \endgroup
<macro> \currentconstructionsynchronize
    ...c_strc_notes_delayed \else \handlenoteinsert \currentnote
\currentnotenumber
    \fi \endgroup \fi \fi \ifcstok {\noteparameter \c ...
 ...
<line 3.6>
    }
1 >>  \starttext
2     A footnote\footnote{
3         Paragraph 1
4
5         Paragraph 2
6     }
7     \stoptext
8
The control sequence at the end of the top line of your error message was
never
\def'ed. You can just continue as I'll forget about whatever was
undefined.mtx-context     | fatal error: return code: 1
```

Cheers,
Florent
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to