9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Quick ms macros question
@ 2008-11-12 15:19 Gregory Pavelcak
  2008-11-12 16:12 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Gregory Pavelcak @ 2008-11-12 15:19 UTC (permalink / raw)
  To: 9fans

This is a bit more mundane than recent discussions, but I
noticed that the ms macros contain this

	.ie h .ll \\n(LLu
	.el \{\
	.ll 5.0i
	.if n .if \\n(TN .ll 29
	.if t .if \\n(TN .ll 3.5i \}

as part of .de TL. What is '.ie h'? I thought the only single character
conditions were e, o, n, or t. /sys/doc/troff confirms this, and a look
at the sources left me wondering. So, again, what does '.ie h' mean?

Thanks.

Greg



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] Quick ms macros question
  2008-11-12 15:19 [9fans] Quick ms macros question Gregory Pavelcak
@ 2008-11-12 16:12 ` Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2008-11-12 16:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, Nov 12, 2008 at 7:19 AM, Gregory Pavelcak
<g.pavelcak@comcast.net> wrote:
> This is a bit more mundane than recent discussions, but I
> noticed that the ms macros contain this
>
>        .ie h .ll \\n(LLu
>        .el \{\
>        .ll 5.0i
>        .if n .if \\n(TN .ll 29
>        .if t .if \\n(TN .ll 3.5i \}
>
> as part of .de TL. What is '.ie h'? I thought the only single character
> conditions were e, o, n, or t. /sys/doc/troff confirms this, and a look
> at the sources left me wondering. So, again, what does '.ie h' mean?

In troff, h, like any other single-character that's not e o n t, is
always false.
In htmlroff, h is true.

Russ


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-12 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 15:19 [9fans] Quick ms macros question Gregory Pavelcak
2008-11-12 16:12 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).