From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 qIsPJih++2KPHAAAbAwnHQ (envelope-from ) for ; Tue, 16 Aug 2022 13:23:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sMHqJSh++2KkhwAAauVa8A (envelope-from ) for ; Tue, 16 Aug 2022 13:23:20 +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 1034117DCD for ; Tue, 16 Aug 2022 13:23:20 +0200 (CEST) Received: from localhost ([::1]:48720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNufH-0002pa-1R for larch@yhetil.org; Tue, 16 Aug 2022 07:23:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNudl-0000x2-Lk for emacs-orgmode@gnu.org; Tue, 16 Aug 2022 07:21:45 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:45681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNudj-0000bS-Vw for emacs-orgmode@gnu.org; Tue, 16 Aug 2022 07:21:45 -0400 Received: by mail-pj1-x1034.google.com with SMTP id p14-20020a17090a74ce00b001f4d04492faso9289969pjl.4 for ; Tue, 16 Aug 2022 04:21:43 -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=K7ITN0EBt6URB3KZ2aLB+339pkGKu1ZJzVom4hTL5N0=; b=OFfaaXmsVftY3BhQ6cNGWyYlfiJDABxhXGqgTseT5HcjnwIgdFsCAa67a2Vjt+zJaI WlZJbeAGxHlP3TTevGI7W0xxFoyZPrRK1EenegkFPrH+7zV5F6/D3Z17xAq1CUUsMfMf WjUAlHh5fqos8uC0rlQp6pHjlEit5AnV/EIQo5w1ziSmFQdGrW1RQ6/7JEY8YyC/Uqfe F5pKYKNBiGOvF++c4NS7m279ngjMoVgTmGSqax8vuWoNz2W2bhfQD3Yn2qWvkPNIdeHA wjQClNvAP86YuAoOO6mb2+Q4rTiaSdWZyiAo3wkd5oneveTWYsspIIIbXhIUuw9KzRVs U+Dw== 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=K7ITN0EBt6URB3KZ2aLB+339pkGKu1ZJzVom4hTL5N0=; b=A+JG0rw2h5JnjHozLj1M1AQXrcTOZiSUGHFb17mCKo8FigrWTmT7K2MUMdYGIcKqKb W/9TpEbhJDkv5IMkfen7NnPhjpXkOnmZBV7WAlesdFsGJIhfVndz6sBVJzVAesiJKgD5 5/C6EFZMuvDrpdPe7XvUIH5jlnJs/3HDOmdg9awKkpw+4TDVyOm96eDMJMzRxl2i2QWV phx6fjxIeK79nPaMrQv1n+2ag3MFqiUld8Eph6pBokGnU6Lj6SBk3zK6LM8EpDiOPLhM fWKxZQJicDvp9LyvqTKID5FG8VscTCvqB7kA/GR5vgeUu1kcepgeqSs+1Dodvnf1E+9h J+og== X-Gm-Message-State: ACgBeo1tKWVWD8+en+L8HRzDuDkTiPF0IklE119so3m2Vlxz457zf1GX Zs6jCcVWeIqePLwHYlXl8z1SkJviy/whAw== X-Google-Smtp-Source: AA6agR5wuBHYCrx+5JNAeXAjZe2HEFbOYTCPqwIMxQsrLeWDwGudlcss6Vs0/3C8o7Ecnepw3AnsgA== X-Received: by 2002:a17:902:d50e:b0:16f:153b:198c with SMTP id b14-20020a170902d50e00b0016f153b198cmr21350021plg.59.1660648902570; Tue, 16 Aug 2022 04:21:42 -0700 (PDT) Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id 13-20020a170902c24d00b00170a6722c79sm8828742plg.247.2022.08.16.04.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 04:21:42 -0700 (PDT) From: Ihor Radchenko To: reza Cc: "emacs-orgmode@gnu.org" Subject: Re: svg file from tikz picture In-Reply-To: <01020182a6556f7e-bc5439ea-e56f-4acb-953c-7f3535eaedad-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> <87o7wk34oe.fsf@localhost> <964a4117-ef6c-8d41-a25d-00e61c0c93d8@housseini.me> <01020182a6195e86-02f458a1-9efa-47ba-9b77-5669dbf06c6a-000000@eu-west-1.amazonses.com> <0931497c-9075-c214-c7f2-6507340a6d74@housseini.me> <87h72c3397.fsf@localhost> <01020182a62a5d2f-30791667-55f9-45ac-ae47-82377defea68-000000@eu-west-1.amazonses.com> <6daeb56b-163c-f862-5866-da624b43edd9@housseini.me> <01020182a6556f7e-bc5439ea-e56f-4acb-953c-7f3535eaedad-000000@eu-west-1.amazonses.com> Date: Tue, 16 Aug 2022 19:22:42 +0800 Message-ID: <878rno301p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.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=1660649000; 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=K7ITN0EBt6URB3KZ2aLB+339pkGKu1ZJzVom4hTL5N0=; b=cfFj07wonRMheRbsfShgq28z+Ert0uhl0w6wTzA/+YRuLnyzUSvQ1Z0aF0+QlZDQgtrAH6 IY5Q7uBLu6jIUh09HizLpUz4AfAgoIt5caQoDpwjUofmC60SjC+VtPcOOBBtKXLo4OSmcr WBywE7vlQzYL8lCC5CD51J45r/2rxmeKtz55t/eAqZ22cRxecksgleB4vlRIpXgcGVZG5w bCVMJfOXoSIQ0dxevp0uFzdbWS1W44zDWzEuMrdZqiCp6BC2Pqi2S7HnZsKvItdnb2wDsn xzYjqPAwmq6SOtxPIUKeR1sE9yZe/gm676n4IWUtAPB10UDRmucFhhyM5s6Xuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660649000; a=rsa-sha256; cv=none; b=JKrs3Z+R2GuPewBlmG3Gu1Jy9/HLTl7/ZO4pUrqZm/uiJDrlgpWu8Il8Otk4MwR1MbchdX HYI64y6ce3rENv9junAVJ2kr2bWz7wGpf/zV/wpmmwMI85WBLjSUoAyDEZVWc2iUO1NSLf 2Flu6BMMzatSriuWGELwyZ0HxkGGoPuyAMelgxw8S6HmUAADSSKyJnZ/sanCXvn41kwkdA zY38GDdQUv2u7KMRrPBYyx68Ju8noi4UCmfq9/ljXOgm4sNAiddE2tagISSE5yYxVRwj9Z QdNudQG5oXmDCV93PiHpJyUVODiafM9471U2hRqrnoAogrs0R8lSf2fi/b2ZxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OFfaaXms; 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=OFfaaXms; 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: 1034117DCD X-Spam-Score: -3.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: w7r27PaILOLb reza writes: >> It is a part of the same infrastructure, but the LaTeX templates for >> html/pdf/svg/tiks export are different for some reason. There is even a >> TODO comment in the code saying that things should better be unified. Alas. >> >> Patches improving the situation are always welcome. > > Where would I put combined code for ox-latex.el and ob-latex.el? I do not think that ob-latex code has much to add into ox-latex. What I was referring to is the giant `cond' form in org-babel-execute:latex, which produces different LaTeX templates depending on the output file extension. The ob-latex templates should probably remain specific to ob-latex since they are tailored to produce (usually one-page) documents from short LaTeX snippets. -- 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