NetBSD-Bugs archive

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

bin/56472: mandoc does not complain about missing closes

>Number:         56472
>Category:       bin
>Synopsis:       mandoc does not complain about missing closes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 28 10:20:00 +0000 2021
>Originator: (Kimmo Suominen)
>Release:        NetBSD 9.99.92 (202110262340Z)
System: NetBSD 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Tue Oct 26 23:37:40 UTC 2021 amd64
Architecture: x86_64
Machine: amd64

	Running nroff on a document where an .It appears inside an open
	element (e.g. .So) results in an error:

	mdoc error: .It found in enclosing (e.g. .Ac ... .It ... .Ao) (#258)

	Running mandoc on the same document produces no such error.

	It would be helpful for mandoc to complain about any and all missing
	closes. (I feel that nroff is doing it here almost by accident.)


	Obtain revision 1.31 of src/lib/libc/stdio/mktemp.3 and run it
	through nroff and mandoc.

	ftp -o mktemp.3 ''
	nroff -mdoc mktemp.3
	mandoc mktemp.3


Home | Main Index | Thread Index | Old Index