On Wed, 26 Oct 2011 at 02:03AM -0700, javier wrote: > Basically what I want is to add "syntax highlight" to the code > listing. I thought that worked out of the box with sagecommandline but > now I realize it is only the sage prompt that gets colorized, so I > will probably make my own environment based on minted for code > listing.
In that case, take a look at the lstlistings stuff in SageTeX for the sagecommandline environment. There's some nice stuff there based on the Python syntax highlighting. (Or just use the "listings" package and set the syntax to Python.) Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature