Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-31 Thread Christian Moe
chris writes: >> [ ... snip ... ] >> Solution: >> >> Redefine org-babel-latex-preamble to remove >> the offending line. >> >> (setq org-babel-latex-preamble >> '(lambda (_) >> "\\documentclass[preview]{standalone}")) >> >> With this setup, my example >> >> #+header: :fit yes :heade

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-30 Thread chris
On Thursday, 30 March 2023 13:15:34 CEST Christian Moe wrote: > > chris writes: > > > On Wednesday, 29 March 2023 23:15:03 CEST Christian Moe wrote: > >> > >> Hi, > >> > >> Pardon the noise: It turned out to be a pretty obvious problem with my > >> setup that has now been resolved. > >> > >> I ha

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-30 Thread Christian Moe
chris writes: > On Wednesday, 29 March 2023 23:15:03 CEST Christian Moe wrote: >> >> Hi, >> >> Pardon the noise: It turned out to be a pretty obvious problem with my >> setup that has now been resolved. >> >> I had modified org-latex-pdf-process to use xelatex, and for some reason >> my setup la

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread chris
On Wednesday, 29 March 2023 23:15:03 CEST Christian Moe wrote: > > Hi, > > Pardon the noise: It turned out to be a pretty obvious problem with my > setup that has now been resolved. > > I had modified org-latex-pdf-process to use xelatex, and for some reason > my setup lacked the =-output-direct

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread Christian Moe
Hi, Pardon the noise: It turned out to be a pretty obvious problem with my setup that has now been resolved. I had modified org-latex-pdf-process to use xelatex, and for some reason my setup lacked the =-output-directory %o= switch. I should probably have thought of that first, but the omission

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread chris
On Wednesday, 29 March 2023 10:00:35 CEST Pedro Andres Aranda Gutierrez wrote: > On Tue, 28 Mar 2023 10:04:24 +0200, Christian Moe > wrote > Hi, > > > I'm trying and failing to export images from TikZ code, apparently > > because the temporary PDF is misplaced. Here is a minimal example just > >

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-29 Thread Pedro Andres Aranda Gutierrez
On Tue, 28 Mar 2023 10:04:24 +0200, Christian Moe wrote Hi, > I'm trying and failing to export images from TikZ code, apparently > because the temporary PDF is misplaced. Here is a minimal example just > exporting the PDF: > #+LATEX_HEADER: \usepackage{tikz} > > #+header: :fit yes > #+begin_src

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-28 Thread Ihor Radchenko
Christian Moe writes: > I'm trying and failing to export images from TikZ code, apparently > because the temporary PDF is misplaced. Here is a minimal example just > exporting the PDF: > > #+LATEX_HEADER: \usepackage{tikz} > > #+header: :fit yes > #+begin_src latex :exports results :file ./

File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-28 Thread Christian Moe
Hi, I'm trying and failing to export images from TikZ code, apparently because the temporary PDF is misplaced. Here is a minimal example just exporting the PDF: #+LATEX_HEADER: \usepackage{tikz} #+header: :fit yes #+begin_src latex :exports results :file ./test-tikz-triangle.png \begin