From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: html export using html5 elements and bootstrap framework Date: Sat, 3 Jan 2015 13:37:20 -0500 Message-ID: <20150103183720.GA68984@eyeBook> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7TZm-0000js-Ck for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 13:37:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7TZj-0001yv-2r for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 13:37:26 -0500 Received: from mail.rickster.com ([204.62.15.78]:49708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7TZi-0001yl-V5 for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 13:37:22 -0500 Content-Disposition: inline In-Reply-To: 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: R C Cc: emacs-orgmode@gnu.org On Fri, Jan 02, 2015 at 03:47:36PM +0000, R C wrote: > I would like to have org mode export a project using html5 elements and > bootstrap framework adapting the worg tutorial: org-publish-html-tutorial.html > > - template with links to bootstrap css and js files, and a local.js file > with my macro definitions for mathjax: "~/web/org-templates/level-0.org" > with lines of the form: > #+STYLE: media="screen"> I don't believe `STYLE' is used by the HTML exporter. See: `HTML_HEAD' (`org-html-head') and `HTML_HEAD_EXTRA' (`org-html-head-extra'.) > I also have: (setq org-html-html5-fancy t) This only affects the use of html5 specific tags (section, article). The exported doctype is controlled by HTML_DOCTYPE (`org-html-doctype') > However tst.html does not show any inclusions from the level-0.org file and > does not seem to use the html5 doctype: Because there were no valid HTML options in level-0 and the doctype wasn't set? Not having the contents of the file I can't be 100% sure. Regardless, I don't think bootstrap will work very well. Doesn't it require specific classes on the markup? To make it work you will probably need to add additonal classes to every heading, etc. rick