help / color / mirror / Atom feed
From: "Anthony J. Bentley" <>
Subject: mandoc should warn on duplicate section names
Date: Thu, 19 Apr 2018 21:11:04 -0600	[thread overview]
Message-ID: <> (raw)


From mdoc(7):

     [Section/Subsection] names should be unique so that they may be
     keyed by Sx.

Breaking this rule has at least two negative effects:

 - Generates duplicate ID attributes in -Thtml, breaking HTML validation
 - Makes jumping to the second section impossible in less or a browser

It would be nice to have this as a -Tlint rule.

Anthony J. Bentley
 To unsubscribe send an email to

                 reply	other threads:[~2018-04-20  3:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: mandoc should warn on duplicate section names' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).