From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Seeking advice on a worg contribution Date: Tue, 06 May 2014 08:45:58 +0200 Message-ID: References: <87ha545f89.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhZ8n-0002bG-K1 for emacs-orgmode@gnu.org; Tue, 06 May 2014 02:46:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhZ8e-0006Bz-HS for emacs-orgmode@gnu.org; Tue, 06 May 2014 02:46:13 -0400 Received: from mail-forward1.uio.no ([2001:700:100:10::70]:42934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhZ8e-0005js-5j for emacs-orgmode@gnu.org; Tue, 06 May 2014 02:46:04 -0400 Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1WhZ81-0002B8-5B for emacs-orgmode@gnu.org; Tue, 06 May 2014 08:45:25 +0200 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: James Harkins Cc: orgmode James Harkins writes: >> The HTML code produced by the normal HTML export, which is what I assume >> Worg uses, has the captions as special label classes (org-src-name) so >> CSS could easily be defined if not there already. > > Let's assume I'm an HTML idiot (which is true...). Is it really true, > according to [1], that the only way to add this CSS class definition is to > put it in a separate file and link it? It seems to be the only *documented* > method. > > [1] http://orgmode.org/manual/CSS-support.html#CSS-support Hi, This is the bit of [1] that you were looking for: "You could also directly write a section in this way, without referring to an external file." Like this: #+HTML_HEAD: (I haven't gone back over the discussion to see what you want to do with captions, so coloring them blue is just an example.) You can also use multiple HTML_HEAD lines, e.g.: #+HTML_HEAD: ...but if you have more than a few of those, you *will* want to put them in a separate file and link them. Yours, Christian