On Wed, Jan 08, 2003 at 01:52:04PM +0200, Dekel Tsur wrote:
> >                     if [ "\\oddsidemargin", "\\evensidemargin", "\\marginparwidth",
> >                             "\\textwidth", "\\topmargin", 
>"\\textheight"].count(words[0]) != 0:
> >                             len = words[1] + words[2]
>                                 ^^^^
> If you assign a value to the builtin len function, bad things will happen...

As I said:
> > (My first shot at python!)

> However, it is probably better to use search&replace of regular expressions.

I doubt so. Or do you have a regexp that matches TeX lengths?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to