[XeTeX] DVIasm

Khaled Hosny khaledhosny at eglug.org
Sun Feb 7 11:00:33 CET 2016


On Sun, Feb 07, 2016 at 09:48:06AM +0000, Philip Taylor wrote:
> I downloaded the most recent version available from Github yesterday,
> installed the most recent Python available for Windows, but 'dviasm'
> nonetheless reports :
> 
> > $ dviasm hyperlinks.xdv
> >   File "D:\(elided)\Oral history\TeX\Source\dviasm.py", line 73
> >     raise AttributeError, 'Bad DVI file: %s!' % msg
> >                         ^
> > SyntaxError: invalid syntax
> > 
> > $

Looks like you are using Python 3.x, but this code was written against
Python 2.x, so you will need to use that.

Regards,
Khaled


More information about the XeTeX mailing list