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

Bug#499422: listings package: Lisp is not case-sensitive



Package: texlive-latex-recommended
Version: 2007.dfsg.1-3
Severity: minor
Tags: patch

Hello.

Ths listings package comes with definitions of languages so it
can highlight them. The definition for Lisp is on this file:

/usr/share/texmf-texlive/tex/latex/listings/lstlang2.sty

However, it defines Lisp (actually Common Lisp) as case sensitive
(which it is not).

For example, "DEFUN" is not treated as a keywork, but "defun" is.

This is particularly annoying if I paste output of macroexpand
onto a latex file (it's usually uppercase).

Line 520 of lstlang2.sty should be changed from

   sensitive=,% ???

to

   sensitive=false,

then listings will highlight DEFUN, DEFMACRO, WHILE when they're
in uppercase.

I would have included a proper patch, but the source package is too
large, and I'm on a slow connection.

Thanks,
J.


-- Package-specific info:
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)

##################################
minimal input file


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

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

-rw-r--r-- 1 root root 896 2008-09-11 06:30 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 79 2008-09-11 06:30 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 2008-08-05 22:01 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 2008-07-24 08:22 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 2008-07-24 08:22 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 2008-08-05 22:01 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 4373 2008-08-05 22:02 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 8088 2008-08-05 22:02 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 4302 2008-08-05 22:02 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 2007-11-23 14:52 mktex.cnf
######################################
 md5sums of texmf.d
42c20d7e8bd343542772b5a145bf8ad8  /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1  /etc/texmf/texmf.d/15Plain.cnf
f68e5add6afd6585b982f2f78e2e6a92  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5  /etc/texmf/texmf.d/95NonPath.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

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

Versions of packages texlive-latex-recommended recommends:
ii  latex-beamer     3.07-1.1                LaTeX class to produce presentatio
ii  latex-xcolor     2.11-1                  Easy driver-independent TeX class 
ii  prosper          1.00.4+cvs.2007.05.01-4 LaTeX class for writing transparen
ii  texlive-latex-re 2007.dfsg.1-3           TeX Live: Documentation files for 

texlive-latex-recommended suggests no packages.

Versions of packages tex-common depends on:
ii  debconf                       1.5.23     Debian configuration management sy
ii  ucf                           3.0010     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)
ii  tex-common                    1.11.2     common infrastructure for building

-- debconf information excluded



Reply to: