groff
[Top][All Lists]
Advanced

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

Re: [Groff] surprise, surprise


From: Andrew Koenig
Subject: Re: [Groff] surprise, surprise
Date: Sun, 26 Aug 2001 10:24:55 -0400 (EDT)

> Consider the following example:

>   .de test
>   Hallo!
>   ..
>   \fB.test\fP

> Surprisingly, this yields

>   Hallo!

> Even more surprising is the fact that it isn't bold...

> Is this documented?  How does UNIX troff behave?

Unix troff produces no output for this example.

The relevant behavior is documented in the very first paragraph of
the troff manual, which says:

   Input consists of `text lines', which are destined to be printed,
   interspersed with `control lines', which set parameters or
   otherwise control subsequent processing.  Control lines begin with
   a `control character'--normally .  (period) or ' (single quote)--
   followed by a one or two character name that specifies a basic
   `request' or the substitution of a user-defined `macro' in place of
   the control line.

-- 
Andrew Koenig, address@hidden, http://www.research.att.com/info/ark

reply via email to

[Prev in Thread] Current Thread [Next in Thread]