emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: DPI error when HTML publish latex block images [9.4.4 (release_


From: Ihor Radchenko
Subject: Re: Bug: DPI error when HTML publish latex block images [9.4.4 (release_9.4.4 @ /Applications/emacs/lisp/org/)]
Date: Sun, 16 Oct 2022 12:51:12 +0000

Daniel Guimaraes <dcguim@gmail.com> writes:

>   I am trying to export a latex tikzpicture, like the following to html:
> ```
> #+begin_src latex :exports results :results raw file :file ex.png 
> :output-dir ../img/
> \begin{tikzpicture}
> \draw node[circle, draw] (a) {$a$}
> node[circle, draw, right of = a] (b) {$b$}
> node[circle, draw, below of = a] (c) {$c$}
> node[circle, draw, below of = b] (d) {$d$};
> \end{tikzpicture}
> #+end_src
> ```
> If I export with `org-export-dispatch` to HTML file, I flawlessly obtain 
> the desired html. If I however, `org-html-publish-to-html` with:
>
> ```
> emacs -Q --script build-site.el
> ```
> Then I obtain the following error:
> ```
> Debugger entered--Lisp error: (error "Attempt to calculate the dpi of a 
> non-graphic disp...")

Thanks for reporting!
Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d972cfac89ccb9003a91636701625bb142f1b6cf

-- 
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]