On Wed, 23 Apr 2025, RAGINI wrote:

 Trying to build the C++ draft which is Tex source
 https://github.com/cplusplus/draft

 On attempting to build it using `pdflatex std`, the following error is
 encountered.

 ---
 LaTeX Warning: Reference `lex.string' on page 16 undefined on input line
 353.
 LaTeX Warning: Reference `character.seq' on page 16 undefined on input
 line 362
 .
 ! TeX capacity exceeded, sorry [input stack size=10000].
 \@afterendenvhook@ ->\@afterendenvhook@
                                        \input {\jobname .xtr}
 l.397 \end{bnf}

 !  ==> Fatal error occurred, no output PDF file produced!
 Transcript written on std.log.
 ---

 Any pointers, how to fix the 'Tex capacity exceeded' error ?

Is there any conf file where you could increase the limit and test if the error still persists?

I looked on the Tex support (stack exchange) but folks have suggested different solutions to similar errors posted.


Had filed a bug report on this earlier.

https://github.com/cplusplus/draft/issues/7747

Posting a link here for record in case anyone in the community needs to refer 
to the issue.


warm regards
Saifi.

Reply via email to