Niente da fare, non funziona…
Un esempio minimale è:
`\documentclass[12pt,a4paper,draft]{toptesi}
\usepackage[ansinew]{inputenc}
\usepackage{graphicx}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{syntonly}
\usepackage{verbatim}
\usepackage{longtable}
\usepackage[font=normalsize]{caption}
\usepackage{float}
\usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
\usepackage{xcolor,framed}
\definecolor{shadecolor}{gray}{0.9}
\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}
\raggedbottom\italiano
\begin{document}
Questo non è commentato
\begin{comment}
Questo dovrebbe esserlo
\end{comment}E questo nuovamente no.
\end{document}`
e gli errori sono:…
In realtà hai omesso l’errore più importante e fatale:
`! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H
…
l.44
\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp}}`
Temo che abbiamo trovato un bug in toptesi, precisamente in topcoman.sty.
Se infatti aggiungi, subito prima di \usepackage{verbatim}, il seguente incantesimo
`{\obeyspaces\global\let =\space}`
l’errore sparisce. Riporterò a chi di dovere.
Ciao
Enrico