alabid / flylatex

FlyLatex: A Realtime Collaborative Environment (with a concurrent editor) in node-js.
766 stars 85 forks source link

PDF-Preview not working #16

Closed FSMaxB closed 11 years ago

FSMaxB commented 11 years ago

I installed flylatex commit 3321e45d2010ec9d5f0a99ee606a73f4801a9810 on my ubuntu server 12.04 using nodejs v0.10.5 via nvm and wasn't able to see any working PDF-preview on my ubuntu 13.04 system using firefox, midori and chromium as well as on my archlinux system.

HTML code: http://pastebin.com/x3SF0YQx

flylatex

framatophe commented 11 years ago

Flylatex was just installed on our server and it seems that we have the same bug. when reading the PDF's which were compiled (on the server), they look fine. But the display at frontend is not working. seems to be a problem with special characters like « or » ? and UTF8 encoding? something else?

alabid commented 11 years ago

I just tried rendering a latex document on ubuntu 12.04 and it works. I think the problem is that the scrartcl isn't in the pdflatex path. Try this:

   \documentclass{article}

   \begin{document}
     Hello world.
   \end{document}

It should work. Currently, flylatex doesn't support using additional packages. I'm working on this right now. The next version of flylatex will support additional packages. Stay tuned. As a side note, if documents aren't displayed when you expect them to, you can view logs by clicking on the "View Logs" button. That should give you a clue of what's going on.

FSMaxB commented 11 years ago

Didn't know that additional packages aren't supported. Thanks.

Am 10.05.2013 22:12, schrieb Daniel:

I just tried rendering a latex document on ubuntu 12.04 and it works. I think the problem is that the |scrartcl| isn't in the pdflatex path. Try this:

| \documentclass{article}

\begin{document}
  Hello world.
\end{document}

It should work. Currently, flylatex doesn't support using additional packages. I'm working on this right now. The next version of flylatex will support additional packages. Stay tuned. As a side note, if documents aren't displayed when you expect them to, you can view logs by clicking on the "View Logs" button. That should give you a clue of what's going on.

— Reply to this email directly or view it on GitHub https://github.com/alabid/flylatex/issues/16#issuecomment-17741942.