From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Patch: default CSS class for SVG images in HTML export Date: Tue, 26 Jul 2016 11:21:22 +0300 Message-ID: <87h9bcizct.fsf@iki.fi> References: <87h9bep8s4.fsf@iki.fi> <87eg6ivz0u.fsf@saiph.selenimh> <87fuqxo9cx.fsf@iki.fi> <87k2g9v4jo.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRxcV-0004kV-Pc for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 04:21:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRxcQ-0003hP-UV for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 04:21:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:34250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRxcQ-0003hJ-N4 for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 04:21:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bRxcM-0000mx-Tr for emacs-orgmode@gnu.org; Tue, 26 Jul 2016 10:21:34 +0200 Received: from 82-181-168-52.bb.dnainternet.fi ([82.181.168.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2016 10:21:34 +0200 Received: from jarmo.hurri by 82-181-168-52.bb.dnainternet.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2016 10:21:34 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Nicolas Goaziou writes: > Would you mind providing an entry in ORG-NEWS for that change? It can > go in Version 9.0 > New features > Export. No need for a commit > message for this. Please see attachment. Jarmo --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-.patch Content-Description: patch >From 843f67d1fbed5a70e1b18de6dc25ee694694ebc5 Mon Sep 17 00:00:00 2001 From: Jarmo Hurri Date: Tue, 26 Jul 2016 10:36:10 +0300 Subject: [PATCH] --- etc/ORG-NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 391e282..12db376 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -208,6 +208,11 @@ point for the SRC/EXAMPLE block. With the global variable ~org-latex-images-centered~ or the local attribute ~:center~ it is now possible to center an image in LaTeX export. +**** Default CSS class ~org-svg~ for SVG images in HTML export +SVG images exported in HTML are now by default assigned a CSS class +~org-svg~ if no CSS class is specified with the ~:class~ attribute. By +default, the CSS styling of class ~org-svg~ specifies an image width +of 90\thinsp{}% of the container the image. *** Babel **** Support for SLY in Lisp blocks See ~org-babel-lisp-eval-fn~ to activate it. -- 2.4.11 --=-=-=--