jsinglet / latex-preview-pane

Makes LaTeX editing less painful by providing a updatable preview pane
130 stars 24 forks source link

latex-preview-pane do not work with luatex #17

Closed xarthurx closed 9 years ago

xarthurx commented 9 years ago

I'm using luatex which also support fontspec and can generate pdf without any problem. However, when using latex-preview-pane to preview, it gives:

Most Recent Backtrace:

Transcript written on draft.log. ! ==> Fatal error occurred, no output PDF file produced!

l.41 }

!...............................................
! Emergency stop. ?

l.41 }

!...............................................
! For immediate help type H . ! ! See the fontspec documentation for further information. ! ! instead of plain "latex" or "pdflatex". ! You must change your typesetting engine to, e.g., "xelatex" or "lualatex" ! ! The fontspec package requires either XeTeX or LuaTeX to function. ! ! Fatal fontspec error: "cannot-use-pdftex" ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

When looking into the log file, it seems latex-preview-pane use pdftex instead since it cannot fine xetex.

Is it possible to add support to luatex? Thanks.

jsinglet commented 9 years ago

Hi maniux,

Yes. Please see the following issue for instructions on how to do it.

https://github.com/jsinglet/latex-preview-pane/issues/1

Note you just need to look at the settings; don't add the other repo, as MELPA is the now authoritative source for LPP.

Best, JLS