Estou tendo um erro em um .bbl
arquivo e simplesmente não consigo descobrir o problema. Já tentei há algum tempo, mas não tenho a menor ideia do que isso significa. Este é o meu .bbl
arquivo:
\begin{thebibliography}{1}
\providecommand{\natexlab}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax
\providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else
\providecommand{\doi}{doi:\discretionary{}{}{}\begingroup
\urlstyle{rm}\Url}\fi
\bibitem[{\textit{Ackerman}(2008)}]{Ackerman2008}
Ackerman, F. (2008), {Critique of Cost-Benefit Analysis, and Alternative
Approaches to Decision-Making}, \textit{Friends of the Earth England, Wales
and Northern Ireland}, \textit{4}(4), 84--100.
\end{thebibliography}
O erro é:
Use of \@item doesn't match its definition. ...em[{\textit{Ackerman}(2008)}]{Ackerman2008}
Foi compilado a partir deste .tex
arquivo:
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Warsaw}
\usecolortheme{beaver}
\usefonttheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{verbatim}
\usepackage{natbib} % BibStyles
\begin{document}
\begin{frame}{Introduction}{The Guardrail Approach}
\citep{Ackerman2008}
\end{frame}
\begin{frame}{References}
\vspace{3mm}
\begin{tiny}
\bibliographystyle{plainnat}
\bibliography{Text_test}
\end{tiny}
\end{frame}
\end{document}
com o Text_test.bib
:
@article{Ackerman2008,
author = {Ackerman, Frank},
journal = {Friends of the Earth England, Wales and Northern Ireland},
number = {4},
pages = {84--100},
title = {{Critique of Cost-Benefit Analysis, and Alternative Approaches to Decision-Making}},
volume = {4},
year = {2008}
}
A propósito, estou usando o TexStudio. Alguém tem uma ideia?
Responder1
Bem, com uma versão atual do MiKTeX posso compilar seu código sem erros.
Por favor, tente o seguinte MWE (o pacote filecontents
é usado para ter um bib
arquivo e um código TeX compiláveis em um MWE):
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{Ackerman2008,
author = {Ackerman, Frank},
journal = {Friends of the Earth England, Wales and Northern Ireland},
number = {4},
pages = {84--100},
title = {{Critique of Cost-Benefit Analysis, and Alternative Approaches to Decision-Making}},
volume = {4},
year = {2008},
}
\end{filecontents*}
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Warsaw}
\usecolortheme{beaver}
\usefonttheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{verbatim}
\usepackage{natbib} % BibStyles
\begin{document}
\begin{frame}{Introduction}{The Guardrail Approach}
\citep{Ackerman2008}
\end{frame}
\begin{frame}{References}
\vspace{3mm}
\begin{tiny}
\bibliographystyle{plainnat}
\bibliography{\jobname} % to use the bib file created by filecontents
\end{tiny}
\end{frame}
\end{document}
Dependendo do que você fez antes, pode ser que você tenha um bbl
arquivo com defeito, causando o erro.
Para ter certeza, copie meu MWE para o seu computador como --- digamos --- mwe.tex
, compile-o três vezes e verifique o resultado. Deve mostrar algo como:
Se você ainda tiver erros, adicione o comando \listfiles
como primeira linha do código TeX e recompile três vezes. Copie a lista de pacotes usados e números de versão para sua pergunta. Você encontrará esta lista no final do log
arquivo.