TransWikia.com

Doxygen Error TeX capacity exceeded, sorry [input stack size=5000]

TeX - LaTeX Asked by lior.i on March 14, 2021

When I first encounter this problem I found many similar question: 1, 2, 3 and more, but it didn’t solved my problem.

I have cpp project and I’m generating doxygen PDF and HTML with the following script:

#!/bin/bash

doxygen libProject.doxyfile
cd latex
make
cd ..
cp latex/refman.pdf libProject_traceability.pdf

When I added ALIASES to the doxyfile:

ALIASES                += coversreqs="<dl class="params"><dt>Component Requirements:</dt><dd><table class="params">"
ALIASES                += req{1}="<tr><td class="paramname">ref 1</td></tr>"
ALIASES                += endcoversreqs="</table></dd></dl>"

I get the following error:

! TeX capacity exceeded, sorry [input stack size=5000].
{ l.468 end{longtabu}
! ==> Fatal error occurred, no output PDF file produced! Transcript written on refman.log. Makefile:6: recipe for
target ‘refman.pdf’ failed make: *** [refman.pdf] Error 1 cp: cannot
stat ‘latex/refman.pdf’: No such file or directory

Before that the doxyfile ALIAS was empty:

# alias to insert a newline as if a physical newline was in the original file.

ALIASES                =

and everything worked fine.

What is the problem with the ALIASES?
Is it a syntax problem?
Did anyone has similar thing?

Notice

The weird thing is, when I added this ALIASES to other project it worked just fine, the only difference between them that I can think of is that the fail one contain template classes with EXTENSION_MAPPING in the doxyfile:

EXTENSION_MAPPING      = tpp=C++

and tpp FILE_PATTERNS in the doxyfile:

FILE_PATTERNS          = *.c 
                         *.cc 
                         *.cxx 
                         *.cpp 
                         *.c++ 
                         *.tpp 
                         ...

But I can’t see any relation to this.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP