Prezados(as),
Meu departamento exige elementos pré-textuais em romanos, assim sendo utilizei o código abaixo no abntex2.cls (obtido de
https://code.google.com/p/abntex2/wiki/HowToPretextuaisRomanos)
:
...
\chapterstyle{abnt}
% ---
% início do arquivo acima não teve modificações...
% ---
%%% -----
%%% Formato de cabecalho/rodape
%%% -----
%%% Páginas pré-textuais
\makepagestyle{pre_textual_romano} %%% escolha um nome
\pagenumbering{roman}
\makeevenfoot{pretextual}{}{\ABNTEXfontereduzida \textbf \thepage}{}
\makeoddfoot{pretextual}{}{\ABNTEXfontereduzida \textbf \thepage}{}
% resto do arquivo abaixo não teve modificações...
% -----
% Declaracoes de cabecalhos
...
Com este novo arquivo abntex2.cls, modifiquei a parte inicial de meu documento conforme abaixo:
\begin{document}
% Retira espaço extra obsoleto entre as frases.
\frenchspacing
% não ultrapassar limite margens
\sloppy
\lstloadlanguages{C,C++,HTML,XML,SQL,SPARQL,PHP,Python,Matlab,Lisp}
\lstset{language=Lisp,basicstyle=\footnotesize,stringstyle=\ttfamily,frame=single}
\lstset{language=SQL,morekeywords={PREFIX,java,rdf,rdfs,url}}
% ----------------------------------------------------------
% ELEMENTOS PRÉ-TEXTUAIS
% ----------------------------------------------------------
\pretextual
\begin{pre_textual_romano}
% ---
% Capa
% ---
% \imprimircapa
\thispagestyle{empty}
\include{cover}
% ---
% ---
% Folha de rosto
% ---
\include{1stpage}
% \imprimirfolhaderosto
% ---
% ---
% Resumo
% ---
\include{abstract}
% ---
% ---
% NOTA DA ABNT NBR 15287:2011, p. 4:
% ``Se exigido pela entidade, apresentar os dados curriculares do autor em
% folha ou página distinta após a folha de rosto.''
% ---
% ---
% inserir o sumario
% ---
\pdfbookmark[0]{\contentsname}{toc}
\tableofcontents*
\cleardoublepage
% ---
% ---
% inserir lista de ilustrações
% ---
\pdfbookmark[0]{\listfigurename}{lof}
\listoffigures*
\cleardoublepage
% ---
% ---
% inserir lista de tabelas
% ---
\pdfbookmark[0]{\listtablename}{lot}
\listoftables*
\cleardoublepage
% ---
% ---
% inserir lista de abreviaturas e siglas
% ---
\include{acronym}
% ---
% ---
% inserir lista de símbolos
% ---
% \begin{simbolos}
% \end{simbolos}
% ---
\end{pre_textual_romano}
...
O resto do documento compilava corretamente, isto é, sem o erro abaixo:
! Class memoir Error: Undefined pagestyle 'pretextual', so I cannot change it.
See the memoir class documentation for explanation.
Type H <return> for immediate help.
...
l.768 ...{\ABNTEXfontereduzida \textbf \thepage}{}
! ==> Fatal error occurred, no output PDF file produced!
Qualquer ajuda muito apreciada.
Obrigado,