Le 13/02/2021 à 12:38, Maximilian Wuttke a écrit :
On 13/02/2021 10:36, Pieter van Oostrum wrote:
It would be useful, and very easy to implement, to have a command that brings 
up the log file belonging to the current TeX file.

Do you mean something like this?

(defun TeX-find-master-log ()
   "Open the log file associated to the TeX project"
   (interactive)
   (find-file (concat (TeX-master-file) ".log")))

At least on my system, I only have a log file for the "master" file. The
above command opens this log file.



I have had this in my custom TeX-command-list for ages, works fine for me

     ("voir le log" "(lambda () (view-file (TeX-active-master \"log\" t)) 
(flyspell-mode-off))" TeX-run-function nil t :help "Ouvre le log en mode view-mode")

although TeX-command-list did not like a lot being customized
at least some time ago in the distant past and foggy memories

(every few decades I check if I need to incorporate into
TeX-command-list some nice upstream novelties)

not sure if the flyspell-mode-off is needed/useful,

and the log is opened in view-mode mode


Reply via email to