emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Virtualenv and HTML5 Help
Date: Thu, 08 May 2014 09:59:30 +0800	[thread overview]
Message-ID: <87mwethvy5.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 536A99D8.3020701@gmail.com

Scott Randby <srandby@gmail.com> writes:

> On 05/07/2014 04:17 PM, Thomas Marek wrote:
>> 
>> *HTML5 Export:*
>> *
>> *
>> I'm trying to export my org-files in 'html5', as opposed to the default
>> 'xhtml-strict'. The manual says to set [ org-html-html5-fancy ] to t. I
>> tried searching for [ org-html-html5-fancy ] in [ M-x org-customize ]
>> but I couldn't find it. I tried adding [ (setq org-html-html5-fancy t) ]
>> to my init.el, but nothing happened. I'm not at all proficient in
>> emacs-lisp so my syntax may be wrong. The manual also says I can set [
>> html5-fancy ] in an options line. I'm not really sure how to do this. I
>> tried [ #+OPTIONS html5-fancy: t ] but it didn't do anything.
>> 
>>  1. How can I export to 'html5' instead of 'xhtml-strict' in org version
>>     7.9.3f and Emacs version 24.3.1?
>>  2. Is there any way I can view and customize the back-end that parses
>>     the org file to produce the html?
>> 
>
> I believe you need to upgrade your org to version 8 for (setq
> org-html-html5-fancy t) to work.

Also, the variable that really controls this is 'org-html-doctype, which
you set to html5. 'org-html-html5-fancy just controls whether or not,
when you're exporting to html5, Org will try to use some of the new
element types from the html5 spec.

Eric

      reply	other threads:[~2014-05-08  2:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 20:17 Virtualenv and HTML5 Help Thomas Marek
2014-05-07 20:38 ` Scott Randby
2014-05-08  1:59   ` Eric Abrahamsen [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=87mwethvy5.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /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).