I am writing a linguistic paper and I read that gb4e is a great package to insert numbered examples. When I use the package, the program no longer compiles. I cannot find answers on why I am getting the answers I am getting.
Here is my preamble:
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{tipa}
\usepackage{float}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{cite}
\usepackage{natbib}
\usepackage{apalike}
\usepackage[margin=1in]{geometry}
\usepackage[table]{xcolor}
\usepackage{booktabs}
\usepackage{multicol}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{lmodern}% http://ctan.org/pkg/lmodern
\usepackage{slantsc}% http://ctan.org/pkg/slantsc
%\usepackage{enumitem}
%\setlist{label*=(\arabic*)}
\usepackage{color,soul}
\usepackage{gb4e}
\DeclareUnicodeCharacter{00A0}{ }
\AtBeginDocument{\renewcommand{\bibname}{References}}
\begin{document}
Here are the error messages:
! Missing \endcsname inserted.
<to be read again>
\let
l.10 \newlabel{chapter2_goals}{{1}{1}}
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.
! TeX capacity exceeded, sorry [parameter stack size=10000].
\gb@ifnextchar #1#2#3->
\let \reserved@d =#1\def \reserved@a {#2}\def \reserv...
l.10 \newlabel{chapter2_goals}{{1}{1}}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
Here is how much of TeX's memory you used:
5829 strings out of 493014
78303 string characters out of 6133351
194551 words of memory out of 5000000
9310 multiletter control sequences out of 15000+600000
6558 words of font info for 22 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
3340i,0n,10001p,237b,56s stack positions out of 5000i,500n,10000p,200000b,80000s
! ==> Fatal error occurred, no output PDF file produced!
Thank you for your help
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.