emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug report: org-preview-latex fails when using tramp


From: Ihor Radchenko
Subject: Re: Bug report: org-preview-latex fails when using tramp
Date: Thu, 06 Oct 2022 17:00:21 +0800

Timothy <tecosaur@gmail.com> writes:

> Confirmed.
>
> I just tried this by creating an Org file on a Debian server (I run OpenSUSE
> with TexLive 2021). From looking at the `*Org Preview LaTeX Output*' buffer, 
> it
> appears that the temp file is created on my local machine, and then the 
> process
> is called on the remote machine.
>
> ┌────
> │ This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) 
> (preloaded format=latex)
> │  restricted \write18 enabled.
> │ entering extended mode
> │ ! I can't find file `/tmp/orgtexToEnS4.tex'.
> └────
>
> Having a look at `org-create-formula-image', I suspect this is due to the
> `make-temp-name' call at
> <https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org.el#n16521>.
> Perhaps `tramp-make-tramp-temp-name' could be useful?

But will it be efficient? We will need to transfer images between the
remote host and the Emacs host.

Should we instead arrange the LaTeX call to be done on user side all the
time?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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