[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detect latexmk is running on currently buffer.
From: |
Hongyi Zhao |
Subject: |
Re: Detect latexmk is running on currently buffer. |
Date: |
Tue, 12 Oct 2021 20:08:28 +0800 |
On Tue, Oct 12, 2021 at 5:53 PM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> 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/
OMG, wonderful man with wonderful ideas and ELISP treasures!
HZ