Re: Errore/Orrore a sorpresa in file già rodato.

#53797
Up
0
Down
::


GRazie ad entrambi.
Come al solito ho dimenticato: su entrambi i pc TecnicCenter e Miktex.
Questo è il codice, che sul mio pc va e su quello in ufficio produce le due pagine in più e l’errore:
`
\documentclass[a4paper,12pt ,titlepage]{book}
\usepackage{etex}
\usepackage[english,italian]{babel}
\usepackage[nouppercase]{frontespizio}
%\usepackage{front-th}%{noadvisor}
\usepackage{natbib}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage[vcentering,hcentering]{geometry}
\usepackage{fancyhdr}
\usepackage{url}
\usepackage{varioref}
\usepackage{amsmath}
%\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{mathrsfs }%per le lettere dei grafi
\usepackage{cases}
\usepackage{subfigure}
\usepackage{textcomp}
\usepackage{enumerate}
%\usepackage{indentfirst}
%\usepackage{amsthm}
\usepackage[amsmath,thmmarks,standard]{ntheorem}
\usepackage{bm} %boldmath
\usepackage{xcolor}
\usepackage{array} % vedi sotto
\usepackage{dcolumn} % per allineare i decimali nelle tabelle
\usepackage{tabularx} % per tabelle con celle multiriga-latex.pdf pag.95
\usepackage{afterpage}
%\usepackage{eucal}
\usepackage{ifsym}
%per numerare solo le equazioni richiamate
%\usepackage{mathtools}
%\mathtoolsset{showonlyrefs}
%\
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage[pdftex,hypertexnames=false]{hyperref}
\hypersetup{pdftitle=tesi di dottorato,pdfauthor=a % Queste informazioni non vengono stampate, ma sono conservate nel documento pdf (premere command-D per vederle sotto AdobeReader/AcrobatReader). Tornano buone a scopi archivistici.

\theoremstyle{break}
\theoremheaderfont{\normalfont\bfseries}\theorembodyfont{\slshape}

% Teorema e Lemma
\theoremsymbol{\ensuremath{\vartriangle}}
\theoremseparator{.}
\newtheorem{teorema}{Teorema}[chapter]
\newtheorem{lemm}{Lemma}[chapter]

% Esempio
\theorembodyfont{\upshape}
\theoremsymbol{\ensuremath{\vartriangle}}
\theoremseparator{.}
\newtheorem{esempio}{Esempio}[chapter]

% Definizione
\theorembodyfont{\slshape}
\theoremsymbol{\ensuremath{\vartriangle}}
\theoremseparator{.}
\newtheorem{defn}{Definizione}[chapter]

% Proprietà
\theorembodyfont{\upshape}
\theoremsymbol{\ensuremath{\vartriangle}}
\theoremseparator{.}
\newtheorem{prop}{Proprietà}[chapter]
\hyphenation{boot-strap}
%\hyphenation{ipoteti-co-de-dut-ti-vo}
%\hyphenation{ipo-te-ti-co-de-dut-ti-vo}
\newcommand{\vdashv}{\mathbin{\ooalign{$\vdash$\cr$\dashv$}}}%da mettere sopra

\renewcommand{\sectionmark}[1]{%
\renewcommand{\listalgorithmname}{Elenco degli algoritmi}
\renewcommand{\algorithmicif}{\textbf{SE}}
\renewcommand{\algorithmicthen}{\textbf{ALLORA}}
\renewcommand{\algorithmicelse}{\textbf{ALTRIMENTI}}
\renewcommand{\algorithmicendif}{}
}
\makeatletter
\newcommand*\sbigtimes{\mathop{\mathpalette\@sbigtimes\relax}\displaylimits}
\newcommand*\@sbigtimes[2]{%
\vcenter{\hbox{\sffamily\@nameuse{\string#1bt}X}}\vphantom{\prod}}
\@namedef{\string\displaystyle bt}{\huge}
\@namedef{\string\textstyle bt}{\Large}
\@namedef{\string\scriptstyle bt}{\small}
\@namedef{\string\scriptscriptstyle bt}{\footnotesize}
\makeatother
\makeatletter
\@ifundefined{@currsizeindex}
{\RequirePackage{relsize}\let\dolarger\relsize}
{\def\dolarger#1{\larger[#1]}}

\newcommand*\@@bigtimes[2]{\vphantom{\prod}
\vcenter{\hbox{\dolarger{4}$\m@th#1\mkern-2mu\times\mkern-2mu$}}}
\newcommand*\bigtimes{\mathop{\mathpalette\@@bigtimes\relax}\displaylimits}
\makeatother
\begin{document}
% frontmatter: frontespizio, dedica, ringraziamenti, indice (table of contents)
\frontmatter
\include{frontespizio}
%\include{dedica}
%\include{ringraziamenti}
\clearpage{\pagestyle{empty}\cleardoublepage}
%\tableofcontents
%\listoffigures
%\listoftables
\clearpage{\pagestyle{empty}\cleardoublepage}
\include{intro}
% mainmatter: capitoli

\begin{mainmatter}
\include{cap1}
\include{cap2}
\include{cap3}
%\include{cap4}
%\include{capitolo5}
%\include{Conclusioni}
%\appendix
%\chapter{Regressione PLS}
%\chapter{Altro}
\clearpage{\pagestyle{empty}\cleardoublepage}
\end{mainmatter}
%%%%%%%%%%%%%%%%%
%backmatter: bibliografia
\begin{backmatter}
%%\rmfamily
%%\phantomsection
\addcontentsline{toc}{chapter}{Riferimenti Bibliografici}
\bibliographystyle{natbib_ita}
\clearpage{\pagestyle{empty}\cleardoublepage}
\bibliography{biblio}
\nocite{*} %inserisce tutti i riferimenti bibliografici
\end{backmatter}
\end{document}

`

Quale sarà l’orrore di troppo?

P.S. l’intro inizia così:
`%\pagestyle{plain}
\phantomsection
\addcontentsline{toc}{chapter}{Introduzione}
\chapter*{Introduzione\markboth{Introduzione}{}}
`

e gli altri capitoli tutti così:

`\pagestyle{fancy}
% i comandi seguenti impediscono la scrittura in maiuscolo
% dei nomi dei capitoli e dei paragrafi nelle intestazioni
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}

\renewcommand{\sectionmark}[1]{%
\markright{#1}{}}

\fancyhf{} % rimuove l'attuale contenuto dell'intestazione e del piè di pagina
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\leftmark}
\fancyhead[RE]{\chaptername\ \thechapter}

\addtolength{\headheight}{3.75pt} % riserva spazio per la linea
\fancypagestyle{plain}{%
\fancyhead{} % ignora, nello stile plain, le intestazioni
\renewcommand{\headrulewidth}{0pt} % e la linea
}

\clearpage{\pagestyle{empty}\cleardoublepage}`

GRAZIE

Go to top