Live data from Hacker News

I ported LaTeX to Javascript

manuels.github.com

1–10 of 73 posts

Re: I ported LaTeX to Javascript

#2
Promising. I am getting some error messages though.

    lstat(/bin) failed ...
    /bin
    :
     
    No such file or directory
    warning: kpathsea: configuration file texmf.cnf not found in these directories:

Re: I ported LaTeX to Javascript

#4
post #2

Promising. I am getting some error messages though. lstat(/bin) failed ... /bin : No such file or directory warning: kpathsea: configuration file texmf.cnf not found in these directories:

These errors are save to ignore. You have to wait some seconds until compiling has completed.

Note that the browser might prevent the website from opening the PDF (Pop-up blocking)

Re: I ported LaTeX to Javascript

#6
post #5
post #3

Fun demo, but I can't get the .pdf back right now!

Probably the browser blocks new windows from popping up (window.open() function)

If you want to get around this: When the PDF is ready, give the user something to click on (a button or dialog) and call the window.open() from the onClick callback.

Re: I ported LaTeX to Javascript

#7
post #4
post #2

Promising. I am getting some error messages though. lstat(/bin) failed ... /bin : No such file or directory warning: kpathsea: configuration file texmf.cnf not found in these directories:

These errors are save to ignore. You have to wait some seconds until compiling has completed. Note that the browser might prevent the website from opening the PDF (Pop-up blocking)

Aha okay. You might want to clean that up anyway. :)

Re: I ported LaTeX to Javascript

#10
This part of the document isn't rendered correctly in the resulting pdf:

    In printing, text is usually emphasized with an
       \emph{italic}  
    type style.
In my pdf it looks like the every other letter, starting with the first, is missing from the word italic. It looks like " t l c ". Maybe something is wrong with the fonts. I'm using the latest Chrome on OSX.
Post reply on HN