tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc should warn on duplicate section names
@ 2018-04-20  3:11 Anthony J. Bentley
  0 siblings, 0 replies; only message in thread
From: Anthony J. Bentley @ 2018-04-20  3:11 UTC (permalink / raw)
  To: tech

Hi,

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 tech+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-20  3:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20  3:11 mandoc should warn on duplicate section names Anthony J. Bentley

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).