On Tue, 26 Feb 2013 at 04:50AM -0800, Nathan Carter wrote:
> The error is this:
> Runaway argument?
> \end {document}
> ! File ended while scanning use of \next.
> <inserted text>
>                 \par
> 
> 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?

The problem here is that the sageblock environment and others are using
verbatim mode. Verbatim stuff is somewhat fragile and does not work well
with being called from other macros or environments. Fixing this would
be very tricky.

Can you elaborate on what you want to do? There might be another way
that doesn't require putting verbatim environments inside \newcommand or
similar.


Dan

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

Attachment: signature.asc
Description: Digital signature

Reply via email to