From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sJ5jOeIATGMUJQEAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 15:02:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wGZkOOIATGMjegEAG6o9tA (envelope-from ) for ; Sun, 16 Oct 2022 15:02:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6767FD238 for ; Sun, 16 Oct 2022 15:02:25 +0200 (CEST) Received: from localhost ([::1]:36112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok3Hc-0000Y7-8o for larch@yhetil.org; Sun, 16 Oct 2022 09:02:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok369-0007Zx-HB for emacs-orgmode@gnu.org; Sun, 16 Oct 2022 08:50:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok366-0003nf-J9 for emacs-orgmode@gnu.org; Sun, 16 Oct 2022 08:50:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BBA3F240029 for ; Sun, 16 Oct 2022 14:50:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665924627; bh=7969AMf1WLxPg7LTDYRb2k2zrBF7xoXEyBwc7F4gw+k=; h=From:To:Cc:Subject:Date:From; b=b5TrbAaR1lgVGH43Ooe8vPRpdCRNy6zjkqaXqGmvr1zGDfjT5xRon7HvLUKdyVIbe ACy53l0PWYh/nLVBmurR3Os/+fDxV0laQimb9bH4m4a1cmaMAqbLROcAnup7A+XOrY zk+j96ypUKxoRePSGhIbMkspue5Hpi9+tgjXlKJYPMICga4bbeWtG3wtVlY/ra8DOm VRNZgqodhYiWNdQkgLK8BmHxN1+bAclRvjDAbP7kv+52m4P0CaVbGfNNLopRakaWX1 tP2tOsDLXeIJG9p6uMDpujApZYki5dRZczdauOGT/uKRWx008Gqg47h705f4LOZxFt IIJxqfv3bs92Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mr0N0674pz6tsF; Sun, 16 Oct 2022 14:50:24 +0200 (CEST) From: Ihor Radchenko To: Daniel Guimaraes Cc: emacs-orgmode@gnu.org Subject: Re: Bug: DPI error when HTML publish latex block images [9.4.4 (release_9.4.4 @ /Applications/emacs/lisp/org/)] In-Reply-To: References: Date: Sun, 16 Oct 2022 12:51:12 +0000 Message-ID: <878rlg0w5b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665925345; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GLGpK66s7l2sTR1coNoL7RFzltzglurqKY7Oca7BIck=; b=i8CzC9b/cv3ClDs0QAVA7hZbxJi20kmCk5FwDIfbBCEcSFiedNW4l/3yyFnI2nje8qde05 QFvc4UfhVr7REZsHdOjd9zq1UsqCiR0UT8lFA4n67sMq9l+CdikNWms3AHYWB32Kr8bqqV jd5FzA+jCU+tTdBDWkNGDnzUxYXY2oAtDGzwkpyrYalKQ9uDbUl/O/Fj8lYuQ9vOCNxbxQ G8x4p04Z3nPfGK01C9xD8x27Ybm2tVv9wT+PNAe19ndrbKl+yJhyNFBD0Tb4MjKe8hmpnt eEK/qFkiWqiBG2uYHBKQoJX6s7rsD8ono5aG6iwKQJ9zY2hCJDmkyB/0N1lJEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665925345; a=rsa-sha256; cv=none; b=kLYyqvn/PBF1WPsYlDGv0Qz1srJrNVtTrc38e0WM30kkFqXCAEsARWwmCaPKcE3FGANwQW fsv7es56C43Lay58GP579qrtGHYTX5m0gVqY738myJL3M8I2FUiBuutxlR+QXTQXxBnjfS xnURqU56Fq7lp2wlcYyyPtVUoEN4Vx9BuLszHxQ87e3a0BphF12wkHVfLqSQ0k1C6zSkc6 b0hHQmMgoaltyk7NV+aAmI1UDlZhpGkuwAD6d2IfFRPzWe59brXbSrSmVpz6uR6RrY6yhP /4Uqgh8OFdPaY4SYVk5LEfpaLQUuqC/I+p3nj+rt33KStSTB14kLT8CEXwP63Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=b5TrbAaR; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=b5TrbAaR; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6767FD238 X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2iF9l61CigyC Daniel Guimaraes writes: > =C2=A0I am trying to export a latex tikzpicture, like the following to h= tml: > ``` > #+begin_src latex :exports results :results raw file :file ex.png=20 > :output-dir ../img/ > \begin{tikzpicture} > \draw node[circle, draw] (a) {$a$} > node[circle, draw, right of =3D a] (b) {$b$} > node[circle, draw, below of =3D a] (c) {$c$} > node[circle, draw, below of =3D b] (d) {$d$}; > \end{tikzpicture} > #+end_src > ``` > If I export with `org-export-dispatch` to HTML file, I flawlessly obtain= =20 > 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=20 > non-graphic disp...") Thanks for reporting! Fixed on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Dd972cfac8= 9ccb9003a91636701625bb142f1b6cf --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at