Hi,
I'm pretty new to vim-latex.
I need to show some code in my document and in the past I remember I
used the lstlisting environment.
For example:
\begin{lstlisting}
idngram2lm −idngram corpus.idngram −vocab corpus.vocab −arpa
corpus.arpa −context corpus.ccs −n 4
\end{lstlisting}
I'm using these packages:
\documentclass[a4paper,10pt,italian]{book}
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{url,amsfonts}
\usepackage{listings}
\usepackage{xcolor}
\lstset{
backgroundcolor=\color{lightgray},
postbreak=\space, breakindent=5pt, breaklines
}
\lstset{extendedchars=false}
And when I try to compile I get errors like this:
|248 error| Package inputenc Error: Unicode char \u8:− not set up for
use with LaTeX.
l.248 idngram2lm −idngram corpus.idngram −
vocab corpus.vocab −arpa cor...
What's going on?
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Vim-latex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel