Ecco il preambolo ripulito. Le parti in blu, probabilmente non ti servono. In questo caso eliminale, altrimenti decommenta. Le parti in rosso mi sembrano contorte. Il tuo documento è in italiano è anche in inglese?
`\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{color}
\usepackage{array}
\usepackage{float}
\usepackage{textcomp}
\usepackage{multirow}
\usepackage{listings}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{esint}%non so a che serve
\usepackage[unicode=true,
bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=true]
{hyperref}
%\newcommand{\noun}[1]{\textsc{#1}}
%\providecommand{\tabularnewline}{\\}
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}
\addto\captionsenglish{\renewcommand{\theoremname}{Theorem}}
\addto\captionsitalian{\renewcommand{\theoremname}{Teorema}}
\providecommand{\theoremname}{Teorema}
\begin{document}
…`
Ciao
Ivan