0

I need to compile the latex to pdf on heroku node.js server. The problem is that we need to install texlive for exec command.

Daniil Yasnov
  • 31
  • 1
  • 9
  • 1
    I don't know these things, but if you know read a latex file, probably you may use `substr`, `indexOf`, `lastIndexOf` and `replace` to get values in file and do a new PDF from the latex. :S If the file is compiled, then you have to find something for JS that also can help to decompile it. –  Oct 19 '15 at 10:34
  • @ProHands I know how to install telive. But i dont know: is it possible to do it on heroku server? – Daniil Yasnov Oct 19 '15 at 10:43

1 Answers1

1

Since Heroku is running Debian/Ubuntu Linux, yes. You might be looking for a lean installation, see here.

Community
  • 1
  • 1
yacc
  • 2,915
  • 4
  • 19
  • 33
  • In Heroku you do not have an access to terminal. – Daniil Yasnov Oct 19 '15 at 13:35
  • But you can run a bash in the console. I didn't do it myself, but it all boils down to opening a shell, pushing the distro onto the server and running the installer. See also here: http://www.saintsjd.com/2014/05/12/run-vendored-binaries-on-heroku.html. – yacc Oct 19 '15 at 15:01