From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oAILAvyw9mG68QAAgWs5BA (envelope-from ) for ; Sun, 30 Jan 2022 16:38:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OOfsOfuw9mEw7AAAauVa8A (envelope-from ) for ; Sun, 30 Jan 2022 16:38:35 +0100 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 C65B4227C4 for ; Sun, 30 Jan 2022 16:38:35 +0100 (CET) Received: from localhost ([::1]:37346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nECHj-0001P0-1n for larch@yhetil.org; Sun, 30 Jan 2022 10:38:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nECHF-0001Nr-IF for emacs-orgmode@gnu.org; Sun, 30 Jan 2022 10:38:05 -0500 Received: from [2607:f8b0:4864:20::635] (port=39473 helo=mail-pl1-x635.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nECHE-0004al-2O for emacs-orgmode@gnu.org; Sun, 30 Jan 2022 10:38:05 -0500 Received: by mail-pl1-x635.google.com with SMTP id x11so10370685plg.6 for ; Sun, 30 Jan 2022 07:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=EK+n8y+Xch7A0PSTDPWFv8D3RiOz7VR9GNPH1UKEiNE=; b=GajZLKWHENq2pjY3Yh4Ee3rR9tzdfcv5CaKWLkhIXPAmR09/ckke1Xm7KNZl5tipa0 5tlFoFJ/NhWE0coWC/Hnt/D8F7YkpCxLqOmkp5Dyx9SsnENMpnrFlu9VFUTwGxFwthTo 3BCn1hUrQo12I1fJxrn/+SzMQXEvbFaVV6Tfw7Dytql1uOJEdnkZyUsVQ6PWKJIPFS7o LnJ5N9rdwSagWHtkjPepZhgJ9IfFLZG45gojjWZK9U/P1O6uRbRhcDlTovlklWFWW7NF qTHin81dj2QATOVgmFxdVZQgNi5zpxTtcdIYEA/KVNEINVL5dl9Iv74UlnPYX/2c/zRt CnJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=EK+n8y+Xch7A0PSTDPWFv8D3RiOz7VR9GNPH1UKEiNE=; b=PmdYOoqAE6XyKz4uhKR8JiUHmoJmJKvInX0fx3Or4fyXhEoxP6GiVAuKO0rL8YPCku 1vNgSHY3869aXT858yxU5hfm5ZtcHoQWbcrKlheIaGG0FBxAyoMuz1UebA3WITXGGYkC 17Oh8F0oJBD8YrsKLhNCknUTv4TRW5Y8zsMyjal/hRqcKyktpETSOcbr8qfVaZlwVuQl xqYxenYLMHBLrWrPG+VVU8EO5OlRr6FXgIQjzGBZ0svW9GIjxCQ4XCee2uA7+6lYlgbw GqcDO9OM9eVChWIYAs1K6ErIifkQRu4Th8TREze6epnSmRASwW3rDk4bwXIl8zvEKaLN PgqA== X-Gm-Message-State: AOAM5334U8KaPB8xX0MlME3pagW1/nfmgDvFRLkBiKLeXiCO/Y8ZyBa/ nYXGoAoga4KMba2VT2dZeIg= X-Google-Smtp-Source: ABdhPJxWYqEsgzoRyjHbzTKSu3fn8Wup4CTWsYSbVGrWQytZAJNcolUa6Xwrgyfp6Lif0e7PmpoUIg== X-Received: by 2002:a17:90a:6f46:: with SMTP id d64mr29734353pjk.85.1643557082283; Sun, 30 Jan 2022 07:38:02 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id ot1sm2751369pjb.22.2022.01.30.07.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 07:38:02 -0800 (PST) From: Timothy To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Subject: Re: [BUG] Make SVG + LaTeX work by default [9.5.2 (release_9.5.2-9-g7ba24c @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)] Date: Sun, 30 Jan 2022 23:35:52 +0800 References: User-agent: mu4e 1.6.10; emacs 28.0.90 In-reply-to: Message-ID: <87wnihmdyh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::635 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=tecosaur@gmail.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: emacs-orgmode@gnu.org 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=1643557115; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EK+n8y+Xch7A0PSTDPWFv8D3RiOz7VR9GNPH1UKEiNE=; b=CFb2IamVJRjVUIMZganTM/vTo6/cvFpgnrsXRtoIMs0Mp3aPBYvs4TKYPn27ZAb3hOTrJS LholZHoisu7jHybzW4VnqtpKs34UAjBEyEBW0m7+7OeL+NvD3BgLOSo26q2gyKtvg4z42b JjIGjmCv0ycjZhEj0+z47CARtPoqX8sxPki8tUvGjky96y+/X6aHho1hsS/XNj20ZSEedq 4CImpPpdf8rdpYfkrTCDzE7fsObSYdyhkf+XPY1mgtt0hfiO8jKKbke72ZjZg8mU03APko txrz4ZzRFh0Xud4gJqkbPCCbYpehD9W6MLcCUoCWopiOUCvTG/4xxhM/Q7griw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643557115; a=rsa-sha256; cv=none; b=pFukD2PveH++f8yanGsC7dyy8PYf6UAKjahHtrZp8eKFS0cEqm8460/SDl4UWg8iQP9d+N ov2AkwbbPgpFMABoRJaVIsK6870lhTNN2NL8KkucCR4Kp9QY1JWQ5Jw4rlipf98j6E2PTc m6HNDvBBjoj7NkZiq6N71lyXF4kvdB+qWt8be6vwObhhaS+ie5Ch+R2VAXgW666Y5SO/X+ 7enTbKGxGDSbcRuoNyvMi5wa80pH0lwESR5du15IakbXv6Gftji7ZQfswtiSEqBenbhLVP 3R6RtO1qP9fyh6fesVeHYNM7DXYZXORO/4H2iVuVz4lH3uR2ynRcLRbBrXH3yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GajZLKWH; dmarc=pass (policy=none) header.from=gmail.com; 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: -6.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GajZLKWH; dmarc=pass (policy=none) header.from=gmail.com; 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: C65B4227C4 X-Spam-Score: -6.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: sujzQEOH0XkB --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Rudolf, > To make SVG work in Org Mode and LaTeX, one must: > > (1) add =E2=80=9C-shell-escape=E2=80=9D to =E2=80=9Corg-latex-pdf-process= =E2=80=9D: > > OLD: latexmk -f -pdf -%latex -interaction=3Dnonstopmode =E2=80=A6 > NEW: latexmk -f -pdf -%latex -interaction=3Dnonstopmode -shell-escape =E2= =80=A6 > > (2) add the header line: > > #+latex_header:=20 > > With these two changes, SVG images show in both PDF and HTML exports. > > Why does Org Mode not have this configured out of the box? I have just > spent 2 hours figuring it out, and someone else will have to figure it > out again sooner or later. For what consolation it may be, I have a plan to make this (and more) work = OOTB while using the minimal set of packages needed. However, unfortunately I ne= ed more time to refine my changes into patches I=E2=80=99m happy with. All the best, Timothy --=-=-=--