LaTeX forum ⇒ GeneralTeX capacity exceeded, sorry [parameter stack size=10000]

LaTeX specific issues not fitting into one of the other forums of this category.
lasrubieras
Posts: 2
Joined: Wed Jan 06, 2021 12:34 am

TeX capacity exceeded, sorry [parameter stack size=10000]

Postby lasrubieras » Wed Jan 06, 2021 12:49 am

Hello smart people,

I am working on writing my dissertation. I'm a linguist at UW Madison working with idioms in Spanish. I am writing my manuscript in Rmarkdown and using the bookdown package. I ran into this bug using the gb4e package to create examples and glosses.

Here is the error I get when trying to knit my document.

! TeX capacity exceeded, sorry [parameter stack size=10000].
\gb@ifnextchar #1#2#3->
                       \let \reserved@d =#1\def \reserved@a {#2}\def \reserv...
l.21     \catcode`\noexpand\^^A
                               \the\catcode`\^^A\relax}} 

Error: LaTeX failed to compile initial_data_wrangling.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See initial_data_wrangling.log for more info.
Execution halted


Here's my yaml header

---
title: "Experimental Design"
author: "Erwin Lares"
date: "12/23/2020"
output:
  bookdown::pdf_document2: default
  bookdown::html_document2: default
header-includes:
- \usepackage{graphicx}
- \usepackage{float}
- \usepackage{longtable}
- \usepackage{gb4e}
---


And here is the bit causing that's causing the error

\ex 
\begin{xlist} % first embedding (alphabetical numbering)
\ex\label{stm-n-lit}
    \gll Mary kicked the bucket, she stubbed her toes. \\
    Mary kick-PAST the bucket, 3S bruised-PAST 3S-POSS toe-PL \\
    \trans ‘Mary made contact with the bucket with her toes forcefully ’
\ex\label{stm-n-idm}
    \gll Mary kicked the bucket, she's dead. \\
    Mary kick-PAST the bucket, 3S COP-PRE dead-adj \\
    \trans ‘Mary is dead.’
\end{xlist} % end first embedding
\ex\label{stm-plain} 
    \gll This example does not contain sub examples.\\
     DEMO-SING example DO-helping NEG contain sub examples\\
    \trans ‘This is a plain example’
\end{exe}



Any suggestions are welcome. Thank you for helping out

Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests