Ringrazio per i commenti.
La richiesta nasce in quanto mi è stato chiesto di aggiungere un “indice del capitolo” all’inizio di ogni capitolo per “rendere più facilmente leggibile il tutto”.
Per quanto riguarda alcuni errori sono dovuti al fatto che questo era il preambolo della mia tesi triennale che, ad esempio, era composta con twoside, mentre ora mi è stato richiesto di comporla oneside. Noto comunque di aver commesso alcuni errori grossolani, per questo ho preferito chiedere aiuto qui.
Infine, per quanto riguarda il problema di \include (che ho già provato a sostituire con \input), entrambi i file sono nella medesima cartella, hanno l’estensione .tex e sono in minuscolo.
Questo il log file;
`LOG FILE :
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011) (format=pdflatex 2012.3.16) 31 AUG 2012 11:11
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**tesilatex.tex
(./tesilatex.tex
LaTeX2e <2011/06/27>
Babel
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(c:/texlive/2011/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2011/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(c:/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(c:/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(c:/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(c:/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(c:/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.
(c:/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
)
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count88
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
(c:/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(c:/texlive/2011/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(c:/texlive/2011/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks15
\ex@=\dimen105
))
(c:/texlive/2011/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen106
)
(c:/texlive/2011/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count89
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count90
\leftroot@=\count91
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count92
\DOTSCASE@=\count93
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen107
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count94
\c@MaxMatrixCols=\count95
\dotsspace@=\muskip10
\c@parentequation=\count96
\dspbrk@lvl=\count97
\tag@help=\toks16
\row@=\count98
\column@=\count99
\maxfields@=\count100
\andhelp@=\toks17
\eqnshift@=\dimen108
\alignsep@=\dimen109
\tagshift@=\dimen110
\tagwidth@=\dimen111
\totwidth@=\dimen112
\lineht@=\dimen113
\@envbody=\toks18
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks19
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(c:/texlive/2011/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2009/06/22 v3.00
(c:/texlive/2011/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n –> U/euf/b/n on input line 96.
))
(c:/texlive/2011/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
\fancy@headwidth=\skip46
\f@ncyO@elh=\skip47
\f@ncyO@erh=\skip48
\f@ncyO@olh=\skip49
\f@ncyO@orh=\skip50
\f@ncyO@elf=\skip51
\f@ncyO@erf=\skip52
\f@ncyO@olf=\skip53
\f@ncyO@orf=\skip54
)
(c:/texlive/2011/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2005/04/14 v1.61803 publication quality tables
\heavyrulewidth=\dimen114
\lightrulewidth=\dimen115
\cmidrulewidth=\dimen116
\belowrulesep=\dimen117
\belowbottomsep=\dimen118
\aboverulesep=\dimen119
\abovetopsep=\dimen120
\cmidrulesep=\dimen121
\cmidrulekern=\dimen122
\defaultaddspace=\dimen123
\@cmidla=\count101
\@cmidlb=\count102
\@aboverulesep=\dimen124
\@belowrulesep=\dimen125
\@thisruleclass=\count103
\@lastruleclass=\count104
\@thisrulewidth=\dimen126
)
(c:/texlive/2011/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip11
Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.
)
(c:/texlive/2011/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2011/11/10 v3.2e Customizing captions (AR)
(c:/texlive/2011/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2011/11/01 v1.4a caption3 kernel (AR)
\captionmargin=\dimen127
\captionmargin@=\dimen128
\captionwidth=\dimen129
\caption@indent=\dimen130
\caption@parindent=\dimen131
\caption@hangindent=\dimen132
)
\c@ContinuedFloat=\count105
)
(c:/texlive/2011/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2008/07/08 v3.8m The Babel package
(c:/texlive/2011/texmf-dist/tex/generic/babel/italian.ldf
Language: italian 2008/03/14 v1.2t Italian support from the babel system
(c:/texlive/2011/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2008/07/08 v3.8m Babel common definitions
\babel@savecnt=\count106
\U@D=\dimen133
)
Package babel Info: Making ” an active character on input line 94.
))
(c:/texlive/2011/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks20
\inpenc@posthook=\toks21
(c:/texlive/2011/texmf-dist/tex/latex/ucs/utf8x.def
File: utf8x.def 2004/10/17 UCS: Input encoding UTF-8
))
(c:/texlive/2011/texmf-dist/tex/latex/ucs/ucs.sty
Package: ucs 2004/10/17 UCS: Unicode input support
(c:/texlive/2011/texmf-dist/tex/latex/ucs/data/uni-global.def
File: uni-global.def 2004/10/17 UCS: Unicode global data
)
\uc@secondtry=\count107
\uc@combtoks=\toks22
\uc@combtoksb=\toks23
\uc@temptokena=\toks24
)
(./tesilatex.aux (./debitosovrano.aux))
\openout1 = `tesilatex.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 29.
LaTeX Font Info: … okay on input line 29.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 29.
LaTeX Font Info: … okay on input line 29.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 29.
LaTeX Font Info: … okay on input line 29.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 29.
LaTeX Font Info: … okay on input line 29.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 29.
LaTeX Font Info: … okay on input line 29.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 29.
LaTeX Font Info: … okay on input line 29.
LaTeX Font Info: Checking defaults for LGR/cmr/m/n on input line 29.
LaTeX Font Info: Try loading font information for LGR+cmr on input line 29.
(c:/texlive/2011/texmf-dist/tex/generic/babel/lgrcmr.fd
File: lgrcmr.fd 2008/06/17 v2.3 Greek Computer Modern
)
LaTeX Font Info: … okay on input line 29.
(c:/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count108
\scratchdimen=\dimen134
\scratchbox=\box28
\nofMPsegments=\count109
\nofMParguments=\count110
\everyMPshowfont=\toks25
\MPscratchCnt=\count111
\MPscratchDim=\dimen135
\MPnumerator=\count112
\makeMPintoPDFobject=\count113
\everyMPtoPDFconversion=\toks26
) (c:/texlive/2011/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(c:/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
(c:/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Managing graphics extensions (HO)
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Defining keys (HO)
))
(c:/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2010/12/23 v3.10 Keyval support for LaTeX options (HO)
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2011/04/07 v1.13 Key value parser (HO)
(c:/texlive/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Prefix for e-TeX command names (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 452.
(c:/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: End \AtBeginDocument code.
(c:/texlive/2011/texmf-dist/tex/latex/ucs/ucsencs.def
File: ucsencs.def 2003/11/29 Fixes to fontencodings LGR, T3
fontencoding LGR patched
) (./tesilatex.toc)
\tf@toc=\write3
\openout3 = `tesilatex.toc'.
[1
{c:/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is use
less on input line 51.
Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is use
less on input line 53.
\openout2 = `debitosovrano.aux'.
(./debitosovrano.tex
Capitolo 1.
(c:/texlive/2011/texmf-dist/tex/latex/ucs/data/uni-0.def
File: uni-0.def 2004/10/17 UCS: Unicode data U+0000..U+00FF
)
LaTeX Font Info: Try loading font information for U+msa on input line 7.
(c:/texlive/2011/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
LaTeX Font Info: Try loading font information for U+msb on input line 7.
(c:/texlive/2011/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2009/06/22 v3.00 AMS symbols B
) [1
] [2] [3]
Underfull \hbox (badness 10000) in paragraph at lines 15–16
[]
[4] [5] [6] [7] [8]
Overfull \hbox (5.22855pt too wide) in paragraph at lines 33–34
\OT1/cmr/m/it/10.95 Mon-dia-le\OT1/cmr/m/n/10.95 , le \OT1/cmr/m/it/10.95 Re-gi
o-nal De-ve-lo-p-ment banks \OT1/cmr/m/n/10.95 (co-me ad esem-pio la Inter-Amer
ican
[]
[9] [10] [11] [12] [13]
LaTeX Warning: Reference `parisclub' on page 14 undefined on input line 43.
LaTeX Warning: Reference `londonclub' on page 14 undefined on input line 43.
[14] [15] [16]
Underfull \hbox (badness 1102) in paragraph at lines 52–52
[][]\OT1/cmr/m/n/9 Cfr. F.MARCELLI, \OT1/cmr/m/it/9 Il de-bi-to este-ro dei pae
-si in via di svi-lup-po nel di-rit-to
[]
[17] [18] [19
] (./tesilatex.aux (./debitosovrano.aux))
LaTeX Warning: There were undefined references.
) )
(\end occurred when \iftrue on line 58 was incomplete)
(\end occurred when \ifnum on line 58 was incomplete)
Here is how much of TeX's memory you used:
5157 strings out of 493625
74897 string characters out of 3146637
143648 words of memory out of 3000000
8370 multiletter control sequences out of 15000+200000
13769 words of font info for 52 fonts, out of 3000000 for 9000
831 hyphenation exceptions out of 8191
38i,11n,43p,6312b,480s stack positions out of 5000i,500n,10000p,200000b,50000s
Output written on tesilatex.pdf (20 pages, 222178 bytes).
PDF statistics:
117 PDF objects out of 1000 (max. 8388607)
82 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)`
Grazie