I don't know why I get an error related to this code:
\begin{lstlisting}[framexleftmargin=0mm,basicstyle=\ttfamily\small,breaklines,columns=fullflexible]
xp_sendmail {[ @recipients= ] 'recipients [ ;…n ]'}
[,[ @message= ] 'message' ]
[,[ @query= ] 'query' ]
[,[ @subject= ] 'subject' ]
[,[ @attachments= ] 'attachments' ]
\end{lstlisting}
This is part of my preamble:
\documentclass[a4paper,singleside,11pt]{report}
\usepackage{ia_urb_thesis}
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{color}
%\usepackage {listingsutf8}
%\usepackage{tikz}
\usepackage[thinlines]{easytable}
\usepackage{upquote}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage{listings}
%\lstset{language=PHP}
\usepackage{url}
%\usepackage[pdftex]{graphicx}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\usepackage{float}
latex-project. Read the FAQ, please - you will even get a badge for that. – Martin Schröder Jan 15 at 18:20ia_urb_thesisandinputenccommented out. Must be some interaction issue withia_urb_thesis. – Peter Grill Jan 15 at 18:32babelis defining some active chars to facilitate the input of accents in italian, and those have bad interactions with other libraries. Search in italian babel documentation about how to deactivate those active chars. – JLDiaz Jan 15 at 18:34