emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: James Harkins <jamshark70@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Seeking advice on a worg contribution
Date: Tue, 6 May 2014 08:30:05 +0100	[thread overview]
Message-ID: <87zjivgy9u.fsf@ucl.ac.uk> (raw)
In-Reply-To: f4d6444a-92b3-4378-ab2a-8c8640c2c8ef@dewdrop-world.net

On Tuesday,  6 May 2014 at 10:17, James Harkins wrote:

[...]

> 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.

No, you can put definitions in the org file directly as part of the HTML
header, as in this example which changes the behaviour for the whole
document body and how figures are presented:

#+begin_src org
  ,#+HTML_HEAD: <style type="text/css"><!-- 
  ,#+HTML_HEAD:  body { font-family: sans; font-size: 12pt; line-height: 1.4em; }
  ,#+HTML_HEAD:  div.figure { font-size: 10pt; font-style: italic; }
  ,#+HTML_HEAD: --></style>
#+end_src

You will be able to define the CSS for your code block caption in a
similar way.

eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-937-g60502a

  parent reply	other threads:[~2014-05-06  8:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04  1:38 Seeking advice on a worg contribution James Harkins
2014-05-05 17:04 ` Eric S Fraga
2014-05-06  2:17   ` James Harkins
2014-05-06  6:45     ` Christian Moe
2014-05-06  7:30     ` Eric S Fraga [this message]
2014-05-06 10:08 ` Bastien
2014-05-06 11:46   ` James Harkins
2014-05-06 12:35     ` Bastien
2014-05-06 14:41   ` James Harkins
2014-05-07  9:08     ` Bastien

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=87zjivgy9u.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@gmail.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).