9

I recently started using Emacs/Auctex on windows 10. I am trying to compile a latex document using the command C-c C-c and it does not compile and instead just reports "TeX-master-file-ask: Master file already set" in the mini buffer. Even it says same thing for C-c C-a or just choosing from GUI Command/ Latex. How can I fix this?

If I delete this end part,

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

and press C-c C-c then it asks for master and then compiles.

Below are the modifications to the init file I have made,

(setq-default ispell-program-name "C:/Aspell/bin/aspell.exe")

(setq text-mode-hook '(lambda() (flyspell-mode t) ))

(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(setq TeX-PDF-mode t)

;; Turn on RefTeX in AUCTeX

(add-hook 'LaTeX-mode-hook' turn-on-reftex)

;; Activate nice interface between RefTeX and AUCTeX

(setq reftex-plug-into-AUCTeX t)

Thanks for your help.

3
  • 4
    I'm voting to close this question as off-topic because it is due to an outdated installation Commented May 25, 2016 at 7:05
  • 6
    I don't get it. Outdated installation? I see no version number or anything. In fact, I have the same problem after updating my Tex Live installation. Commented Mar 4, 2018 at 19:53
  • 3
    Agreed. Same here!
    – Daniel
    Commented Sep 1, 2018 at 1:33

1 Answer 1

1

I did a uninstall, followed by restart and install again from scratch. It works now. I can compile again without issues.

0

Not the answer you're looking for? Browse other questions tagged .