From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0NOsMfxm+2Iy5QAAbAwnHQ (envelope-from ) for ; Tue, 16 Aug 2022 11:44:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8DmvMPxm+2Ia+QAAG6o9tA (envelope-from ) for ; Tue, 16 Aug 2022 11:44:28 +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 71456E118 for ; Tue, 16 Aug 2022 11:44:28 +0200 (CEST) Received: from localhost ([::1]:33616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNt7b-0007WQ-Je for larch@yhetil.org; Tue, 16 Aug 2022 05:44:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNt51-000534-81 for emacs-orgmode@gnu.org; Tue, 16 Aug 2022 05:41:49 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:38652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNt4z-0006CI-KI for emacs-orgmode@gnu.org; Tue, 16 Aug 2022 05:41:46 -0400 Received: by mail-pf1-x436.google.com with SMTP id d20so8880811pfq.5 for ; Tue, 16 Aug 2022 02:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=m0WxZptjWabJ4PULP7lqJe9jcpz4BrAMDttzyWpWW9w=; b=HkgXJK4DmTi5icl10kdWnpVFKE6TLfFp5zWHYMOrO/sgW9sx0jy0oaoq6vKkl0/69Q k687ooI06ZgvyXVUmAOvQzKIM6QCqDM+FnT4fROYKtcgZSGSiBM5PVD4XF/RgjugJjjT oatKFAAW/bqdzRD64dpQ9aQ9J6Jm7b8O5wnx3ZIYVMvcprqp05hH+u3T5SVkyI0iXmiT kpoNciL7R6+hHO9lefQ4qpLig+v3QC/C+Yi8MBai5dlnXp9V7yo3kiLgZF/DsP30e2nT h01bU3bqnZtolDMtloCOFcCx67Ppu8LstoZ792yIW4k9uvJ5jHB5x/CEUknyOdTjl9Ky xFyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=m0WxZptjWabJ4PULP7lqJe9jcpz4BrAMDttzyWpWW9w=; b=x5U8TXTWzwSRdzW6p94jf7XkE8FQsVV7SFAqqz4/9GQ0g2fK7uNe2bnh0gAAj8MbUz JeZuKCw9rvhOYuCmuA5M5mva42iGpjG7GQwd+bYH/Yq6F05W9kLhWez7HS9EpCFoX1SB khJFlWcRO0A83TA/QjaYQfUKj+E1W/W+mpbCjppSIbwSmzfuCoGTMXRcHEcM+q9SmhQQ Q1Q9488+9PBqrBV/5y7LWgx/RYbZ9qnxCknKKPNLMyHWHfe+MK9yxjRsKIwrYNq/V2ry OxLR0QLm/QxY9mYZlWQ2IeADdmHL60s+BVC1J5/9VcvoWj/ezxXHf9h91MSU3gLGKQqu /rmQ== X-Gm-Message-State: ACgBeo0V2gjCivCJwC5ee8A0p5c4pb1rhgwMkUrT0oMwolzmLhvSGpf0 kwoknT8JMKXibO3ypwQ0xKx7p7V374l8pg== X-Google-Smtp-Source: AA6agR6GAWqzBgb7DAApCoNRmANEFm19bGm+ge1kNHI8PE2H1qab/23dgJLesXVVq9j9Pw/3nBiCKw== X-Received: by 2002:a05:6a00:c91:b0:52f:1b60:b526 with SMTP id a17-20020a056a000c9100b0052f1b60b526mr20496063pfv.74.1660642897311; Tue, 16 Aug 2022 02:41:37 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id c194-20020a624ecb000000b0052ba5ebfe30sm8214830pfb.99.2022.08.16.02.41.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 02:41:36 -0700 (PDT) From: Ihor Radchenko To: reza Cc: "emacs-orgmode@gnu.org" Subject: Re: svg file from tikz picture In-Reply-To: <01020182a2d7ed46-7be65254-b93a-4e52-b275-c7dde587f51b-000000@eu-west-1.amazonses.com> References: <3bc47afb-0bac-f6e8-1097-13dcb6f2be1f@housseini.me> <01020182a2d7ed46-7be65254-b93a-4e52-b275-c7dde587f51b-000000@eu-west-1.amazonses.com> Date: Tue, 16 Aug 2022 17:42:41 +0800 Message-ID: <87o7wk34oe.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=yantar92@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660643068; 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=m0WxZptjWabJ4PULP7lqJe9jcpz4BrAMDttzyWpWW9w=; b=Mh5zrHazVtO6PuD5Q8HSzkKMWPfc0lJQkaveZ1ZgDpbGYKSNlwmzltE4i10Hd7wcclPj9h 3UPaIjKnKCi9CciZidPPQhauZqazufJbXY2FyElglH/U4H7tyZNCH/0dzWNKGVfe16nHoe 1Xs0cJ3VKr4EleIGHFAEfEd86VU/5OS5JhLoLgguRi9vG4jjBEjVZCihOX2Ll8lR/yCIlC OqxKJePWZZg5BzACjGbX8O10YO66rpI62VIIDc6HShec64NfAUGKVked2ozmtuTo88CSdZ Hgbh4F8TqVLkrFczGfOMyHIQQe5lc+hXcxX12mgHjkWKlAOCyfOYorBjxuTXkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660643068; a=rsa-sha256; cv=none; b=LFIHc3kH7LRqq1jySLHdRm006Q1wujL3YycpQn/1y/aH23Hfr8wywRLRVG9Ct2Ly539wgQ /iR/0iwGxeANEWAVsccywjq/r1ScG+RtbpdUCATZ54OfTQbLShQwvM86gsG3CFgK5tSkFl /Lvne2gS5rtnxfu1VPQGd5NOrnWo3iaHB+s494Yz9gp6ZzVjSil6H9A9e0nxJSgjSXkvcF TRthIEHP7oGrFjrshPkwAUk4iwAvjSRLwEn5pf2zymzMPuASn//NuKBVdAqW3HVZiX1eK4 kj/scaS5z1ykYZT3YzDiu9qfDixkLtrF7UkeNTrZXEwB+H/uR/LR5HvVgKKmQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HkgXJK4D; 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: -3.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HkgXJK4D; 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: 71456E118 X-Spam-Score: -3.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: 74Dr0wDE+1Ni reza writes: > when running the following code > > #+header: :file "absolute-distance.pdf" > #+header: :results file drawer :exports results :fit yes :border 0cm > #+header: :headers '("\\usepackage{tikz}") > #+begin_src latex > \usetikzlibrary{positioning} > \begin{tikzpicture} > \node[circle,fill,label=above:$P_1$,node font=\Large] (point1) at > (0,0) {}; > \node[circle,fill,label=above:$P_2$,node font=\Large] (point2) at > (3,0) {}; > \draw[latex-latex] (point1) -- (point2); > \end{tikzpicture} > #+end_src > > everything runs fine and a pdf file gets produced. But when I change the > file header to "absolute-distance.svg" an error occurs and no output > gets produced. Find attached the tex file and the log of the compilation. Confirmed. svg generation takes a completely different code branch compared to pdf in ox-latex.el. I am not sure why. Hopefully, someone more familiar with ox-latex and LaTeX in general can chime in. -- Ihor Radchenko, 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