I would like to run
force-compile (see Run TeX-command-run-all when there are no changes in .tex-file) on a region of my LaTeX document.
(defun force-compile () "Set the file modification times on the current file, then call TeX-command-sequence. This forces a complete recompilation of the document, even if the source (.tex) is older than any existing outputs (.pdf etc)." (interactive) (set-file-times (buffer-file-name)) ;; sets mod time to current time (TeX-command-sequence t t))
I was already able to bind force-compile to
C-c C-a which then compiles the file even when there are no changes in the file itself. Now I want to be able to do the same on a region of the file.
How can i use
force-compile on a region of the LaTeX-file?