|
From: | Tadziu Hoffmann |
Subject: | Re: [Groff] Comments affecting groff output? |
Date: | Wed, 13 Jul 2011 23:07:22 +0200 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
> I have come across a very strage situation in which > the behaviour of groff seems to depend on: > > a. whether it happens in a diversion or not and > b. the presence of a comment. Multiline conditionals are a bit tricky. The following conditionals should work: .if condition stuff .if condition \ stuff .if condition \{stuff\} .if condition \{\ stuff\} .if condition \{\ stuff more stuff\} .if condition \{\ stuff more stuff .\} .if condition \{.\" comment stuff more stuff .\} Note the "dot" version of the comment in the last example.
[Prev in Thread] | Current Thread | [Next in Thread] |