[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org-mode version 5.13
From: |
Mike Newman |
Subject: |
Re: [Orgmode] Org-mode version 5.13 |
Date: |
Mon, 22 Oct 2007 22:38:24 +0100 |
On Sat, 20 Oct 2007 11:30:29 +0100
Bastien <address@hidden> wrote:
> Hello all,
>
> Carsten Dominik <address@hidden> writes:
>
> > - The table of context is wrapped into a div with a class
> > "table-of-contents".
>
> This should be "id", not "class", since there is only one instance of
> the table of contents - fixed in the proposed patch.
I think that class is the right thing here. We are saying that this is
a "table-of-contents" rather than this is the "table-of-contents". I
believe at present there is no mechanism to give more than one table of
contents, but someone, sometime might want tables of contents for
individual sections of a document.
>
> > - The outline structure is embedded in <div> elements with
> > classes "outline-1", "outline-2" etc.
>
> Classes are ok here.
>
This appears to be logical, but is in fact (I think) redundant. We can
specify the style to applied at different levels without using
class attributes. For example:
div { background-color: lightgray}
div > div { background-color: peachpuff}
div > div > div { background-color: green}
shows how different styling can be applied to level 1, level 2 and
level 3 (and above).
I think this has advantages (e.g. inheritance of unspecified
characteristics from higher levels) and leaves the class attribute free
to represent styling that is independent of the structure.
--
Mike
- [Orgmode] Org-mode version 5.13, Carsten Dominik, 2007/10/19
- Re: [Orgmode] Org-mode version 5.13, Adam Spiers, 2007/10/19
- Re: [Orgmode] Org-mode version 5.13, Bastien, 2007/10/20
- Re: [Orgmode] Org-mode version 5.13,
Mike Newman <=
- [Orgmode] Re: Org-mode version 5.13, Nuutti Kotivuori, 2007/10/22
- Re: [Orgmode] Org-mode version 5.13, Bastien, 2007/10/22
- Re: [Orgmode] Org-mode version 5.13, Carsten Dominik, 2007/10/24
- Re: [Orgmode] Org-mode version 5.13, Dmitri Minaev, 2007/10/25
- Re: [Orgmode] Org-mode version 5.13, Mike Newman, 2007/10/26
- [Orgmode] Re: Org-mode version 5.13, Nuutti Kotivuori, 2007/10/25
- Re: [Orgmode] Org-mode version 5.13, Scott Jaderholm, 2007/10/23