I'm getting the following error when trying to compile a master .tex file:
TeX capacity exceeded, sorry [parameter stack size=10000]
There's some info in the .log file that may be relevant but hasn't helped me much:
ABD: EveryShipout initializing macros
LaTeX Font Info: Try loading font information for OT1+ztmcm on input line 11
.
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd
File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm.
)
LaTeX Font Info: Try loading font information for OML+ztmcm on input line 11
.
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/omlztmcm.fd
File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm.
)
LaTeX Font Info: Try loading font information for OMS+ztmcm on input line 11
.
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/omsztmcm.fd
File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm.
)
LaTeX Font Info: Try loading font information for OMX+ztmcm on input line 11
.
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/omxztmcm.fd
File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm.
)
LaTeX Font Info: Try loading font information for OT1+ptm on input line 11.
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/ot1ptm.fd
File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
)
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 11.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 11.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 11.
! TeX capacity exceeded, sorry [parameter stack size=10000].
\@ifnextchar #1#2#3->
\let \reserved@d =#1\def \reserved@a {#2}\def \reserved...
l.11 \input{monog_pretextuais.tex}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
I have pretty much every LaTeX package installed and updated (including psnfss, collection-fontsextra, etc.), except for a few very Windows-specific packages. I use texlive (tlmgr), as I find the packages in the Ubuntu repository too outdated. I use LaTeXila with latexmk (tex > dvi > ps > pdf) to edit and compile my files. It's very important, for the purposes of my project, for the serif font to be Times New Roman (mathptmx) and the document class to be abntex2, for I need to abide by many ABNT-like standards.
I've attempted to create MWEs.
These are the master file contents:
\input{monog_preambulo.tex}
% ELEMENTOS PRÉ-TEXTUAIS
\begin{document}
\pretextual
\pagestyle{plain}
\aliaspagestyle{chapter}{plain}
\pagenumbering{roman}
\input{monog_pretextuais.tex}
\end{document}
monog_preambulo.tex contents:
\documentclass[
% -- opções do pacote memoir --
letter, % estranhamente, Normas do IEL.pdf pag53 recomenda letter
12pt, % tamanho da fonte
oneside, % para impressão apenas em frente; ver Normas do IEL.pdf pag54
%openright, % capítulos começam em pág ímpar
%sumario=tradicional,
oldfontcommands, % autoriza certas operações do linguex
% -- opções do pacote babel --
english, % idioma secundário
brazil % idioma principal
]{abntex2}
%\special{papersize=21.59cm,27.94cm} % tamanho carta
% https://en.wikibooks.org/wiki/LaTeX/Page_Layout
% margens
\usepackage[
top=3cm,
left=3cm,
bottom=2cm,
right=2cm,
%showframe
]{geometry}
% note que, conforme Norma do IEL.pdf pag53, se essa monografia exceder 100 páginas,
% todas as margens deverão ser de 3cm.
% encoding
\usepackage[utf8]{inputenc} % encoding do texto de input
\usepackage[T1]{fontenc} % encoding da fonte usada no output
% fontes
\usepackage{mathptmx} % serifada: times new roman; integra o pacote psnfss
\usepackage[scaled=.92]{helvet} % sans: helvetica
\usepackage{courier} % monospace: courier
\usepackage{pifont} % dingbats, symbols; integra o pacote psnfss
% desenhos
\usepackage{float} % permite ambientes float
\usepackage[section]{placeins} % evita que floats ultrapassem a seção pretendida
%\usepackage{caption} %
\usepackage[absolute]{textpos} % cria caixas em posições absolutas
\usepackage{graphicx} % inclui figuras
\usepackage[dvipsnames]{xcolor} % controle das cores
%\usepackage{pstricks} % faz os desenhos vetorizados
%\usepackage[all]{xy}
%\usepackage{tikz}
\usepackage{tikz-qtree} % árvores sintáticas
\usepackage{tikz-qtree-compat} % permite \qroof e \1, \0 nos nodes
% lógica
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%\providecommand{\abs}[1]{\lvert#1\rvert}
% comando para a cardinalidade de conjuntos; \abs{2} retorna |2|
%\let\emptyset\varnothing % muda a aparência do símbolo do conjunto vazio
% linguística
\usepackage{linguex} % exemplos numerados e glosas
\automath % permite árvores dentro dos exemplos do linguex
% comentários e debugging
%\usepackage{lipsum} % texto genérico
\usepackage{verbatim} % ambientes código e comentário
\usepackage[portuguese]{todonotes}
% dados para a capa e a folha de rosto
\usepackage{monografiaiel}
\titulo{O t{\'\i}tulo da monografia}
\autor{Daniel Alves da Silva Lopes Diniz}
\orientador[Orientadora:]{Profa. Dra. Ruth Elisabeth Vasconcellos Lopes}
\local{Campinas}
\data{2016}
\instituicao{%
Universidade Estadual de Campinas
\par
Instituto de Estudos da Linguagem
}
\tipotrabalho{Monografia (gradua{\c c}\~ao)}
\preambulo{Monografia apresentada ao Instituto de Estudos da Linguagem da Universidade Estadual de Campinas como requisito parcial para a obten{\c c}\~ao do t\'\itulo de bacharel em Lingu\'\istica.}
% tipografia
% hyperref deve ser declarado antes de abntex2cite
\setlength{\parindent}{2cm} % tamanho da tabulação; ver Normas do IEL.pdf pag53
\setlength{\ABNTEXcitacaorecuo}{4cm} % recuo para citações longas; ver Normas do IEL.pdf pag40
\setlength{\parskip}{.2cm} % espaço entre parágrafos
\usepackage{indentfirst} % 1º parágrafo indentado
\usepackage{needspace} % bloco de texto ininterruptível
%\usepackage{microtype} % justificação melhorada
\raggedbottom % evita preenchimento da página
%\usepackage{booktabs} % tabelas melhores
%\usepackage{multirow} % mesclar células verticalmente
\usepackage{hyperref} % links internos
\makeatletter
\hypersetup{
pdftitle={vers\~ao 3},
pdfauthor={\@author},
%
colorlinks = true, % cores em vez de caixas
urlcolor = Black, % links externos
linkcolor = Black, % link internos
citecolor = Black % citações
}
\makeatother
% referências bibliográficas
%\begin{comment}
\usepackage[
alf, % autor-data
%versalete, % versalete
abnt-emphasize = bf, % destaques em negrito, e não em itálico
abnt-etal-list = 3, % abrevia autorias maiores que 3 (Normas do IEL.pdf pag22
%abnt-etal-text = it, % escreve o et al., em italico
%abnt-and-type = &, % usa o carater '&' no lugar de 'e' para mais de um autor
abnt-last-names = abnt, % trata sobrenomes "estritamente" conforme a ABNT
abnt-repeated-author-omit = yes % autores com mais de uma entrada recebem ______
]{abntex2cite}
monog_pretextuais.tex contents:
nothing; that is, even when all its contents are commented out, I still get an error.
I'm getting quite desperate with this error because I need to finish this work somewhat quickly and it doesn't compile anymore.