From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wAN+LPtBgGReEAAASxT56A (envelope-from ) for ; Wed, 07 Jun 2023 10:38:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IAFnLPtBgGSaKgAAauVa8A (envelope-from ) for ; Wed, 07 Jun 2023 10:38:19 +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 7E6DD694C for ; Wed, 7 Jun 2023 10:38:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EG7PyAff; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686127099; 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=Hx4OCZpzLIITNw6gE9STRBWQN/ifW9nv7sCkpmJnLlM=; b=aHHJmILLN6S/m0Cm6B6zEWAAASMIQCJyvFP8XGyuC/U+GMa8d+s727OM2cMjClQALCeI7x uH0dlPhjy/jI8MPoK1gPqGaQTKe1nLoU7JbL1jCIcNkIRlTww8ZEQErxE6O8IrW5lJie9C BvxZ3PSWAT+6eAXzmPasEY4keU02wNGrRJrO8kOuw+wijem8RrBlEf9yoZh2EgBAlYZf3n 2fqBiJf8bXva/SfzAOhMJaO2FZDNIHwbBo0kSbZKQthCnaMdC1mS4NxmJyrG6OvF2II4oc lmqtvfvjJYhvLYJlglRCjHFFicY9m9phmEB+B+r7+uLOuGId7QPvSIYZcSLzFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EG7PyAff; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686127099; a=rsa-sha256; cv=none; b=iAsG+Ht+k3Eh5/q23hm6ESg+3XqU649dRg1VOZ5WUyDUDa/7+pJtkQ/GygEHxzw5h11pNP +stypolpKjULcNMkgep1XNGang8zAfzlljkuN7TYnUWd44Q9fo23tMRUp5BOLDbcaO1yxJ Ks7k+sSvcq85drekwrlDr6cJL2X3OlBZrtMhEdjJhKkyDKe9tjM8fRrG12n4/AVycxxkDk eymQFcpwG3YrQsoHQS94PAr1xVk1gC/LFPMHjihswZ9p5XqlyaniIpKv2pCE+BqKse5oek IygOtVx/JX3wA03zH86Mv8OOfPKNMg7A86zZOpxTqcT7e50ZQdAM51LiKgSCEw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6ofM-0003Cn-Og; Wed, 07 Jun 2023 04:37:16 -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 1q6ofK-0003Cb-Gn for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 04:37:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ofI-0003ok-F6 for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 04:37:14 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C9287240027 for ; Wed, 7 Jun 2023 10:37:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686127029; bh=BArZ0tqTe1iqCBN4Kr1c88/pTsn6MLv2KfIDqUXIgZs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=EG7PyAffVFY8VgTDNfjx5dA8gcmN3GmcZ4ImrpLDC5r4AR3K8FbewiDATMTeCxHKt YcPE430R3qWX61VEJqwxPeYdASeFETfO7Zjlarz8xB9pnND9/eobxZHsB5MaiFRfii y7jkz334zpmYL5hd6gQsUZXOkU4MZTY/TQVteYJnSjxWHHDfREq9aO8ya0PwWBtaZM PIjO0BIxExOOoMnO5SKVrnEq47lbxa8uHCHZTwSmbEanUoUu8hgc67/tRo1DCB9oL0 ylAKiUakrn/j5Dv3CGC+2VcWPYy2TN+wlrWKRYzqrfJlUEYpGTkeosaACPaX/ceuv7 cCYRd+rbwBCIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qbggn0k4wz6txn; Wed, 7 Jun 2023 10:37:08 +0200 (CEST) From: Ihor Radchenko To: Christian Moe Cc: emacs-orgmode@gnu.org, gerard.vermeulen@posteo.net, Timothy Subject: Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG In-Reply-To: <87fs74j4la.fsf@christianmoe.com> References: <871qip3u90.fsf@localhost> <87fs74j4la.fsf@christianmoe.com> Date: Wed, 07 Jun 2023 08:41:55 +0000 Message-ID: <87cz27eka4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: UNKNOWN X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.24 X-Spam-Score: -2.24 X-Migadu-Queue-Id: 7E6DD694C X-Migadu-Scanner: in3.migadu.com X-TUID: ysK1mwC2rASO Christian Moe writes: > I think there's a better approach. Tl;dr: > > - A better way to have active CSS in SVG images is to link to the > external SVG file with the rather than tag, as we used > to. Reading the linked threads, it seems that has its own downsides. Why is it strictly better then? > - Without patching Org, you can embed an external SVG file as an SVG > island in Org HTML export simply by using #+INCLUDE. To be clear, I am in favor of adding "embedding" switch for ox-html in general. It is a feature several people requested elsewhere - for all images. #+INCLUDE is cumbersome, does not work with captions, and will generally break Org customization relying on Org knowing what kind of object is being exported. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at