Trying to finish a dissertation here. When clicking Build & View in TexStudio, I get an Error Message plus a Warning Message:

logreq.def error line 8 Tex capacity exceeded, sorry [parameter stack size=10000]. ...Container{requests}{(internal | external)*}

leipzig.sty warning line 503 Font shape `OT1/cmr/bx/sc'undefined(Font) using `OT1/cmr/bx/n' instead

The error is evidently caused by the mere attempt to load biblatex. It occurs even if no \addbibresource or \printbibliography are called within the document, and even if no settings are specified within the \usepackage call. Both errors (including the warning message) disappear if I simply disable the line that loads biblatex. Here's my main.tex (the individual chapters are separate files and clearly irrelevant):

\graphicspath{ {images/} }
 \usepackage[backend=biber, style=authoryear]{biblatex} % Deactivating this line enables the document to compile without errors.
% \addbibresource{sources.bib}

\author{My Anonymized Name}
\title{My Anonymized Title}
\date{October 2020}


% bibliography, glossary and index would go here.

% \printbibliography

  • 2
    Please make this self contained. We do not have access to sources.bib or the included tex files (are the included tex files even relevant)
    – daleif
    Mar 23, 2020 at 15:38
  • 1
    Please cut it down to a MWE (Minimal (non-)Working Example). Without the included files, all we can do is wild guessing. Delete included files and packages until it stops failing. Delete intermediate/auxiliary files each time, a corrupted one can also be the cause here.
    – vonbrand
    Mar 23, 2020 at 15:39
  • 1
    Move \usepackage{gb4e} behind biblatex, this package is dangerous and should be loaded late . Or alternatively move the \noautomath directly behind the package. That will prevent the interferences too. Mar 23, 2020 at 15:50
  • Calling usepackage{gb4e} and \noautomath dead last, as Ulrike suggests, has solved the problem.
    – blokeman
    Mar 23, 2020 at 17:14
  • See also tex.stackexchange.com/q/321119/35864 and tex.stackexchange.com/q/101300/35864. The former is spot on as a duplicate.
    – moewe
    Mar 23, 2020 at 20:41


Browse other questions tagged .