tom-tan / auctex-latexmk

This library adds LatexMk support to AUCTeX.
93 stars 24 forks source link

No inherit settings of TeX-PDF-from-DVI #36

Open shenhai-ran opened 5 years ago

shenhai-ran commented 5 years ago

When I want to compile through the chain of "LaTeX dvips ps2pdf", I set the variable TeX-PDF-from-DVI to "Dvips". It works fine if I run C-c C-c with LaTeX command and follow the suggestion afterwards.

However LaTeXMK command can not recognize this settings and still use pdfLaTeX. I personally make a new command using latexmk with -pdfps option. How can I make the LaTeXMK command inherit Dvips settings without running my own command?

Thansk

tom-tan commented 5 years ago

Currently LaTeXMk does not use TeX-PDF-from-DVI. Please configure your .latexmkrc to use dvips and ps2pdf.