Hi Ihor,

Sorry for the late reply, I didn't have access to the Windows machine up until 
now. I set `(setq org-latex-pdf-process '("tectonic  --outdir=%o  %f"))` then :

On Sun, Feb 15, 2026, at 4:35 PM, Ihor Radchenko wrote:
> Can you please
> M-x trace-function org-latex-compile <RET>
This function did not exist on my Emacs, but tracing was enabled for everything 
below
> M-x trace-function org-compile-file <RET>
> M-x trace-function org-compile-file-commands <RET>
> M-x trace-function shell-command <RET>
> then run the export with problematic file and report *Trace*
> buffer contents.
Trace :

======================================================================
1 -> (org-compile-file "20260127T171225--résultats-article__todo.tex" 
("tectonic  --outdir=%o  %f") "pdf" "See \"*Org PDF LaTeX Output*\" for 
details" #<buffer *Org PDF LaTeX Output*> ((66 . "\"bibtex\"") (76 . 
"\"pdflatex\"")))
| 2 -> (org-compile-file-commands 
"20260127T171225--résultats-article__todo.tex" ("tectonic  --outdir=%o  %f") 
"pdf" ((66 . "\"bibtex\"") (76 . "\"pdflatex\"")) "See \"*Org PDF LaTeX 
Output*\" for details")
| 2 <- org-compile-file-commands: ("tectonic  --outdir=\"./\"  
\"20260127T171225--résultats-article__todo.tex\"")
| 2 -> (shell-command "tectonic  --outdir=\"./\"  
\"20260127T171225--résultats-article__todo.tex\"" #<buffer *Org PDF LaTeX 
Output*>)
| 2 <- shell-command: 1
1 <- org-compile-file: !non-local\ exit!

Org PDF Latex Output
note: Running TeX ...
error: primary input not available (?!)
error: failed to open input file 
"20260127T171225--résultats-article__disomies_todo.tex"

Also, my emacs config tries to force utf-8:

(when (eq system-type 'windows-nt)
  (setopt current-language-environment "French")
  (prefer-coding-system 'utf-8)
)

Thanks,

Alexis

Reply via email to