- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 18 anni, 6 mesi fa da .
-
Topic
-
buongiorno,
sto cercando di creare un indice analitico oltre all’indice generaleho usato per questo makeindex
ho un problema pero’, nel file che riporto sotto ho richiamato con degli input diversi file,
uno per ogni anno accademico,
makeindex riconosce le parole indicate e permette il link, ma se c’e’ una stessa parola
che compare in due file richiamati attraverso input non mette insieme le occorrenze ma le spezzaad esempio se la parola pippo compare a pag 11 del primo file e 22 del secondo
io vorrei comparisse pippo, 11, 22
mentre cosi’ ottengo
pippo 11
pippo 22grazie dell’aiuto anna rita
ps allego il file che richiama gli input
\documentclass[a4paper,11pt,italian]{book}
\usepackage{amsmath,calrsfs,amssymb,color,titlesec}
\usepackage{graphicx,tabularx,supertabular,booktabs,tocloft,eso-pic}
\usepackage{fancyhdr}
\usepackage{latexsym}
\usepackage[italian]{babel}
\usepackage{indentfirst}
\usepackage{amssymb,makeidx}
\usepackage{setspace}
\usepackage{multicol,color}
\usepackage{xr-hyper}
%\usepackage[german,english]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
%**************************************
\pagestyle{fancy}
\lhead{}\rhead{}\lfoot{}\rfoot{}\cfoot{}\chead{\small\thepage}
\renewcommand{\headrulewidth}{0pt}
\setlength{\headheight}{14pt}
\setlength{\headsep}{1cm}
\addtolength{\headsep}{-\headheight}
%*****************************************
%__________________________________________________________________
_________________________________________________________________
\usepackage[pdftitle={……i},
pdfauthor={Anna Rita},pdfsubject={program},final=true,hyperindex]{hyperref}
\hypersetup{backref, pdfpagelayout=SinglePage, pdffitwindow=true,
colorlinks=true, linkcolor=blue,bookmarks=true,pdfpagemode=UseOutlines}
%_________________________________________________________________\makeindex
\begin{document}
%\renewcommand{\thesection}[chapter]{\Roman{section}}%______________________________________________________________
%______________________________________________________________
\renewcommand{\thechapter}{\arabic{chapter}}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\filleft\MakeUppercase{\chaptertitlename} \LARGE\thechapter}
{4ex}
{\titlerule
\vspace{2ex}%
\filright}
[\vspace{2ex}%
\titlerule]\makeatletter
\newcommand{\cleantableofcontents}{%
\clearpage\begingroup
\let\ps@plain\ps@empty\pagestyle{empty}%
\tableofcontents\clearpage\endgroup}
\makeatother
%______________________________________________________________
%______________________________________________________________
\markboth{}{\sc \footnotesize Indice delle prove di esame ~~~~ }
\cleantableofcontents\input{AA1998-1999}
\input{AA1999-2000}…. etc ..
\newpage
\markboth{}{\sc \bf \footnotesize Indice per argomento ~~~~ }
\printindex
\end{document}
- Devi essere connesso per rispondere a questo topic.