emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Frankel <rick@rickster.com>
To: R C <recif@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: html export using html5 elements and bootstrap framework
Date: Sat, 3 Jan 2015 13:37:20 -0500	[thread overview]
Message-ID: <20150103183720.GA68984@eyeBook> (raw)
In-Reply-To: <loom.20150102T150820-358@post.gmane.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:   <link href="css/bootstrap.min.css" rel="stylesheet"> 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

  reply	other threads:[~2015-01-03 18:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02 15:47 html export using html5 elements and bootstrap framework R C
2015-01-03 18:37 ` Rick Frankel [this message]
2015-01-03 21:09   ` RC
2015-01-03 21:25     ` Rasmus
2015-01-03 21:47       ` RC
2015-01-04  1:32         ` Rasmus
2015-01-06 15:40           ` Rick Frankel
2015-01-07 13:36             ` R C
2015-01-06 19:43 ` Bill White
2015-01-07 13:26   ` R C

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=20150103183720.GA68984@eyeBook \
    --to=rick@rickster.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=recif@yahoo.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).