From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mNacNRolk2R/UQEASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 18:28:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AMabNBolk2Rm5AAAG6o9tA (envelope-from ) for ; Wed, 21 Jun 2023 18:28:10 +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 839FF26010 for ; Wed, 21 Jun 2023 18:28:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=JUUL00BF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687364890; 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=/TOLlrvHdEUKhSD7rNgIjml1fYtE/tUVF5t3EzAgtAE=; b=lkjBT3ODjKcvFEVyfpKySY+3Q6juKSO+ssBpgFWZbUyRu/PcQsSmfYGKXH7GQwDw7p63CN XGAhA7vZn0xo6RJp3WwVpJ4t4esGqYJKSLY/NH9ZUVl5muJcOw8XSS7iwoQGMvCmctIYwd D0dGtWcakbfVV04FcWYZkpbijnz5haOSkjByB8miaIN+BK08oUla+y2JCeTWQvUQRa4qnB 2+AQ4Gp4QC2WmMmDTSOi2jMO6qcrfqWx5RM9hyIqLLRcXoINw3o8Ds24BtoGKdthuGOEIe dDSvCTRxip0Pw1HNdryuufcwZ8U7wNRdNpBL0XL65i+JMZVtUfmWlu9pHlUxxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=JUUL00BF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687364890; a=rsa-sha256; cv=none; b=NWYSxTKb371dQOAj44bZ44nhn/IH7e4Pt232BBgU2+PTpavw8zWkjkYT6nQe1MLKFA4iVS AKtfIdS1aBXQ6wPXC873jPDtH/lG4Yca5lI+VZ7dGIpniJEfldR1kQzn4Z1uKB3L7LKKCa 8lCJbnT3tULi4rDIQHKelaOL/O60durnfzSuXPBvggDj1kgyL2hFDu/mxZXA89zyqHOHol poM1ywddT/g6DmrmVdAlBLmSeN0jEEzSmSR6+gPg0AkgirpeI5yhq4gS1RM+T5FA8nTgxq zCkLKlweOSNRkL6c1iUEaDfE/N/weVRkZx0cRW7kVo0Uzu9W3dxMjV69ss7X1g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qC0g2-0005Nq-U9; Wed, 21 Jun 2023 12:27:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qC0fy-0005Mx-4V for emacs-orgmode@gnu.org; Wed, 21 Jun 2023 12:27:22 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qC0fw-00050S-Gz for emacs-orgmode@gnu.org; Wed, 21 Jun 2023 12:27:21 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2b47bfd4e45so50296291fa.0 for ; Wed, 21 Jun 2023 09:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687364838; x=1689956838; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=/TOLlrvHdEUKhSD7rNgIjml1fYtE/tUVF5t3EzAgtAE=; b=JUUL00BFyDm0X+CD4VO9zceicyJDxWh1f6deftV/CJWTyRYTddNIH/AdC6yqwLjPxr 5d5UbttaFyHz8eNkkfWvCJRzqA3eiuzHyFac68R9mKpnIL4upgC9gbluCtmIvtv0j4o1 LfSQZ9DlvIJd5np0VWUjiKDoVwJ2MNJ+/6fTk/UhtMfnXdVXZTPLCHUnfKWFn32D0/4N f9K2CeZeZXN8tOufSnRllqMlSth9vRZie1EzhCyMjbZ0ZqjIoKJIZuBIloxIvd0ksIht GVTVs42oV5pDn/H/RH8R+zhRr4eOmqZ1pgNbCSmiiEWxHZj36HfxUyFFOfvpkHHaaNp7 iIow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687364838; x=1689956838; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/TOLlrvHdEUKhSD7rNgIjml1fYtE/tUVF5t3EzAgtAE=; b=eZgBT0gbRMyiZWQBE4gZzBmA2hwuOZlsxqaTMZ+sWQgiHWC9dWKd654E0YgWfHxUH7 uxVPCL1MfJYC9V2HguzYVr4lw/Fpnh/8yiBZC7WXtP21/n4tLj+lphJg0MD8T1f70Ord nQG2dUjBPf5SOqvewnrRKHPGX8AyytAnt+rYraxNpsbbvlyDNeA/Oyy/u5qC7CFoKraf ESgHqBwjvYT5cDKcxbPER5z1Mg43aQRqT7/tFuz5qSpBd1a8EXgd61A3+OGWwBsskCMg APhMLX9IB82e2fRqMfbRk5e79SAb5hf8jZOnFmCSbLXWqw+VE2LfP3MzVrhct7VZtxfd BRmA== X-Gm-Message-State: AC+VfDykKlj6k2TkMKj/tGnC4jvEFzkjhspweQSqou9eQ8l9YR19kszo qlQq1hiwyEQ+o19TKlvSzV8= X-Google-Smtp-Source: ACHHUZ4gXvREstMVaqV8bswGnKnLDn7KNtBTgJO6GvJ64BzRa9U3xP8Ndz0T9iVSNR8L4lFGfFyBaA== X-Received: by 2002:a2e:850c:0:b0:2b4:5cad:f23f with SMTP id j12-20020a2e850c000000b002b45cadf23fmr10493415lji.2.1687364837965; Wed, 21 Jun 2023 09:27:17 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id 3-20020a05651c00c300b002b31ec01c97sm951908ljr.15.2023.06.21.09.27.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jun 2023 09:27:17 -0700 (PDT) Message-ID: <1f6df732-67ee-b100-82f6-248edbddbcf3@gmail.com> Date: Wed, 21 Jun 2023 23:27:16 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG Content-Language: en-US To: gerard.vermeulen@posteo.net Cc: emacs-orgmode@gnu.org References: <871qip3u90.fsf@localhost> <87fs74j4la.fsf@christianmoe.com> <87cz27eka4.fsf@localhost> <87h6rjqr9y.fsf@christianmoe.com> <87v8fznojo.fsf@localhost> <87ilbojvo3.fsf@localhost> <87zg4sdcrq.fsf@localhost> From: Max Nikulin Mail-Followup-To: gerard.vermeulen@posteo.net, emacs-orgmode@gnu.org In-Reply-To: <87zg4sdcrq.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.093, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.15 X-Spam-Score: -1.15 X-Migadu-Queue-Id: 839FF26010 X-TUID: qGqNwZGVslD+ On 21/06/2023 23:02, Ihor Radchenko wrote: > Max Nikulin writes: > >>> I think you missed `org-html-inline-image-rules' where users can >>> include/exclude svg images from inlining. >> >> Ihor, I am not sure that I get your point. If I understand it correctly, >> `org-html-inline-image-rules' specifies whether links to svg files >> should be kept as links or should be transformed to images. Gerard >> proposes to add options how to treat SVG *images*: , or >> include content of the SVG file literally. `org-html-inline-image-rules' >> does not allow to specify extended options how to treat each match. > > That's why Timothy should review this patch. > I am missing all these subtle details about HTML due to lack of knowledge. Besides the HTML related question how to mate all SVG options with all Org features (figures, etc.) there is a purely Org design choice: whether there should be multiple Org boolean variables and attributes describing strategy for particular image or it is single variable and attribute with symbol (or string) value.