I have been attempting to disable a prompt by auctex when pressing C-c C-c to view the document for close to the entire day. As I am a noob to emacs, I attempted to simply modify the auctex configuration used here. can anyone give me advice what is causing the view prompt?
In essence, I want to compile the file without any request to view the results.
my block is as such so far:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; latex
; based on:
; https://nasseralkmim.github.io/notes/2016/08/21/my-latex-environment/
(use-package tex-site
:ensure auctex
:mode ("\\.tex\\'" . LaTeX-mode)
:config
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(add-hook 'LaTeX-mode-hook
(lambda ()
(setq TeX-PDF-mode FALSE)
(rainbow-delimiters-mode)
(company-mode)
(smartparens-mode)
(turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
(reftex-isearch-minor-mode)
(setq TeX-source-correlate-method 'synctex)
(setq TeX-source-correlate-start-server t)))
)
;; reftex
(use-package reftex
:ensure t
:defer t
:config
(setq reftex-cite-prompt-optional-args t)); Prompt for empty optional arguments in cite
To clarify what I have attempted, I attempted to apply all answers related to "How to disable doc-view in AUCTex". I have also attempted to modify each line of the block individually, but I cannot determine what is causing the view prompt.
p.s., I may have applied the answer described here wrong. After the hook, I had (TeX-command-Show LaTeX)
. is this wrong?