[l2h] plastex

Murray Eisenberg murray at math.umass.edu
Mon Nov 13 22:54:12 CET 2006

No, I did NOT type the lines doubly quoted below that begin with 
"$./plastex"; those lines are from the script plastex, as I said.  What 
I had done was to try the command:  python plastex

I did not realize that I have to use the instructions in the file 
INSTALL (which doesn't even have an extension of txt to suggest reading 
it!).  Anyway, now I read it.  So first I downloaded and installed the 
requisite Python Imaging Library.  As I already have ghostscript 
installed, I didn't try to use either dvi2bitmap or dvipng.

Following the instructions in INSTALL, I then tried command:

   python setup.py install

I get a pop-up window from the 16 bit MS-DOS Subsystem saying:

   Command Prompt - python setup.py install
   The NTVDM CPU has encountered an illegal instruction.
   CS:0660 IP:01a9 OP:65 63 69 66 79
   Choose 'Close" to terminate the application.python

I'm using ActiveState's ActivePython 2.4.3, and I have in my path: 
d:\language\activestate\python\.   [including the period]

What now??

Igor Peshansky wrote:
> Top-posting reformatted.
> On Fri, 10 Nov 2006, Murray Eisenberg wrote:
>> Igor Peshansky wrote:
>>> On Sat, 4 Nov 2006, Murray Eisenberg wrote:
>>>> Fred L. Drake, Jr. wrote:
>>>>> On Monday 30 October 2006 14:20, Erling D. Andersen wrote:
>>>>>  > Some users of latex2html may find the following alternative to
>>>>>  > latex2html interesting. See
>>>>> Interesting; I wasn't aware of this project.  It's nice to see the structure
>>>>> of the pages in the example document be so similar to what I've been using
>>>>> for the Python documentation.
>>>>> This project definately warrants further investigation.
>>>> Does anybody have information about how to get plastex to run under
>>>> Windows -- or even under cygwin?
>>> You mean, beyond installing Cygwin python and following the
>>> instructions in the INSTALL file?  What exactly doesn't work for you?
>>> 	Igor
>> plasTeX doesn't work for me in cygwin.
>> I have what appears to be the latest Python available for cygwin,
>> namely: Python 2.4.3 (#1, May 18 2006, 07:40:45)
>> I get the following error when I try to run plastex (from the directory
>> cygdrive/d/WP/TeXutils/plastex-0.6.2/plasTeX):
>> $./plastex
>> Traceback (most recent call last):
>> File "./plastex", line 4, in ?
>> import plasTeX
>> ImportError: No moudle named plasTeX
> I imagine you typed the above in instead of pasting it...  However, that's
> not what you should have run according to the INSTALL file, anyway.
>> The release notes for plasTeX say it "now works" with Python 2.5. Does
>> this mean it does NOT work with Python 2.4.3, and that's the error? Or
>> something else?
> Something else.  Once I followed the directions in the INSTALL file, I was
> able to run plasTeX to completion with no "missing module" errors using
> Python 2.4.3 under Cygwin.  I cannot vouch for the quality of the HTML
> produced, however, nor for the sophistication of the LaTeX code accepted.
> 	Igor

Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

More information about the latex2html mailing list