Hi Friedrich,
I wanted to solve the same problem, and I haven't noticed anyone reply
to your message yet, so here's the solution I'm using. It is pretty
easy to just define a simple language in the preamble of your latex
document:
\lstdefinelanguage{Maxima}{
keywords={addrow,addcol,zeromatrix,ident,augcoefmatrix,ratsubst,diff,ev,tex,%
with_stdout,nouns,express,depends,load,submatrix,div,grad,curl,%
rootscontract,solve,part,assume,sqrt,integrate,abs,inf,exp},
sensitive=true,
comment=[n][\itshape]{/*}{*/}
}
This italicizes comments and boldfaces keywords. You might need to add
keywords to the list, it is by no means comprehensive.
I posted a screenshot of the resulting listings here:
http://j-stults.blogspot.com/2009/04/maxima-latex-listings.html
Hope this comes in time to help you out.
Cheers,
Josh
On Mon, Mar 2, 2009 at 3:38 PM, Friedrich Hattendorf
<friedrich at hattendoerfer.de> wrote:
> Hallo,
> ?the LaTeX-package is to get well-formattet linstings of
> different origns into ? LaTeX-Documents.
>
> see also:
> http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf
>
> Does someone know similar for maxima/wxmaxima?
>
>
> mit freundlichen Gr??en
> Friedrich Hattendorf
>
> ---
> Lernen ist wie das Rudern gegen den Strom;
> sobald man aufh?rt, treibt man zur?ck
> Benjamin Britten
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
--
Joshua Stults
Website: http://j-stults.blogspot.com