Scusami, ho riportato i risultati dell’inserzione della tua modifica nel documento “vero” e non in quello di prova che avevo postato precedentemente.
Ma, inserendo la modifica in quest’ultimo, i risultati non cambiano:
`./NQCQC.tex:66: You can't use `\spacefactor' in vertical mode.
\@->\spacefactor
\@m
l.66 \frontmatter
`
Sempre per completezza, ecco il codice:
`\begin{filecontents*}{TitoliBookpedia.bib}
@book{1234566,
author = {Ed Spandet},
title = {Questa o quella},
publisher = {SCM Press Ltd},
location = {},
year = {1964},
isbn = {1234566},
}
@book{345345345,
author = {Frank Kerming},
title = {The Beauty of Error},
publisher = {Harvard University Press},
location = {Harvard},
year = {1981},
isbn = {345345345},
}
\end{filecontents*}
\begin{filecontents*}{Prefazione.tex}
\chapter*{Prefazione}
\pagestyle{plain}
\addcontentsline{toc}{chapter}{Prefazione}
\noindent quia dolor\index[due]{dolor} sit, amet, consectetur, adipisci uno dei maggiori studiosi, Spandet\index[uno]{Spandet}, dice di un suo noto collega\footnote{~\cite[6]{1234566}}.
\end{filecontents*}
\begin{filecontents*}{Introduzione.tex}
\chapter{Introduzione}
\pagestyle{headings}
\section{Perché mai?}
E c'è dell'altro. Scrive il celebre critico\index[due]{critico} letterario Frank Kerming\index[uno]{Kerming, F.}\footnote{~\cite[17]{345345345}}:
\end{filecontents*}
\documentclass[a4paper,11pt,twoside,openright]{book}
\usepackage[utf8]{inputenc}
\usepackage[10pt]{type1ec}
\usepackage[T1]{fontenc}
\usepackage[polutonikogreek,italian]{babel}
\usepackage[yyyymmdd,hhmmss]{datetime}
\usepackage{tipa}
\usepackage[perpage]{footmisc}
\usepackage{ragged2e}
\usepackage{imakeidx}
\usepackage[paperwidth=17cm,paperheight=24cm,textheight=19.7cm,textwidth=13cm,left=1.75cm,top=2cm]{geometry}
\makeindex
\usepackage[autostyle,italian=guillemets]{csquotes}
\usepackage[bibstyle=authoryear-comp,citestyle=authoryear-comp,natbib,backend=bibtex]{biblatex}
\bibliography{TitoliBookpedia.bib}
\usepackage[hidelinks]{hyperref}
\makeindex[name=uno,title=Indice delle cose e dei nomi,columns=2]
\makeindex[name=due,title=Indice delle altre cose, columns=2]
\renewcommand\frontmatter{% attento al prefisso “re”!
\cleardoublepage
\@mainmatterfalse}
\begin{document}
\frontmatter
\input{Prefazione}
\mainmatter
\input{Introduzione}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliografia}
\printbibliography
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Indice analitico}
\printindex[uno]
\printindex[due]
\tableofcontents
\end{document}
`