[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#413045: texlive-latex-recommended: UTF8 listings error



Package: texlive-latex-recommended
Version: 2005.dfsg.3-1
Severity: minor

Hello,

i have switched to texlive and i cannot compile an old report anymore

\documentclass[a4paper, 12pt]{report}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{listings}

\begin{document}

\begin{lstlisting}[language=sh, basicstyle=\ttfamily\footnotesize]
ip prefix-list FILTRE_ANNONCES_ENTRANTES seq 5  deny <réseau> le 32
\end{lstlisting}

\begin{lstlisting}[language=cpp, basicstyle=\ttfamily\footnotesize]
void foo() {
// réseau
}
\end{lstlisting}

\end{document}



latex Rapport.tex
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./Rapport.tex
LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `French'
(babel)                I will use the patterns loaded for \language=0 instead.

*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
(/usr/share/texmf-texlive/tex/latex/listings/listings.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/listings/lstpatch.sty)
(/usr/share/texmf-texlive/tex/latex/listings/lstmisc.sty)
(/usr/share/texmf-texlive/tex/latex/listings/listings.cfg)) (./Rapport.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf-texlive/tex/latex/listings/lstlang1.sty)
(/usr/share/texmf-texlive/tex/latex/base/t1cmtt.fd)

! Package inputenc Error: Unicode char \u8:�\expandafter not set up for use wit
h LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.13 ...E_ANNONCES_ENTRANTES seq 5  deny <réseau>
                                                   le 32
?

It looks like listings doesn't like UTF-8 chars inside brackets.
Is my source wrong ?

Thanks.




######################################
 List of ls-R files

-rw-r--r-- 1 root root 983 2007-03-01 20:35 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2007-02-27 23:42 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 2007-03-01 20:31 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 2007-03-01 20:31 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 2007-02-27 23:42 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 5931 2007-03-01 20:35 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 7710 2007-03-01 20:35 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 4481 2007-03-01 20:35 /var/lib/texmf/tex/generic/config/language.dat

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.1-ben
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)

Versions of packages texlive-latex-recommended depends on:
ii  texlive-common             2005.dfsg.3-1 TeX Live: Base component
ii  texlive-latex-base         2005.dfsg.3-1 TeX Live: Basic LaTeX packages

Versions of packages texlive-latex-recommended recommends:
ii  latex-beamer   3.06.dfsg.1-0.1           LaTeX class to produce presentatio
ii  latex-xcolor   2.09-1                    Easy driver-independent TeX class 
ii  prosper        1.00.4+cvs.2006.10.22-1.1 LaTeX class for writing transparen

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  ucf                           2.0018.1   Update Configuration File: preserv

Versions of packages texlive-latex-recommended is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)

-- debconf information:
  tex-common/singleuser: false
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:



Reply to: