auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command to open logfile


From: Pieter van Oostrum
Subject: Re: Command to open logfile
Date: Sun, 14 Feb 2021 20:26:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (darwin)

Siegfried <siegfried42@posteo.net> writes:

> 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.
>
Yes. I find this so useful, that I wondered if I had missed something.
-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]