From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Setting HTML_INCLUDE_STYLE: nil doesn't work [8.0.3 (8.0.3-32-g0c789f-elpa @ /home/aj/.emacs.d/elpa/org-20130617/)] Date: Fri, 21 Jun 2013 19:29:42 +0200 Message-ID: <87ip17fk3d.fsf@gmail.com> References: <51C2F3BA.1040204@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq59T-0002Ht-5W for emacs-orgmode@gnu.org; Fri, 21 Jun 2013 13:29:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq59S-0005p0-DU for emacs-orgmode@gnu.org; Fri, 21 Jun 2013 13:29:35 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:56484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq59S-0005ok-7C for emacs-orgmode@gnu.org; Fri, 21 Jun 2013 13:29:34 -0400 Received: by mail-we0-f182.google.com with SMTP id p60so6553549wes.41 for ; Fri, 21 Jun 2013 10:29:33 -0700 (PDT) In-Reply-To: <51C2F3BA.1040204@gmail.com> (Anders Johansson's message of "Thu, 20 Jun 2013 14:21:14 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Anders Johansson Cc: emacs-orgmode@gnu.org Hello, Anders Johansson writes: > I put: > #+HTML_INCLUDE_STYLE: nil > at the top of my org-file and expect the exported html file to not > include the standard styles in it's header (documentation section > "12.6.9 CSS support"). > This does not work and the styles are included as usual. > > A quick debugging with edebug reveals that nil is interpreted as > a string, "nil", in the info-plist and therefore evaluates as true in > the check in org-html--build-head: > > (when (plist-get info :html-head-include-default-style) > (org-element-normalize-string org-html-style-default)) > > (from: ox-html.el:1448) Thank you for the report. This should be fixed on master branch: use #+OPTIONS: html-style:nil Regards, -- Nicolas Goaziou