Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2024-04-19 Thread Корякин Артём
Max Nikulin writes: > On 19/04/2024 00:58, Корякин Артём wrote: >>> shell-file-name >> ; "pwsh.exe" >>> system-type >> ; windows-nt >>> (w32-shell-dos-semantics) >> ; nil > > I have no idea what style of escaping is

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2024-04-18 Thread Корякин Артём
Max Nikulin writes: > Please, evaluate the following expressions e.g. in the scratch buffer: > > shell-file-name ; "pwsh.exe" > system-type ; windows-nt > (w32-shell-dos-semantics) ; nil > (w32-shell-name) ; "pwsh.exe" For clarification: I specifically configured[1] MS pwsh as

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2024-04-18 Thread Корякин Артём
Karthik Chikmagalur writes: > As a temporary measure, could you try replacing calls to > shell-quote-argument with identity in the following two functions? > > org-latex-preview--tex-compile-async > org-latex-preview--image-extract-async I did[1] exactly this. It works, but only if I eval it

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2024-04-18 Thread Корякин Артём
I've got problem when I use this version of org-latex preview: RUNNING: dvisvgm --page=1- --optimize --clipjoin --relative --no-fonts --bbox=preview -o c\:/Users/artsi0m/AppData/Local/Temp/org-tex-DAJVTr-%9p.svg c\:/Users/artsi0m/AppData/Local/Temp/org-tex-DAJVTr.dvi ERROR: can't open file