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
Scusami, avendo individuato l’origine del problema non pensavo servisse, cmq l’esempio minimale seguente a me si blocca:
— File thesis.tex —
`
\documentclass[11pt,a4paper,twoside,openright]{book}
\usepackage[numbers]{natbib}
\pagestyle{empty}
\begin{document}
\citep{SLAMTutorial12006}
foobar
\citep{SLAMTutorial22006}
\clearpage
% —- Bibliography —-
\bibliographystyle{unsrtnat}
\bibliography{textBib}
%\nocite{*}
\end{document}
`
— File textBib —
`
@misc{SLAMTutorial12006,
author = {Hugh Durrant-Whyte and Tim Bailey},
title = {{Simultaneous Localization and Mapping: Part I}},
year = {{2006}},
tags = “SLAM”
}
@misc{SLAMTutorial22006,
author = {Hugh Durrant-Whyte and Tim Bailey},
title = {{Simultaneous Localization and Mapping: Part II}},
year = {{2006}},
tags = “SLAM”
}
`
— Risultato —
`
roby@archimedes:~/thesis/doc/foo$ pdflatex thesis.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./thesis.tex
LaTeX2e <2005/12/01>
Babel
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/book.cls
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/bk11.clo))
(/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty) (./thesis.aux)
Package natbib Warning: Citation `SLAMTutorial12006' on page 1 undefined on inp
ut line 10.
Package natbib Warning: Citation `SLAMTutorial22006' on page 1 undefined on inp
ut line 12.
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./thesis.bbl [2])
Package natbib Warning: There were undefined citations.
[3] (./thesis.aux
Package natbib Warning: Citation(s) may have changed.
(natbib) Rerun to get citations correct.
) )
Output written on thesis.pdf (3 pages, 17787 bytes).
Transcript written on thesis.log.
roby@archimedes:~/thesis/doc/foo$ bibtex thesis
This is BibTeX, Version 0.99c (Web2C 7.5.6)
The top-level auxiliary file: thesis.aux
The style file: unsrtnat.bst
Database file #1: textBib.bib
roby@archimedes:~/thesis/doc/foo$ pdflatex thesis.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./thesis.tex
LaTeX2e <2005/12/01>
Babel
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/book.cls
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/bk11.clo))
(/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty) (./thesis.aux)
! Missing = inserted for \ifnum.
\def
l.10 \citep{SLAMTutorial12006}
?
! Missing number, treated as zero.
\def
l.10 \citep{SLAMTutorial12006}
?
! Missing = inserted for \ifnum.
\def
l.12 \citep{SLAMTutorial22006}
?
! Missing number, treated as zero.
\def
l.12 \citep{SLAMTutorial22006}
?
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./thesis.bbl [2]
! Missing = inserted for \ifnum.
\def
l.8 …y({2006}{\natexlab{a}})]{SLAMTutorial12006}
?
! Missing number, treated as zero.
\def
l.8 …y({2006}{\natexlab{a}})]{SLAMTutorial12006}
?
! Missing = inserted for \ifnum.
\def
l.13 …({2006}{\natexlab{b}})]{SLAMTutorial22006}
?
! Missing number, treated as zero.
\def
l.13 …({2006}{\natexlab{b}})]{SLAMTutorial22006}
?
) [3] (./thesis.aux) )
Output written on thesis.pdf (3 pages, 15620 bytes).
Transcript written on thesis.log.
roby@archimedes:~/thesis/doc/foo$
`
Grazie mille per la disponibilita’!
Ciao!