groff
[Top][All Lists]
Advanced

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

groff_www subsections: indentation and TOC


From: Hans Unzner
Subject: groff_www subsections: indentation and TOC
Date: Fri, 16 Apr 2021 18:58:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi,

when converting a man page with /groff -man -Thtml, /the subsections (.SS) in the HTML file have the same indentation level as a normal paragraph. In the terminal man page it has a nice indentation that is somewhere between the section heaading and the paragraph. Is there any way so make groff to indent the subsection or to create <h3></h3> HTML-tags for it? As a workaround at the moment I'm using a macro that does some conditional formatting depending on the file type.

My second question:
The TOC seems to be always automatically generated, but only for the section headings (.SH). I would like to have also the subsection headings (.SS) in the TOC. Is that possible?

Best regards and thanks for your help,
Hans


reply via email to

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