tech@mandoc.bsd.lv
 help / color / 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, back to index

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

tech@mandoc.bsd.lv

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mandoc-tech

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.tech


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git