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

Bug#300130: marked as done (tetex-extra: Bad Erlang language definition in lstlang3.sty)



Your message dated Thu, 21 Aug 2008 10:27:52 +0200
with message-id <20080821082751.GA5624@PC23>
and subject line Re: Bug#300130: tetex-extra: Bad Erlang language definition in lstlang3.sty#
has caused the Debian Bug report #300130,
regarding tetex-extra: Bad Erlang language definition in lstlang3.sty
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
300130: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=300130
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tetex-extra
Version: 2.0.2c-6
Severity: important
Tags: patch



-- Package-specific info:
Please read and follow the instructions in the first lines below
the text: "-- Package-specific info:".
Thank you.

Press ENTER to continue
If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. Don't forget to also include minimal examples of
other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.latex-einfuehrung.de/mini-en.html (english)

or 

http://www.latex-einfuehrung.de/mini.html (german)

##################################
\documentclass[a4paper]{article}
\usepackage{listings}

\begin{document}
\lstset{language=erlang}
	\begin{lstlisting}
	-module (pippo).
	-export (pippo).
	pippo (A,b) -> c.
	\end{lstlisting}
\end{document}

#### Simple patch: 

The problem is in the definition of "otherkeywords" at line 149 of the
file "/usr/share/texmf/tex/latex/listings/lstlang3.sty".

The bugged line is:
otherkeywords={->,!,[,],\{,\},},%

and should be simply replaced by:
otherkeywords={->,!,[,],\{,\}},%

The problem is the extra common between "\}" and "}".

HaveANiceDay

KatolaZ



##################################
other files

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

-rw-rw-r--  1 root staff 79 Mar  6 12:18 /usr/local/share/texmf/ls-R
-rw-rw-r--  1 root staff 91 Mar  6 12:18 /usr/local/lib/texmf/ls-R
-rw-rw-r--  1 root users 865 Mar 13 06:25 /var/lib/texmf/ls-R
lrwxrwxrwx  1 root root 29 Feb 19 12:23 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tetex-extra depends on:
ii  dpkg                      1.10.27        Package maintenance system for Deb
ii  gsfonts                   8.14+v8.11-0.1 Fonts for the Ghostscript interpre
ii  tetex-base                2.0.2c-6       Basic library files of teTeX
ii  tetex-bin                 2.0.2-26       The teTeX binary files
ii  ucf                       1.14           Update Configuration File: preserv

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2007.dfsg.1-3

On 17.03.05 Enzo Nicosia (KatolaZ) (me@katolaz.homeunix.net) wrote:

> The problem is in the definition of "otherkeywords" at line 149 of
> the file "/usr/share/texmf/tex/latex/listings/lstlang3.sty".
> 
> The bugged line is:
> otherkeywords={->,!,[,],\{,\},},%
> 
> and should be simply replaced by:
> otherkeywords={->,!,[,],\{,\}},%
> 
> The problem is the extra common between "\}" and "}".
> 
This patch has been applied to listing 1.3c being in unstable and
provided by texlive-latex-recommended.

-> Closing

H.
-- 
sigmentation fault


--- End Message ---

Reply to: