[BACK]Return to if.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / cond

Annotation of mandoc/regress/roff/cond/if.in, Revision 1.1

1.1     ! schwarze    1: .TH IF 1 "June 27, 2015" OpenBSD
        !             2: .SH NAME
        !             3: if \- the roff conditional instruction
        !             4: .SH DESCRIPTION
        !             5: .if n One-line true condition.
        !             6: .if t One-line false condition.
        !             7: .if n
        !             8: Next-line empty true condition.
        !             9: .if t
        !            10: Next-line empty false condition.
        !            11: .br
        !            12: False condition with whitespace:
        !            13: .br
        !            14: .if t
        !            15: True condition with whitespace:
        !            16: .if n
        !            17: .if n \{One-line true cond\}ition with block.
        !            18: .if t \{One-line false cond\}ition with block.
        !            19: .br
        !            20: .if n \{  One-line true cond\}ition with block with leading blanks.
        !            21: .if t \{  One-line false cond\}ition with block with leading blanks.
        !            22: .br
        !            23: .if n \{Two-line true condition
        !            24: without cont\}inuation and macros.
        !            25: .if t \{Two-line false condition
        !            26: without cont\}inuation and macros.
        !            27: .br
        !            28: .if n \{Two-line true condition
        !            29: .B without cont\}inuation but with macros.
        !            30: .if t \{Two-line false condition
        !            31: .B without cont\}inuation but with macros.
        !            32: .br
        !            33: .if n \{\
        !            34: Two-line true condition
        !            35: with continuation and macros.
        !            36: .\}This will not be printed.
        !            37: .if t \{\
        !            38: Two-line false condition
        !            39: with continuation and macros.
        !            40: .\}This will not be printed.
        !            41: .br
        !            42: .if n \{
        !            43: Two-line true condition with blank line.\}
        !            44: .if t \{
        !            45: Two-line false condition with blank line.\}
        !            46: .br
        !            47: .if n \{Outer true condition.
        !            48: .br
        !            49: .if n Inner one-line true condition.
        !            50: .if t Inner one-line false condition.
        !            51: .br
        !            52: .if n \{Inner two-line true condition
        !            53: without continuation and macros.\}
        !            54: .if t \{Inner two-line false condition
        !            55: without continuation and macros.\}
        !            56: .br
        !            57: Back to the outer true condition.\}
        !            58: .br
        !            59: .if t \{Outer false condition.
        !            60: .br
        !            61: .if n Inner one-line true condition.
        !            62: .if t Inner one-line false condition.
        !            63: .br
        !            64: .if n \{Inner two-line true condition
        !            65: without continuation and macros.\}
        !            66: .if t \{Inner two-line false condition
        !            67: without continuation and macros.\}
        !            68: .br
        !            69: Back to the outer false condition.\}
        !            70: .br
        !            71: .if n \{Outer true condition.
        !            72: .if t \{Inner false condition.
        !            73: inner\}middle\}end
        !            74: After conditional.
        !            75: .br
        !            76: .if n \{Outer true condition.
        !            77: .if t \{Inner false condition.
        !            78: .\}middle\}end
        !            79: After conditional.
        !            80: .br
        !            81: .if n \{Outer true condition.
        !            82: .if n \{Inner true condition.
        !            83: .\}middle\}end
        !            84: After conditional.
        !            85: .br
        !            86: .if n \{Outer true condition.
        !            87: .if t \{Inner false condition.
        !            88: .B\}middle\}end
        !            89: After conditional.
        !            90: .br
        !            91: Backslash-backslash-brace in text:
        !            92: .if t \{This text is not printed.\\}
        !            93: This neither.\}
        !            94: On a macro line:
        !            95: .if t \{.B This text\\} is not printed.
        !            96: .B This\} neither.
        !            97: End.

CVSweb