Tengo un error en un .bbl
archivo y simplemente no puedo encontrar el problema. Lo he intentado desde hace algún tiempo pero realmente no tengo ni idea de lo que significa. Este es mi .bbl
archivo:
\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}
El error es:
Use of \@item doesn't match its definition. ...em[{\textit{Ackerman}(2008)}]{Ackerman2008}
Ha sido compilado a partir de este .tex
archivo:
\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}
con el 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}
}
Por cierto, estoy usando TexStudio. Alguien tiene una idea?
Respuesta1
Bueno, con una versión actual de MiKTeX puedo compilar tu código sin errores.
Pruebe el siguiente MWE (el paquete filecontents
se utiliza para tener un bib
archivo y un código TeX compilables en un 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}
Dependiendo de lo que haya hecho antes, es posible que tenga un bbl
archivo defectuoso que cause el error.
Para estar seguro, copie mi MWE a su computadora como --- digamos --- mwe.tex
, compílelo tres veces y verifique el resultado. Debería mostrar algo como:
Si aún tiene errores, agregue el comando \listfiles
como primera línea del código TeX y vuelva a compilarlo tres veces. Copie la lista de paquetes usados y números de versión a su pregunta. Encontrará esta lista al final del log
archivo.