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

Bug#475746: listings: 'Assembler' and 'Basic' languages don't work



"Eugene V. Lyubimkin" <jackyf.devel@gmail.com> 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
-- 
Frank Küster
Debian Developer (teTeX/TeXLive)



Reply to: