emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Rustom Mody <rustompmody@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: CSS and cascading
Date: Sun, 29 Jun 2008 21:16:49 +0200	[thread overview]
Message-ID: <87A57AE0-ADA8-439C-B25E-EA041FA79C6D@uva.nl> (raw)
In-Reply-To: <f46c52560806260045h5a08cc18o35940169ddcbada2@mail.gmail.com>


On Jun 26, 2008, at 9:45 AM, Rustom Mody wrote:

> I am no CSS expert but as I understand the 'cascade' -- C in the CSS  
> -- is used so that one can compose a style piecemeal from simpler  
> styles.  If I use the suggestions of incorporating CSS given in the  
> org manual in the CSS support of HTML export (section 12.5.5) the  
> new CSS replaces the old.

I think this is a reasonable expectation.  While it is good that the  
user can replace the entire style info or point to a css file, I agree  
that there should also be a possibility to add to the default style  
specifications.

I have just implemented a new variable `org-export-html-style-extra'  
that can be used for this purpose.  The text in the new variable will  
be spliced into the style, just before the </style> tag.  Note that if  
you use the org-export-html-style variable to refer to a .css style  
*file*, org-export-html-style-extra will be ignored.

- Carsten

      parent reply	other threads:[~2008-06-29 19:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-26  7:45 CSS and cascading Rustom Mody
2008-06-26 11:58 ` Sebastian Rose
2008-06-26 14:37 ` Rustom Mody
2008-06-29 19:16 ` Carsten Dominik [this message]

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=87A57AE0-ADA8-439C-B25E-EA041FA79C6D@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rustompmody@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).