[Top][All Lists]

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

Re: [Groff] conditional logic based on device?

From: Werner LEMBERG
Subject: Re: [Groff] conditional logic based on device?
Date: Tue, 19 Feb 2008 10:15:57 +0100 (CET)

> Is there a way I can mark up a certain chunk of groff code/markup so
> that it's used only for a particular device but not for others?

Clarke has already mentioned the `n' and `t' conditionals.  If this
distinction isn't fine enough, use the \*[.T] string register which
holds the name of the output device.  Example:

  .ie '\*[.T]'ps' \{\
  .el \{\


reply via email to

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