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

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



Your message dated Mon, 21 Mar 2005 11:00:10 +0100
with message-id <20050321100010.GK2444@preusse>
has caused the Debian Bug report #300130,
regarding tetex-extra: Bad Erlang language definition in lstlang3.sty
to be marked as having been forwarded to the upstream software
author(s) Carsten Heinz <cheinz@gmx.de>, 300130-forwarded@bugs.debian.org.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 300130-forwarded) by bugs.debian.org; 21 Mar 2005 10:00:42 +0000
>From hille42@web.de Mon Mar 21 02:00:42 2005
Return-path: <hille42@web.de>
Received: from smtp07.web.de [217.72.192.225] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDJiD-0001Et-00; Mon, 21 Mar 2005 02:00:42 -0800
Received: from [212.14.71.206] (helo=preusse.amasol.de)
	by smtp07.web.de with asmtp (WEB.DE 4.104 #268)
	id 1DDJhi-0005u8-00; Mon, 21 Mar 2005 11:00:11 +0100
Received: by preusse.amasol.de (sSMTP sendmail emulation); Mon, 21 Mar 2005 11:00:10 +0100
Date: Mon, 21 Mar 2005 11:00:10 +0100
From: Hilmar Preusse <hille42@web.de>
To: Carsten Heinz <cheinz@gmx.de>, 300130-forwarded@bugs.debian.org
Subject: (fwd) Bug#300130: tetex-extra: Bad Erlang language definition in lstlang3.sty
Message-ID: <20050321100010.GK2444@preusse>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.1i
X-Operating-System: CYGWIN_NT-5.0 1.5.13(0.122/4/2) i686
X-www.distributed.net: OGR-P2: 20 packets (149.47 stats units) [3.30 Mnodes/s]
X-Face: .n=jHnz:2pu0c0)ef]4O#1FE{Vak?h89!g7_#2+PzSRoIU[pJFNnz>gLhn}UMwv}4/j{X.. 2E+>U>P!`PYk
X-Confirmation-Request: yes
X-Confirm-Reading-To: "Hilmar Preusse" <hille42@web.de>
Sender: hille42@web.de
X-Sender: hille42@web.de
Delivered-To: 300130-forwarded@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_BUG_NUMBER,HAS_PACKAGE autolearn=ham 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hi Carsten,

Down here in the Debian bug tracking system we've got a bug report
about a wrong definition of the language Erlang. The version in teTeX
3.0 still exposes that bug and seems to be the latest one.

Kind Regards,
  Hilmar

----- Forwarded message from "Enzo Nicosia (KatolaZ)" <me@katolaz.homeunix.net> -----

From: "Enzo Nicosia (KatolaZ)" <me@katolaz.homeunix.net>
Reply-To: "Enzo Nicosia (KatolaZ)" <me@katolaz.homeunix.net>,
	300130@bugs.debian.org
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#300130: tetex-extra: Bad Erlang language definition in lstlang3.sty
Date: Thu, 17 Mar 2005 21:43:52 +0100
Message-Id: <[🔎] 20050317204352.53C3813FE9@bagheera>
X-Mailer: reportbug 3.8
X-Mailing-List: <debian-tetex-maint@lists.debian.org> archive/latest/10949

Package: tetex-extra
Version: 2.0.2c-6
Severity: important
Tags: patch


##################################
\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

----- End forwarded message -----
-- 
sigmentation fault



Reply to: