- Questo topic ha 7 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 13 anni, 11 mesi fa da .
-
Topic
-
Salve a tutti,
ho un problema con l’indice analitico.
Sto scrivendo una dispensa per i miei allievi. Utilizzo Classic Thesis con ArsClassica, sia su un computer windows 7 ultimate (TeXlive 2012 aggiornata) che su un Mac, OX Lion (MacTex 2012 aggiornata).
Dopo l’aggiornamento odierno, sulla macchina windows, provando a compilare con pdfLatex, compare il seguente errore:`! Argument of \hyper@link has an extra }.
\par
l.4 \subitem numerica, \hyperpage{3}? `
Mi sembra di capire che riguardi il file *.ind che serve per generare l’indice analitico.
Il file non è stato cambiato (precedentemente funzionava a dovere), ne è stato cambiato il codice del file principale.Ecco un esempio minimo compilabile, che riproduce l’errore appena lancia makeindex:
`\documentclass[openright,titlepage,fleqn,numbers=noenddot,headinclude,%1headlines,%
10pt,a4paper,BCOR5mm,footinclude,cleardoublepage=empty,%abstractoff % <--- obsolete, remove (todo) ]{scrbook} % use larger type; default would be 10pt \usepackage[latin1]{inputenc} \usepackage[english,italian]{babel} %\languageattribute{greek}{polutoniko}} % set input encoding (not needed with XeLaTeX) \usepackage[square,numbers]{natbib} \usepackage[fleqn]{amsmath} %%% Examples of Article customizations % These packages are optional, depending whether you want the features they provide. % See the LaTeX Companion or other references for full information. \usepackage[backref]{classicthesis-ldpkg} % listings dottedtoc minionprospacing manychapters \usepackage[eulerchapternumbers, drafting,%listings, %listsseparated, pdfspacing,% subfig,beramono,eulermath,parts]{classicthesis} \usepackage{arsclassica}%[italian] Eliminata l'opzione ``italian''!!?? \usepackage{graphicx} % support the \includegraphics command and options \usepackage{makerobust} \usepackage{mathrsfs} % \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent %%% PACKAGES \usepackage{booktabs} % for much better looking tables \usepackage{array} % for better arrays (eg matrices) in maths \usepackage{paralist} % very flexible & customisable lists (eg. enumerate/itemize, etc.) \usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim \usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float % These packages are all incorporated in the memoir class to one degree or another... \usepackage{multicol} \usepackage{makeidx} \makeindex \let\orgtheindex\theindex%codice per bilanciare l'indice analitico su due colonne \let\orgendtheindex\endtheindex%tratto dall' 'Arte' grazie Lorenzo! \def\theindex{% \def\twocolumn{\begin{multicols}{2}}% \def\onecolumn{}% \clearpage \orgtheindex } \def\endtheindex{% \end{multicols}% \orgendtheindex } \title{Brief Article} \author{The Author} %\date{} % Activate to display a given date or no date (if empty), % otherwise the current date is printed \begin{document} \maketitle \section{First section} Your text goes\index{prova} here. \subsection{A subsection} More text\index{atroce}. \cleardoublepage \manualmark \markboth{\spacedlowsmallcaps{\indexname}}% {\spacedlowsmallcaps{\indexname}} \refstepcounter{dummy} \pagestyle{scrheadings} \addcontentsline{toc}{part}{\tocEntry{\indexname}} \printindex \end{document}` Come mai prima tutto funzionava correttamente e ora non più? E' cambiato qualcosa con gli ultimi aggiornamenti? Con "texdoc makeidx" non ottengo una guida aggiornata... Spero di essere stato chiaro, saluti a tutti. PS: il problema persiste sia che utilizzi un file di stile (classic.ist) per avere le lettere maiuscole che scandiscono la suddivisione dell'indice (A... B... C...) sia che non lo utilizzi.
- Devi essere connesso per rispondere a questo topic.