Frank Küster wrote:
"Eugene V. Lyubimkin" <[EMAIL PROTECTED]> wrote:

Package: texlive-latex-base
Version: 2007-13
Severity: normal

The command

        \begin{lstlisting}[language=Assembler]

or the command

        \begin{lstlisting}[language=Basic]

produce an error:

        ! Package Listings Error: Couldn't load requested language.

You have to do it right, it seems you can't use languages with dialects
without specifiying one, even if there is only one:

\documentclass{article}
\usepackage{listings}


\begin{document}
foo

\begin{lstlisting}[language={[x86masm]Assembler}]
 A
\end{lstlisting}

or the command

\begin{lstlisting}[language={[Visual]Basic}]
A
\end{lstlisting}
bar

\end{document}

However, it seems to me this could be clearer in the documentation. I
didn't read it like someone interested in the package, only like someone
interested in the bug - do you have a suggestion where this should be
explained?
Regards, Frank
Thanks, it works.

I didn't read official documentation. I've just mentioned that 'language=C++' works, but 'language=Basic' does not, so thought that it is a bug. I think this can be explained at section that tells about 'listings' package, it would be logical.

--
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to