emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] outline formatting in html


From: Christian Moe
Subject: Re: [O] outline formatting in html
Date: Fri, 06 May 2011 11:32:56 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Hi,

That would be a good feature to have. While waiting for someone to patch it in, a workaround for HTML output would be to turn off section numbering and then fake it with CSS. I enclose a four-level example I happen to have lying around. You can extend if needed (note that the title becomes h1, so the top-level heading is h2).

Yours,
Christian



On 5/6/11 5:59 AM, Skip Collins wrote:
I thought this would be easy. But I cannot find a way to get html
formatted the way I want. I would like to view org content in
"traditional" outline format, with indentation, Roman numerals for
the top level heading, etc:

  I. This is a top level heading
II. Here is another level-1 heading
     A. Here is a level 2 heading
         1. This is a level-3 heading
         2. Another level-3
             a. Level-4
             b. Another level-4
                 (1) Level-5
                     (a) Level-6
     B. Another level 2

When I customize org-export-section-number-format, I do not get
exactly what I want in html output. All heading numbers include
higher level numbers, e.g. II.A.2.b. I am looking for a less cluttered
output in which a heading only includes the single counter for its level.



Attachment: css-simple-outline.css
Description: Text Data

Attachment: css-simple-outline.org
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]