]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/cond/before-Dd.out_ascii
implement the roff(7) d (macro or string defined) conditional
[mandoc.git] / regress / roff / cond / before-Dd.out_ascii
1 IF-BEFORE-DD(1) General Commands Manual IF-BEFORE-DD(1)
2
3 N\bNA\bAM\bME\bE
4 i\bif\bf-\b-b\bbe\bef\bfo\bor\bre\be-\b-D\bDd\bd - end of if block on its own line before Dd
5
6 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
7 In an old version of mandoc(1), mdoc(7) file format autodetection failed
8 when the end of an i\bif\bf block stood on its own line before the initial
9 mdoc(7) D\bDd\bd macro. The file was mishandled as man(7) and parsing failed
10 with unknown macro errors.
11
12 If the present document looks like a proper mdoc(7) document and the
13 following display reads "mytext", then the problem did not come back:
14
15 mytext
16
17 OpenBSD May 27, 2012 OpenBSD