On Mon, 14 Jan 2008 at 05:05PM -0800, William Stein wrote:
> On Jan 14, 2008 5:00 PM, Dan Drake <[EMAIL PROTECTED]> wrote:
> > In a .sage script file, I have:
> >
> >   maple.eval('plotsetup(ps, plotoutput=`logplot.eps`, \
> >     plotoptions=`portrait,noborder,color`)')
> >   maple.eval('plot(log(2*x), x=1..2,filled=true,color=yellow, \
> >     view=[.75..2.25,0..1.5])')
> >
> > but the corresponding .py file has, for the second command,
> >
> >   maple.eval('plot(log(2*x), x=1..2,filled=true,color=yellow, \
> >     view=(ellipsis_range(.75,Ellipsis,2.25,0,Ellipsis,1.5)))')
> >
> > Maple obviously doesn't understand this. It seems the preparser is a
> > bit too eager; it needs to ignore stuff that will get passed to
> > Maple or whatever. Can this be fixed?
> 
> The problem is the multiple lines.  Try the same thing but without the
> \ at the end of the line and see what happens.

It works fine in that case...which I discovered (naturally) a minute or
two after sending the message.

Looks like the preparser is not aware of the
backslash-continues-the-line convention.

Dan

-- 
---  Dan Drake <[EMAIL PROTECTED]>
-----  KAIST Department of Mathematical Sciences
-------  http://math.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to