Re: Problema testatine indice

#96193
claudio
Partecipante
    Up
    0
    Down
    ::


    posto il codice che a me sembra funzioni,
    `
    \documentclass[12pt,twoside,b5paper, openright]{book}

    \usepackage[italian]{babel}
    \usepackage{fancyhdr}
    \usepackage{ibycus4}
    \usepackage{needspace}
    \usepackage{jurabib}
    \usepackage{bibtopic}
    \usepackage{ucs}
    \usepackage[utf8x]{inputenc}
    \usepackage{setspace}
    \usepackage{tipa}
    \usepackage{longtable}
    \usepackage{amssymb}
    \usepackage{graphicx}
    \usepackage{multirow}
    \usepackage{imakeidx}
    \indexsetup{level=\section, toclevel=section, noclearpage}
    \providecommand*\see[2]{\emph{\seename} #1}
    \providecommand*\seealso[2]{\emph{\alsoname} #1}
    \providecommand*\seename{vedi}
    \providecommand*\alsoname{vedi anche}
    \newcommand{\nn}[1]{#1n}

    \pagestyle{fancy}
    \renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
    \clearpage{\pagestyle{empty}\cleardoublepage}
    \let\origdoublepage\cleardoublepage
    \newcommand{\clearemptydoublepage}{%
    \clearpage
    {\pagestyle{empty}\origdoublepage}%
    }
    \let\cleardoublepage\clearemptydoublepage
    \usepackage[pdftex]{hyperref}

    \makeindex[title=Indice dei nomi e delle cose notevoli, columns=2]
    \makeindex[name=latino, title=Indice dei termini latini, columns=2]
    \makeindex[name=altre, title=Altre lingue indoeuropee, columns=2]
    \makeindex[name=AutoriA, title=Indice degli autori antichi, columns=2]
    \makeindex[name=autori, title=Indice degli autori citati, columns=2]

    \begin{document}
    \hyphenation{ra-tio-nem Leon-hard Bergk e-di-tio ri-pro-du-zio-ne}

    \frontmatter
    \setstretch{1}
    \include{title1}
    \cleardoublepage
    \include{dedica}
    \setcounter{secnumdepth}{-1}
    \setcounter{tocdepth}{5}
    \setstretch{1}
    \cleardoublepage

    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{#1}{}}

    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CE,CO]{\nouppercase{\leftmark}}

    \tableofcontents
    \listoffigures
    \listoftables
    \setlength{\parindent}{0.5cm}

    \mainmatter

    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{#1}{}}

    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CE,CO]{\leftmark}

    \include{Premessa}
    \setcounter{secnumdepth}{2}

    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CO]{\nouppercase{\rightmark}}
    \fancyhead[CE]{\nouppercase{\leftmark}}

    \include{Carmen}
    \include{Storia_CS}
    \include{Status_CS}
    \include{Edizione_CS}
    \include{Lingua_CS}
    \setcounter{secnumdepth}{-1}
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    %\renewcommand{\sectionmark}[1]{\markright{#1}{}}
    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CE,CO]{\nouppercase{\leftmark}}
    \include{Conclusioni}

    \setstretch{1}
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{#1}{}}
    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CO]{\nouppercase{\rightmark}}
    \fancyhead[CE]{Le fonti classiche}
    \include{Appendice}

    \setcounter{secnumdepth}{1}
    %\setstretch{1}
    \setcounter{secnumdepth}{-1}

    \bibliographystyle{jurabib}

    \nocite{*}
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{#1}{}}
    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CE]{\nouppercase{\rightmark}}
    \fancyhead[CO]{\nouppercase{\leftmark}}

    \chapter{Riferimenti bibliografici}

    \begin{btSect}{bibliouno}
    \section{Fonti classiche}
    \btPrintAll
    \end{btSect}

    \begin{btSect}{bibliocinque}
    \section{Fonti classiche in traduzione}
    \btPrintAll
    \end{btSect}

    \begin{btSect}{bibliodue}
    \section{Edizioni del \emph{De Lingua Latina} di Varrone}
    \btPrintAll
    \end{btSect}

    \begin{btSect}{bibliotre}
    \section{Edizioni del \emph{De Orthographia} di Terenzio Scauro}
    \btPrintAll
    \end{btSect}

    \begin{btSect}{biblioquattro}
    \section{Edizioni del \emph{De verborum significatione} di Festo}
    \btPrintAll
    \end{btSect}

    \begin{btSect}{Kbib_CS}
    \section{Altra bibliografia}
    \btPrintAll
    \end{btSect}
    \index[autori]{prova}
    \index[AutoriA]{prova}
    \index[altre]{prova}
    \index{prova}
    \chapter{Indici}
    \fancyhf{}
    \fancyhead[LE,RO]{\thepage}
    \fancyhead[CE]{\nouppercase{\rightmark}}
    \fancyhead[CO]{\nouppercase{\leftmark}}
    \cleardoublepage
    \printindex
    \newpage
    \newpage
    \newpage
    \cleardoublepage
    \printindex[AutoriA]
    \newpage
    \cleardoublepage
    \printindex[autori]
    \cleardoublepage
    \printindex[altre]
    \end{document}
    `

    se a te non da il risultato non uguale al mio
    mi viene il dubbio che non hai i pacchetti aggiornati
    che distribuzione usi?

    ciao

    Go to top