[Geany] Geany Newsletter Vol. 2
Frank Lanitz
frank at xxxxx
Mon May 23 08:33:05 UTC 2011
Am 23.05.2011 10:08, schrieb Lex Trotman:
>> Me too. Unfortunately I wasn't able to create this by using RST but
>> failed. Input is welcome.
>>
>
> Replace the h1 and h2 CSS definitions with the following:
>
> body { counter-reset: counter1; counter-reset: counter2; }
> h1:before { content: counter(counter1) " "; }
> h1.title:before { content: ""; }
> h1 { counter-increment: counter1; counter-reset: counter2; font-size: 1.4em }
> h2:before { content: counter(counter1) "." counter(counter2) " "; }
> h2 { counter-increment: counter2; font-size: 1.3em }
Its not only about the html, but also the generated PDF as well as the
plain text version.
Cheers,
Frank
More information about the Users
mailing list