help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Detect latexmk is running on currently buffer.


From: Emanuel Berg
Subject: Re: Detect latexmk is running on currently buffer.
Date: Tue, 12 Oct 2021 11:32:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hongyi Zhao wrote:

> Though the above method works, I meet a problem when the
> project LaTeX files are large to some extent. To be more
> specific, when the project is large to a certain extent, the
> compilation time of latexmk will be relatively long, which
> may lead to the following race condition: When the previous
> latexmk process has not ended, the subsequent latexmk
> process is launched again.
>
> Any hints for fixing this problem?

I use the "LaTeX mode defined in ‘tex-mode.el’" and there is
an important difference compared to yours, which is in line
with our respective styles, ha.

Anyway with LaTeX have a Makefile and just hammer it ... to
avoid getting institutionalized, don't ONLY do that, do
something else, light work (shell programming, even reading)
on the side, literally, and if/when you forget about LaTeX, do
force yourself to be reminded :)

I've seen calm guys punch into fences and stuff because that
constant recompilation can become a form of
self-torture, almost, soo frustrating. ha

Makefile example:
  https://dataswamp.org/~incal/borta/Makefile

Some helpers:
  https://dataswamp.org/~incal/emacs-init/latex.el

Bibtex:
  https://dataswamp.org/~incal/emacs-init/bibtex-incal.el
  https://dataswamp.org/~incal/emacs-init/bibtex/bibtex-next-volume.el

Very creative TeX, some would say :)
  https://dataswamp.org/~incal/borta/borta.pdf
  https://dataswamp.org/~incal/borta/
  https://dataswamp.org/~incal/hs-linux/docs/report/report.pdf
  https://dataswamp.org/~incal/hs-linux/docs/report/

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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