emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-latex preview on Windows
@ 2022-08-06 16:11 Jeremie Juste
  2022-10-16 10:49 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremie Juste @ 2022-08-06 16:11 UTC (permalink / raw)
  To: emacs-orgmode

Hello everyone,

I have had difficulties using  org-latex-preview to run properly on Windows.
The main issue seems to be that the user name on windows gets abbreviated
with ~. As far as I understand this generate problems as the temporary
folder cannot be found.

see for instance these posts

and an old post from Vincente Vera

Vincente, suggests altering the temporary environment variable
(setenv "TEMP" "C:\Temp"). I have tried this option and place it in my
.init file but the Temporary file in org-mode uses does not change. 

As a work around I modified the function org-compile-file in lisp/org/
by adding altering the source variable as such

 (let* ((source (replace-regexp-in-string "JEREMI~1" "JeremieJuste"

This is obviously not an ideal solution but I cannot find any other
solution immediately. Have someone else come across the same issue on
Windows? Do you have any suggestions?

Best regards,
Org mode version 9.5.4
GNU Emacs 28.1 

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.43.1659888009.25095.emacs-orgmode@gnu.org>]

end of thread, other threads:[~2022-10-16 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-06 16:11 org-latex preview on Windows Jeremie Juste
2022-10-16 10:49 ` Ihor Radchenko
     [not found] <mailman.43.1659888009.25095.emacs-orgmode@gnu.org>
2022-08-07 18:05 ` Ypo
2022-08-09 20:12   ` Jeremie Juste

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).