From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22808 invoked from network); 25 Mar 2022 12:27:11 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 25 Mar 2022 12:27:11 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 8fe62c47 for ; Fri, 25 Mar 2022 07:27:07 -0500 (EST) Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [129.13.231.81]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id e2833a21 for ; Fri, 25 Mar 2022 07:27:03 -0500 (EST) Received: from hekate.asta.kit.edu ([2a00:1398:5:f401::77]) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (envelope-from ) id 1nXj1x-005vS0-SB; Fri, 25 Mar 2022 13:27:02 +0100 Received: from login-1.asta.kit.edu ([2a00:1398:5:f400::72]) by hekate.asta.kit.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nXj1w-003uxB-Ai; Fri, 25 Mar 2022 13:27:00 +0100 Received: from schwarze by login-1.asta.kit.edu with local (Exim 4.92) (envelope-from ) id 1nXj1w-0005FK-NE; Fri, 25 Mar 2022 13:27:00 +0100 Date: Fri, 25 Mar 2022 13:27:00 +0100 From: Ingo Schwarze To: mario.blaettermann@gmail.com Cc: discuss@mandoc.bsd.lv Subject: Re: HTML output: section headers with diacritics not in table of contents Message-ID: References: X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Mario, Mario Blättermann wrote on Thu, Mar 24, 2022 at 06:13:23PM +0100: > recently I'm switched from GNU man-db to mandoc. It's really a big > step ahead, especially regarding the creation of HTML pages, but it > has its own peculiarities … > > For creating a HTML man page I use the following command: > > mandoc -T html -O toc ./manpage.1 > manpage.1.html You should really use the -O style=... and -O man=... options in addition to the options you are already using. Without "style", CSS support is next to absent; no real style sheet is linked to, and only a minimal style sheet is embedded with