From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Virtualenv and HTML5 Help Date: Thu, 08 May 2014 09:59:30 +0800 Message-ID: <87mwethvy5.fsf@ericabrahamsen.net> References: <536A99D8.3020701@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiDd7-0004vF-1D for emacs-orgmode@gnu.org; Wed, 07 May 2014 22:00:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiDcz-0007Jn-I3 for emacs-orgmode@gnu.org; Wed, 07 May 2014 22:00:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:34623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiDcz-0007FG-C1 for emacs-orgmode@gnu.org; Wed, 07 May 2014 22:00:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WiDcx-0004Oq-Kg for emacs-orgmode@gnu.org; Thu, 08 May 2014 04:00:03 +0200 Received: from 114.248.31.91 ([114.248.31.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2014 04:00:03 +0200 Received: from eric by 114.248.31.91 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2014 04:00:03 +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: emacs-orgmode@gnu.org Scott Randby 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