From mboxrd@z Thu Jan 1 00:00:00 1970 From: Saptarshi Guha Subject: Re: htmlize with one lang mode but output a different class name in HTML export Date: Thu, 12 Mar 2009 00:29:21 -0400 Message-ID: <1e7471d50903112129m157a8809oa03dac10a5020b8d@mail.gmail.com> References: <1e7471d50903111736w3f6770cdj230af7fda7324873@mail.gmail.com> Reply-To: saptarshi.guha@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhcXr-0006Mf-Qu for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 00:29:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhcXq-0006MT-Fm for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 00:29:22 -0400 Received: from [199.232.76.173] (port=55500 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhcXq-0006MQ-9k for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 00:29:22 -0400 Received: from yw-out-1718.google.com ([74.125.46.152]:12537) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhcXq-0000HJ-1A for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 00:29:22 -0400 Received: by yw-out-1718.google.com with SMTP id 6so614300ywa.66 for ; Wed, 11 Mar 2009 21:29:21 -0700 (PDT) In-Reply-To: <1e7471d50903111736w3f6770cdj230af7fda7324873@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org My work around was to create a derived mode. And #+BEGIN_SRC R-example did the trick. Saptarshi Guha On Wed, Mar 11, 2009 at 8:36 PM, Saptarshi Guha wrote: > Hello Org users, > I primarily use org-mode for writing notes in the form of web sites. I ha= ve =C2=A0a > question. > I wish to format some code written in the R language. > > #+BEGIN_SRC R > y<-function(r){ > =C2=A0##do something > } > #+END_SRC > > This is okay, and my css files properly formats the =3Dsrc-R=3D css class= . > However I would like to display some examples in R, but would like it to = be > formatted slightly differently, say a differently colored border. > I tried wrapping the above in a DIV ,however, =3Dsrc-R=3D draws a border,= thus > over-riding the DIV's border. What I need is a
 instead of 
>
> Is there a hook to outputs the 
 So if I requested
> BEGIN_SRC Rexample, it would htmlize with R and insert =C2=A0
 src-Rexample"..
>
>
> Thanks
> Saptarshi
>