From mboxrd@z Thu Jan 1 00:00:00 1970 From: R C Subject: html export using html5 elements and bootstrap framework Date: Fri, 2 Jan 2015 15:47:36 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74SC-0003g9-K8 for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 10:47:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y74S9-0006JB-72 for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 10:47:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:50767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74S8-0006Hr-WD for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 10:47:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y74S3-0006HA-Fc for emacs-orgmode@gnu.org; Fri, 02 Jan 2015 16:47:47 +0100 Received: from c-98-230-85-128.hsd1.fl.comcast.net ([98.230.85.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Jan 2015 16:47:47 +0100 Received: from recif by c-98-230-85-128.hsd1.fl.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Jan 2015 16:47:47 +0100 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 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 I set it up as: - minimal org file to be published: "~/web/p2/org/tst.org" #+SETUPFILE: ~/web/org-templates/level-0.org #+TITLE: Testing * heading 1 abc - 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: etc - my project is setup as: ("p2-org" :base-directory "~/web/p2/org" :publishing-directory "~/web/p2/public_html" :recursive t :base-extension "org" :publishing-function org-html-publish-to-html :style-include-default nil :creator-info nil) ("p2-extra" :base-directory "~/web/p2/org" :publishing-directory "~/web/p2/public_html" :base-extension "css\\|pdf\\|png\\|jpg\\|gif" :publishing-function org-publish-attachment :recursive t :author nil) ("p2" :components ("p2-org" "p2-extra")))) I also have: (setq org-html-html5-fancy t) However tst.html does not show any inclusions from the level-0.org file and does not seem to use the html5 doctype: Testing

Testing

Table of Contents

heading 1

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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: RC Subject: Re: html export using html5 elements and bootstrap framework Date: Sat, 3 Jan 2015 21:09:07 +0000 (UTC) Message-ID: References: <20150103183720.GA68984@eyeBook> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Vwp-0001Ff-Ko for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:09:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7Vwm-0000jD-DT for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:09:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:59481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Vwm-0000iS-62 for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:09:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7Vwk-0004zV-0N for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 22:09:18 +0100 Received: from c-98-230-85-128.hsd1.fl.comcast.net ([98.230.85.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 22:09:17 +0100 Received: from recif by c-98-230-85-128.hsd1.fl.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 22:09:17 +0100 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 Rick Frankel rickster.com> writes: > On Fri, Jan 02, 2015 at 03:47:36PM +0000, R C wrote: > > 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 did change this based on the v 8 documentation and that fixed many of the issues I was having. > 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 > I can use #+ATTR_HTML to include bootstrap specific classes for tables, etc but I have been unable to find a way to add a desired class to the
    for the TOC, or change the default outline-N and outline-text-N classes for headings and contents, respectively. It may be possible to alias bootstrap classes using a CSS preprocessor. RC From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: html export using html5 elements and bootstrap framework Date: Sat, 03 Jan 2015 22:25:58 +0100 Message-ID: <871tnb36ah.fsf@gmx.us> References: <20150103183720.GA68984@eyeBook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7WDA-0006jM-Sq for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:26:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7WD7-0005fs-Lm for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:26:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:59884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7WD7-0005fo-F6 for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:26:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7WD4-0008BS-My for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 22:26:10 +0100 Received: from 83-91-99-158-dynamic.dk.customer.tdc.net ([83.91.99.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 22:26:10 +0100 Received: from rasmus by 83-91-99-158-dynamic.dk.customer.tdc.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 22:26:10 +0100 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 Hi, RC writes: > I can use #+ATTR_HTML to include bootstrap specific classes for tables, > etc but I have been unable to find a way to add a desired class to the >
      for the TOC, or change the default outline-N and outline-text-N > classes for headings and contents, respectively. It may be possible to > alias bootstrap classes using a CSS preprocessor. At the moment you can't add extra classes to lists (patch welcomed). However, you can add CUSTOM_HEADERs to your sections and do stuff like this: #text-my-sec li {display: inline;} #text-my-sec li:after {content: ", ";} #text-my-sec li:last-child:after {content: "";} I don't know what bootstrap is though, so I don't know if it helps. —Rasmus -- To err is human. To screw up 10⁶ times per second, you need a computer From mboxrd@z Thu Jan 1 00:00:00 1970 From: RC Subject: Re: html export using html5 elements and bootstrap framework Date: Sat, 3 Jan 2015 21:47:10 +0000 (UTC) Message-ID: References: <20150103183720.GA68984@eyeBook> <871tnb36ah.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7WXe-0003TD-55 for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:47:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7WXb-0002zS-0K for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:47:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:60390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7WXa-0002zO-PX for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 16:47:22 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7WXY-0003gY-Kr for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 22:47:20 +0100 Received: from c-98-230-85-128.hsd1.fl.comcast.net ([98.230.85.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 22:47:20 +0100 Received: from recif by c-98-230-85-128.hsd1.fl.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 22:47:20 +0100 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 Rasmus gmx.us> writes: > > Hi, > At the moment you can't add extra classes to lists (patch welcomed). > However, you can add CUSTOM_HEADERs to your sections and do stuff like > this: > > #text-my-sec li {display: inline;} > #text-my-sec li:after {content: ", ";} > #text-my-sec li:last-child:after {content: "";} I use a custom css file for specific styling of elements. > > I don't know what bootstrap is though, so I don't know if it helps. > > —Rasmus > (twitter-)Bootstrap provides a nice set of classes for navigation (TOC) bars, and control over layout, e.g side-by-side locks figures, etc using a grid-based framework. If the default heading and content classes used by ox-html could be changed or aliased it should work well with org-mode html export. RC From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: html export using html5 elements and bootstrap framework Date: Sun, 04 Jan 2015 02:32:03 +0100 Message-ID: <87sifr1gbw.fsf@gmx.us> References: <20150103183720.GA68984@eyeBook> <871tnb36ah.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7a3L-0007wz-Cg for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 20:32:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7a3G-0007sH-En for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 20:32:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:37890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7a3G-0007sC-8l for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 20:32:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7a3E-0003wm-Ho for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 02:32:16 +0100 Received: from 83-91-99-158-dynamic.dk.customer.tdc.net ([83.91.99.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jan 2015 02:32:16 +0100 Received: from rasmus by 83-91-99-158-dynamic.dk.customer.tdc.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jan 2015 02:32:16 +0100 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 Hi, RC writes: > If the default heading and content classes used by ox-html could be > changed or aliased it should work well with org-mode html Maybe you can set up filters then to replace e.g. section into the desired naming-scheme. AFAIR class-names are hard-coded in ox-html. —Rasmus -- Vote for proprietary math! From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: html export using html5 elements and bootstrap framework Date: Tue, 6 Jan 2015 10:40:52 -0500 Message-ID: <20150106154052.GA92712@eyeBook.home> References: <20150103183720.GA68984@eyeBook> <871tnb36ah.fsf@gmx.us> <87sifr1gbw.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8WFe-0001Gu-WF for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 10:40:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8WFa-0002LJ-TS for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 10:40:58 -0500 Received: from mail.rickster.com ([204.62.15.78]:34708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8WFa-0002L4-Po for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 10:40:54 -0500 Content-Disposition: inline In-Reply-To: <87sifr1gbw.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode@gnu.org On Sun, Jan 04, 2015 at 02:32:03AM +0100, Rasmus wrote: > Hi, > > RC writes: > > > If the default heading and content classes used by ox-html could be > > changed or aliased it should work well with org-mode html > > Maybe you can set up filters then to replace e.g. section into the desired > naming-scheme. AFAIR class-names are hard-coded in ox-html. As Rasmus mentioned in a previous email, there is no way currently to add html attributes to lists w/ ATTR_HTML. A filter, a mentioned above, is your simplest approach. The best (IMHO) would be to create a derived exporter (ox-bootstrap?) based on ox-html. You can look at one of the slideshow backends (ox-deck, ox-s5, ox-reveal) for examples (e.g., `org-deck-item' or org-s5-headline for how to "advise" the html exporter functions.) rick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill White Subject: Re: html export using html5 elements and bootstrap framework Date: Tue, 06 Jan 2015 13:43:29 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8a3j-0002xW-Ma for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 14:44:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8a3f-00088X-N9 for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 14:44:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:59644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8a3f-00088K-HO for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 14:44:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8a3M-0005eR-Ix for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 20:44:32 +0100 Received: from 173-19-200-7.client.mchsi.com ([173.19.200.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Jan 2015 20:44:32 +0100 Received: from billw by 173-19-200-7.client.mchsi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Jan 2015 20:44:32 +0100 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 On Fri Jan 02 2015 at 09:47, 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 > > I set it up as: > - minimal org file to be published: "~/web/p2/org/tst.org" I think this isn't quite what you need to export a single file, but o-blog by Sébastien Gross functions as an org-mode frontend for bootstrap: https://github.com/renard/o-blog Cheers - bw -- Bill White . billw@wolfram.com "No ma'am, we're musicians." From mboxrd@z Thu Jan 1 00:00:00 1970 From: R C Subject: Re: html export using html5 elements and bootstrap framework Date: Wed, 7 Jan 2015 13:26:50 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8qob-00068m-DJ for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 08:38:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8qoX-0004X0-El for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 08:38:25 -0500 Received: from plane.gmane.org ([80.91.229.3]:58199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8qoX-0004Vw-8W for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 08:38:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8qiM-00008L-9z for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 14:31:58 +0100 Received: from c-98-230-85-128.hsd1.fl.comcast.net ([98.230.85.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 14:31:58 +0100 Received: from recif by c-98-230-85-128.hsd1.fl.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 14:31:58 +0100 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 Bill White wolfram.com> writes: > > On Fri Jan 02 2015 at 09:47, R C yahoo.com> 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 > > > > I set it up as: > > - minimal org file to be published: "~/web/p2/org/tst.org" > > I think this isn't quite what you need to export a single file, but > o-blog by Sébastien Gross functions as an org-mode frontend for > bootstrap: https://github.com/renard/o-blog > > Cheers - > > bw Thanks. The layout of one of the websites listed as using o-blog: http://common-lisp.net/ is pretty close to what I would like to have. I was a little confused about whether v2 supported org-mode as the tutorial for v2 used pandoc mode and mentioned org-mode in connection with v1. But I will try it. From mboxrd@z Thu Jan 1 00:00:00 1970 From: R C Subject: Re: html export using html5 elements and bootstrap framework Date: Wed, 7 Jan 2015 13:36:07 +0000 (UTC) Message-ID: References: <20150103183720.GA68984@eyeBook> <871tnb36ah.fsf@gmx.us> <87sifr1gbw.fsf@gmx.us> <20150106154052.GA92712@eyeBook.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8quH-0007L4-9A for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 08:44:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8quB-0007e7-TT for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 08:44:17 -0500 Received: from plane.gmane.org ([80.91.229.3]:58520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8quB-0007dt-NP for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 08:44:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8qpx-0000rF-Tx for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 14:39:50 +0100 Received: from c-98-230-85-128.hsd1.fl.comcast.net ([98.230.85.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 14:39:49 +0100 Received: from recif by c-98-230-85-128.hsd1.fl.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 14:39:49 +0100 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 Rick Frankel rickster.com> writes: > As Rasmus mentioned in a previous email, there is no way currently to add html > attributes to lists w/ ATTR_HTML. > > A filter, a mentioned above, is your simplest approach. The best (IMHO) would > be to create a derived exporter (ox-bootstrap?) based on ox-html. You can look > at one of the slideshow backends (ox-deck, ox-s5, ox-reveal) for > examples (e.g., `org-deck-item' or org-s5-headline for how to "advise" the > html exporter functions.) > > rick > > Thanks for the pointers. One of the other responses mentioned o-blog and I am going to try it. But setting up an export backend also seems fairly straightforward to do.