Re: Errore natbib (“Missing =”) con citazioni simili

#31636
Up
0
Down
::

Ho fatto alcuni esperimenti, sempre sulle due entry del primo messaggio, e ho notato che la causa di tutto e’ la presenza di due paper con gli stessi autori e lo stesso anno di pubblicazione. Basta infatti alterare per esempio il campo “Author” e tutto riprende a funzionare. Ripristinandolo, alla terza passata pdflatex si inchioda alla prima delle due definizioni che incontra. Una ricerca sul web alla luce dei nuovi dati emersi non ha condotto a risultati utili, allego il file principale della tesi (magari e’ qualche pacchetto stravagante che ho caricato la causa questo comportamento).
Grazie!
Ciao!

`
\documentclass[11pt,a4paper,twoside,openright]{book}

\usepackage[dvips]{graphicx}
\usepackage{tabularx}
\usepackage{subfigure}
\usepackage[british]{babel}
\usepackage[ruled]{algorithm2e}
\usepackage{amsmath,amsthm}
\usepackage{amssymb,amsfonts}
\usepackage{latexsym}
%\usepackage{upgreek}
\usepackage{verbatim}
\usepackage{array,warpcol}
\usepackage{multirow}
\usepackage[section,verbose]{placeins}
\usepackage[usenames]{color}
%\usepackage{afterpage}
\usepackage{microtype}
\usepackage{rotating}
\usepackage{fancyhdr}
\usepackage{tocbibind}
%\usepackage{pslatex}
%\usepackage{newcent}

\usepackage{enumitem}
\usepackage{caption}
\usepackage[numbers]{natbib}
\usepackage[hyperindex=true,colorlinks=false,
pagebackref=false,citecolor=blue,plainpages=false,
pdfpagelabels]{hyperref}

\setlength{\headheight}{15pt}

\usepackage[retainorgcmds]{IEEEtrantools}

\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}

\hfuzz2pt
\raggedbottom

\renewcommand{\captionfont}{\normalfont \sffamily \itshape \small}

\hyphenation{di-men-sion-al}

\pagestyle{empty}

\begin{document}
\include{title_page}
\thispagestyle{empty} \cleardoublepage
\pagenumbering{Roman}
\include{abstract}
\thispagestyle{empty} \normalfont \cleardoublepage
\include{estratto}
\thispagestyle{empty} \normalfont \cleardoublepage
\include{dedication}
\thispagestyle{empty} \cleardoublepage
\include{summary}
\thispagestyle{empty} \vspace*{.75truecm} \cleardoublepage
\include{acknowledgements}
\thispagestyle{empty} \vspace*{.75truecm} \normalfont \cleardoublepage
\pagestyle{plain}

\tableofcontents
\pagestyle{empty}\cleardoublepage
\pagenumbering{arabic}

\pagestyle{fancy}
\fancyfoot{}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhead[LE,RO]{\bfseries\thepage}

\fancyhead[RE]{\bfseries\leftmark}
\fancyhead[LO]{\bfseries\rightmark}
\renewcommand{\headrulewidth}{0.3pt}

\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{chapter5}
\include{chapter6}

\appendix

\pagestyle{fancy}
\fancyfoot{}
\renewcommand{\chaptermark}[1]{\markboth{\appendixname\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhead[LE,RO]{\bfseries\thepage}

\fancyhead[RE]{\bfseries\leftmark}
\fancyhead[LO]{\bfseries\rightmark}
\renewcommand{\headrulewidth}{0.3pt}

\include{appendixA}
\include{appendixB}
\include{appendixC}
\include{appendixD}
\include{appendixE}
\include{appendixF}

\clearpage
% —- Bibliography —-
%\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{unsrtnat}
\bibliography{bibliography,textBib}
%\nocite{*}

\end{document}
`

Se tolgo tutti gli \include e scrivo \citep per le due citazioni, non ho alcun errore. Secondo te quello è un esempio minimo? Occorre qualcosa che riproduca il problema e che sia compilabile.

Ciao
Enrico

Go to top