Customizing Literate Haskell + LaTeX mode
I'm having a hard time forcing literate-haskell-mode to produce PDFla开发者_如何学运维tex output by default. When I use C-c C-t C-f
it just parses the lhs file with latex binary producing dvi. I know I can always use the shell to manually run pdflatex whatever.lhs
, but that's not the emacs way. There must be a way of customizing the default C-c C-t C-f
behavior, but I've been googling and searching, and I still haven't found what I'm looking for.
Anyone?
Cheers; Piotr
I guess this uses LaTeX-mode in the backend so probably something like this should help:
(setq TeX-PDF-mode t)
This tell LaTeX-mode to use pdflatex by default.
精彩评论