Skip to content

Cannot get MathJax-node to work in Windows #70

@sammarshallou

Description

@sammarshallou

I successfully got the npm install to work in Windows 7 (which was a nightmare and a half already), but the MathJax-node binaries don't work for me. Using mingw bash (also tested with windows command prompt just in case that helped, but it has the same result).

I run:

$ bin/tex2svg 'x_2'

The result is nothing - i.e. it pauses for about 1-2 seconds then exits and shows the $ prompt again, with no output.

Originally I was using node.js v0.10.something. I've since updated to the latest v0.12.0 (and did a rebuild and update) but with same result.

I tried adding console.log calls in various places in the script (bin/tex2svg). As a result I can confirm that it runs the script from start to finish, but does not run the callback that is supposed to happen when typesetting finishes.

I also have a Linux VM where I also installed MathJax-node the same way and this does work fine, returning SVG code.

Basically wondering if this is just my setup, or if it's known to not work in Windows for some reason. Our production servers are Linux but for development it is sometimes convenient if we can run stuff on Windows also.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions