Annotation of mandoc/regress/roff/cond/before-Dd.in, Revision 1.1
1.1 ! schwarze 1: .if n \{.ds mystring mytext
! 2: .\}
! 3: .Dd May 27, 2012
! 4: .Dt IF-BEFORE-DD 1
! 5: .Os OpenBSD
! 6: .Sh NAME
! 7: .Nm if-before-Dd
! 8: .Nd end of if block on its own line before Dd
! 9: .Sh DESCRIPTION
! 10: In an old version of
! 11: .Xr mandoc 1 ,
! 12: .Xr mdoc 7
! 13: file format autodetection failed when the end of an
! 14: .Ic if
! 15: block stood on its own line before the initial
! 16: .Xr mdoc 7
! 17: .Ic Dd
! 18: macro.
! 19: The file was mishandled as
! 20: .Xr man 7
! 21: and parsing failed with unknown macro errors.
! 22: .Pp
! 23: If the present document looks like a proper
! 24: .Xr mdoc 7
! 25: document and the following display reads
! 26: .Dq mytext ,
! 27: then the problem did not come back:
! 28: .Bd -ragged -offset indent
! 29: \*[mystring]
! 30: .Ed
CVSweb