On Tue, 26 Feb 2013 at 04:50AM -0800, Nathan Carter wrote:
> The same error occurs if I use \newcommand instead of \def.  Any tips on 
> how I can get past the fact that I can't make commands that use
> SageTeX? 

There's nothing special about SageTeX here; the problem is that you have
an environment inside a macro. The reason this is bad relates to obscure
stuff about the way TeX expands things:

http://tex.stackexchange.com/questions/8373/why-does-latex-make-a-distinction-between-commands-and-environments

I think I can work around that, but I'm not sure.

Dan

--
---  Dan Drake
-----  http://math.pugetsound.edu/~ddrake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to