Package: tetex-extra Version: 2.0.2c-8 Severity: normal Tags: patch Hi, the Ocaml definition in lstlang2.sty is broken.
a simple patch is to comment two lines as follows: [EMAIL PROTECTED] {morekeywords={and,as,begin,do,done,downto,else,end,exception,for,% fun,function,if,in,let,match,mutable,not,of,or,prefix,rec,then,% to,try,type,value,where,while,with},% sensitive,% morecomment=[n]{(*}{*)},% morestring=[b]"% % moredelim=*[directive]\#,% <--------- (1) % moredirectives={open,close,include}% <---------- (2) }[keywords,comments,strings,directives]% otherwise I get two different errors: (1) ! Package Listings Error: Illegal type `directive' or (2) ! Package keyval Error: moredirectives undefined. this small example will do: \documentclass{report} \usepackage{listings} \begin{document} \lstset{language=[Objective]Caml} \end{document} :) pietro -- 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) ################################## minimal input file ################################## other files ###################################### List of ls-R files -rw-r--r-- 1 root root 79 May 19 14:15 /usr/local/share/texmf/ls-R -rw-rw-r-- 1 root staff 91 May 19 14:15 /usr/local/lib/texmf/ls-R -rw-rw-r-- 1 root users 834 Aug 1 06:25 /var/lib/texmf/ls-R lrwxrwxrwx 1 root root 29 May 19 14:14 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-686-smp Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages tetex-extra depends on: ii dpkg 1.13.10 Package maintenance system for Deb ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre ii tetex-base 2.0.2c-8 Basic library files of teTeX ii tetex-bin 2.0.2-30 The teTeX binary files ii ucf 2.000 Update Configuration File: preserv tetex-extra recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]