[英]Customizing Literate Haskell + LaTeX mode
I'm having a hard time forcing literate-haskell-mode to produce PDFlatex output by default. 我很难强迫默认情况下,以扫盲模式产生PDFlatex输出。 When I use
Cc Ct Cf
it just parses the lhs file with latex binary producing dvi. 当我使用
Cc Ct Cf
它只是将lhs文件与生成dvi的乳胶二进制文件进行解析。 I know I can always use the shell to manually run pdflatex whatever.lhs
, but that's not the emacs way. 我知道我总是可以使用shell手动运行
pdflatex whatever.lhs
,但这不是emacs的方式。 There must be a way of customizing the default Cc Ct Cf
behavior, but I've been googling and searching, and I still haven't found what I'm looking for. 必须有一种自定义默认
Cc Ct Cf
行为的方法,但是我一直在使用Google搜索和搜索功能,但仍然没有找到所需的内容。
Anyone? 任何人?
Cheers; 干杯; Piotr
彼得·
I guess this uses LaTeX-mode in the backend so probably something like this should help: 我猜想这在后端使用LaTeX模式,所以大概这样应该有所帮助:
(setq TeX-PDF-mode t)
This tell LaTeX-mode to use pdflatex by default. 这告诉LaTeX模式默认情况下使用pdflatex。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.