Risposte nei forum create
-
AutoreRisposte
-
::
Mi pare una richiesta bizzarra per una tesi; la cosa più semplice è mettere un asterisco fra parentesi alla fine del titolo della sezione e spiegarne il significato alla fine dell’introduzione.
Ciao
EnricoCapita quando si soffre della mania di includere tutto lo stato dell’arte dall’invenzione della ruota in poi 😆
Grazie mille per la risposta!
Ciao!
::L’errore è nelle doppie parentesi attorno all’anno. Quelle attorno al titolo non hanno alcuna rilevanza, servono solo a propagare la mania delle maiuscole che è davvero difficile da estirpare; prova a demaiuscolarizzarti e vedrai che starai meglio. 🙂
Ciao
EnricoNell’uso delle maiuscole ho cercato di attenermi alla convenzione usata dagli autori di ogni singolo paper (soprattutto per porre in evidenza i vari acronimi). Per evitare che Referencer a ogni salvataggio mi vada a sovrascrivere la versione “de-parentesizzata” dell’anno, ho semplicemente incluso le entry in un altro file.bib, togliendole nel contempo dall’archivio del programma.
Grazie di nuovo per l’aiuto!
Ciao!
::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
EnricoScusami, 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>
Babeland hyphenation patterns for english, usenglishmax, dumylang, noh
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>
Babeland hyphenation patterns for english, usenglishmax, dumylang, noh
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!
::
Ho trovato un “workaround” per evitare il problema, basta togliere manualmente la doppia parentesi graffa che Referencer mette attorno alla data di pubblicazione dei paper quando esporta i risultati in formato bibtex preservando la capitalizzazione.
Per me e’ un casino, perche’ significa dover, ogni volta che aggiungo un paper, aprire la bibliografia e rimuovere le parentesi, pero’ sembra essere l’unico modo per far funzionare l’accrocchio 🙁
Ciao!
::
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}
`
-
AutoreRisposte