From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: best way of customizing generated css to match bootstrap css Date: Fri, 24 Jan 2014 15:56:34 -0500 Message-ID: References: <1582057433.63623.1365240622588.JavaMail.root@foogu.de> <2084947337.63635.1365241040623.JavaMail.root@foogu.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b678614e10de104f0bd97a0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6nnu-0001iS-6n for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 15:56:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6nno-00023B-Sc for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 15:56:42 -0500 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:45087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6nno-000234-CI for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 15:56:36 -0500 Received: by mail-pb0-f44.google.com with SMTP id rq2so3646507pbb.31 for ; Fri, 24 Jan 2014 12:56:34 -0800 (PST) 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: Mehul Sanghvi Cc: ML Emacs-orgmode , Marc Seibert --047d7b678614e10de104f0bd97a0 Content-Type: text/plain; charset=ISO-8859-1 Great, keep me posted! I'm interested in other ways to incorporate javascript/jQuery plugins into org HTML export (dynamic navigation, lightbox and image handling, etc). So far I've incorporated Tocify, lightbox, and inline modal footnotes. Let me know what you come up with! On Fri, Jan 24, 2014 at 2:46 PM, Mehul Sanghvi wrote: > > Thanks. That helps a lot and gives me some other ideas as well. > > > cheers, > > mehul > > > > On Fri, Jan 24, 2014 at 12:00 AM, Peter Salazar wrote: > >> Here you go. >> https://github.com/petersalazar/org-tocify >> >> Again, it's not very bootstrapish aside from Toficy, which uses Bootstrap >> colors and fonts. >> >> That said, I have found using Tocify's auto-generated dynamic table of >> contents quite helpful. >> >> Tocify is by Greg Franco and is here: >> http://gregfranko.com/jquery.tocify.js/ >> >> >> >> >> >> On Wed, Jan 22, 2014 at 4:17 PM, Mehul Sanghvi wrote: >> >>> Peter, >>> >>> Do you have an example of an org file in which you use it ? >>> >>> >>> cheers, >>> >>> mehul >>> >>> >>> >>> On Wed, Jan 22, 2014 at 3:41 PM, Peter Salazar wrote: >>> >>>> I've had success exporting org to HTML and using it with >>>> http://gregfranko.com/jquery.tocify.js/ - which automatically >>>> generates a dynamically updating table of contents based on HTML headings >>>> and uses a Bootstrap theme and Bootstrap CSS. >>>> >>>> >>>> >>>> On Wed, Jan 22, 2014 at 3:35 PM, Mehul Sanghvi >>> > wrote: >>>> >>>>> On Sat, Apr 6, 2013 at 5:37 AM, Marc Seibert wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> After using jekyll and o-blog a while I just fiddled around more in >>>>>> depth with org-publishing. >>>>>> I must say it is starting to convince me to stop using to wrapp my >>>>>> org generated html files with a wrapper like jekyll etc. >>>>>> Org-publishing seems to have all I need to do it directly. >>>>>> >>>>>> But I need an advice how to get better integration with twitter >>>>>> bootstrap css which I realy like. >>>>>> I know there is HTML_CONTAINER_CLASS etc. but I don't want to define >>>>>> the class and the id once for every heading, table etc. >>>>>> What would be the best option for setting this globally? >>>>>> Should I edit org-htmlize.el or something like this or is there a way >>>>>> of defining the different class names with an easier way? >>>>>> >>>>>> Regards >>>>>> Marc Seibert >>>>>> >>>>>> >>>>> >>>>> I find myself in the same situation, having gone through both o-blog >>>>> and jekyll previously. Were you able to find a solution ? >>>>> What was it ? Is there anyone using anything else than the CSS that >>>>> ogr-mode uses ? >>>>> >>>>> >>>>> >>>>> -- >>>>> Mehul N. Sanghvi >>>>> email: mehul.sanghvi@gmail.com >>>>> >>>> >>>> >>> >>> >>> -- >>> Mehul N. Sanghvi >>> email: mehul.sanghvi@gmail.com >>> >> >> > > > -- > Mehul N. Sanghvi > email: mehul.sanghvi@gmail.com > --047d7b678614e10de104f0bd97a0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Great, keep me posted! I'm interested in other ways to= incorporate javascript/jQuery plugins into org HTML export (dynamic naviga= tion, lightbox and image handling, etc). So far I've incorporated Tocif= y, lightbox, and inline modal footnotes. Let me know what you come up with!=



On Fri, Jan 24, 2014 at 2:46 PM, Mehul Sanghvi= <mehul.sanghvi@gmail.com> wrote:

Thanks. =A0That he= lps a lot and gives me some other ideas as well.

<= br>
cheers,

=A0 =A0 =A0 mehul



On Fri, Jan 24, 2014 at 12:00 AM, Peter = Salazar <cycleofsong@gmail.com> wrote:
Here you go.=A0

Again, it's not very bootstrapish a= side from Toficy, which uses Bootstrap colors and fonts.=A0

That said, I have found using Tocify's auto-generat= ed dynamic table of contents quite helpful.

Tocify= is by Greg Franco and is here:





On Wed, Jan 22, 2014 = at 4:17 PM, Mehul Sanghvi <mehul.sanghvi@gmail.com> wr= ote:
Peter,

= =A0 =A0 =A0Do you have an example of an org file in which you use it ?


cheers,

=A0 =A0 =A0 =A0m= ehul



On Wed, Jan 22, 2014 at 3:41 PM, Peter S= alazar <cycleofsong@gmail.com> wrote:
I've had success exporting org to HTML and using it wi= th ht= tp://gregfranko.com/jquery.tocify.js/ - which automatically generates a= dynamically updating table of contents based on HTML headings and uses a B= ootstrap theme and Bootstrap CSS.=A0



On Wed, Jan 22, 2014 at 3:35 PM, Mehul Sanghvi <mehul.s= anghvi@gmail.com> wrote:
=
On Sat, Apr 6, 2013 at 5:37 AM, Marc S= eibert <org@foogu.de> wrote:
Hi,

After using jekyll and o-blog a while I just fiddled around more in depth w= ith org-publishing.
I must say it is starting to convince me to stop using to wrapp my org gene= rated html files with a wrapper like jekyll etc.
Org-publishing seems to have all I need to do it directly.

But I need an advice how to get better integration with twitter bootstrap c= ss which I realy like.
I know there is HTML_CONTAINER_CLASS etc. but I don't want to define th= e class and the id once for every heading, table =A0etc.
What would be the best option for setting this globally?
Should I edit org-htmlize.el or something like this or is there a way of de= fining the different class names with an easier way?

Regards
Marc Seibert



I find myself in the s= ame situation, having gone through both o-blog and jekyll previously. =A0We= re you able to find a solution ?=A0
What wa= s it ? =A0Is there anyone using anything else than the CSS that ogr-mode us= es ?=A0



-- =
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com




--
= Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com




--
= Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

--047d7b678614e10de104f0bd97a0--