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

Bug#171348: marked as done (listing.sty returns Package keyval errors)



Your message dated Wed, 11 Dec 2002 08:07:54 +0900 (JST)
with message-id <20021211.080754.74734298.kohda@pm.tokushima-u.ac.jp>
and subject line Bug#171348: listing.sty returns Package keyval errors
has caused the attached Bug report 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 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 submit) by bugs.debian.org; 1 Dec 2002 17:38:27 +0000
>From gunnar2@sbox.tu-graz.ac.at Sun Dec 01 11:38:27 2002
Return-path: <gunnar2@sbox.tu-graz.ac.at>
Received: from viefep13-int.chello.at [213.46.255.15] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18IY30-0007Ym-00; Sun, 01 Dec 2002 11:38:27 -0600
Received: from [192.168.0.2] ([213.47.49.201]) by viefep13-int.chello.at
          (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP
          id <20021201173747.KOMF7442.viefep13-int.chello.at@[192.168.0.2]>
          for <submit@bugs.debian.org>; Sun, 1 Dec 2002 18:37:47 +0100
Subject: listing.sty returns Package keyval errors
From: Gunther Laure <gunnar2@sbox.tu-graz.ac.at>
To: submit@bugs.debian.org
Content-Type: text/plain
Organization: 
Message-Id: <[🔎] 1038764261.2519.20.camel@debian.dhs.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.0 
Date: 01 Dec 2002 18:37:42 +0100
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: tetex-extra
Version: 1.0.2+20021025-2

When using listing.sty and \lstset, latex returns package keyval errors.
The keywords stringspaces, labelstyle, labelstep, labelsep and indent
seem not to supported.

The version in testing works with no problems.


Example error generating latex source:

\documentclass[oneside,a4paper,english]{article}

\usepackage{listings}


\lstloadlanguages{C++,Make}

\lstset{language=C++,
basewidth={0.57em,0.45em},
basicstyle=\scriptsize,
keywordstyle=\bfseries,
commentstyle=\color{middlegray},
stringspaces=false,   %
flexiblecolumns=false,
tabsize=2,
labelstyle=\tiny,     %
labelstep=1,          %
labelsep=4pt,         %
indent=15pt           %
}
 
\begin{document}

non sense

\end{document}



I am using Debian GNU/Linux unstable (Sid) with kernal 2.4.18-bf2.4.



---------------------------------------
Received: (at 171348-done) by bugs.debian.org; 10 Dec 2002 23:09:24 +0000
>From kohda@pm.tokushima-u.ac.jp Tue Dec 10 17:09:23 2002
Return-path: <kohda@pm.tokushima-u.ac.jp>
Received: from nsx.pm.tokushima-u.ac.jp [150.59.48.142] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18LtVD-0005ES-00; Tue, 10 Dec 2002 17:09:23 -0600
Received: from localhost ([127.0.0.1] ident=kohda)
	by nsx.pm.tokushima-u.ac.jp with esmtp (Exim 3.36 #1 (Debian))
	id 18LtTq-0004SY-00; Wed, 11 Dec 2002 08:07:58 +0900
Date: Wed, 11 Dec 2002 08:07:54 +0900 (JST)
Message-Id: <20021211.080754.74734298.kohda@pm.tokushima-u.ac.jp>
To: gunnar2@sbox.tu-graz.ac.at, piccardi@firenze.linux.it,
 171348-done@bugs.debian.org
Subject: Re: Bug#171348: listing.sty returns Package keyval errors
From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
In-Reply-To: <[🔎] 1038764261.2519.20.camel@debian.dhs.org>
References: <[🔎] 1038764261.2519.20.camel@debian.dhs.org>
X-Mailer: Mew version 3.1 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: 171348-done@bugs.debian.org
X-Spam-Status: No, hits=-11.5 required=5.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02
	version=2.41
X-Spam-Level: 

From: Gunther Laure <gunnar2@sbox.tu-graz.ac.at>
Subject: Bug#171348: listing.sty returns Package keyval errors
Date: 01 Dec 2002 18:37:42 +0100

> When using listing.sty and \lstset, latex returns package keyval errors.
> The keywords stringspaces, labelstyle, labelstep, labelsep and indent
> seem not to supported.

>From listings.dvi, these keywords were renamed.

\begin{tabular}{rlrl}
\emph{0.21}&\emph{now}&\emph{0.21}&\emph{now}\\[1ex]
\texttt{first}          & \texttt{firstline}          & ---                     & \texttt{numbers}\\
\texttt{last}           & \texttt{lastline}           & \texttt{labelstep}      & \texttt{stepnumber}\\
\texttt{stringspaces}   & \texttt{showstringspaces}   & \texttt{labelstyle}     & \texttt{numberstyle}\\
\texttt{visiblespaces}  & \texttt{showspaces}         & \cs{thelstlabel}        & \cs{thelstnumber}\\
\texttt{visibletabs}    & \texttt{showtabs}           & \texttt{labelsep}       & \texttt{numbersep}\\
\texttt{framerulewidth} & \texttt{framerule}          & \texttt{firstlabel}     & \texttt{firstnumber}\\
\texttt{framerulesep}   & \texttt{rulesep}            & \texttt{advancelabel}   & ---\\
\texttt{frametextsep}   & \texttt{framesep}           & \texttt{spread}         & ---\\
\texttt{framespread}    & superceded by               & \texttt{indent}         & \texttt{xleftmargin}$^3$\\
                        & \texttt{framexleftmargin}   &  ---                    & \texttt{xrightmargin}\\
                        & \texttt{framexrightmargin}  & \texttt{wholeline}      & \texttt{resetmargins}\\
                        & \texttt{framextopmargin}    & \texttt{defaultclass}   & \texttt{classoffset}\\
                        & \texttt{framexbottommargin} & \texttt{stringtest}     & ---\\
\texttt{framerulecolor} & \texttt{rulecolor}$^1$      & \texttt{outputpos}      & ---\\
 ---                    & \texttt{columns}$^2$
\end{tabular}

So this is not a bug but a new feature of listings.sty,
I believe, so I will close this bug.

But as I said in a former mail, the license problem
is critical for listings package.

It will be best if someone contacts the author to change
its license.  Please see #172483 which will remain open
untill listings becomes DFSG-free.

Thanks,			 2002/12/11

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Tokushima Univ.



Reply to: