From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Anders Johansson <mejlaandersj@gmail.com>
Cc: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87ip17fk3d.fsf@gmail.com> (raw)
In-Reply-To: <51C2F3BA.1040204@gmail.com> (Anders Johansson's message of "Thu, 20 Jun 2013 14:21:14 +0200")
Hello,
Anders Johansson <mejlaandersj@gmail.com> 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
prev parent reply other threads:[~2013-06-21 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 12:21 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/)] Anders Johansson
2013-06-21 17:29 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ip17fk3d.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mejlaandersj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).