groff
[Top][All Lists]
Advanced

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

Re: [Groff] nroff vs. troff conditional using escapes?


From: Ralph Corderoy
Subject: Re: [Groff] nroff vs. troff conditional using escapes?
Date: Sat, 23 Feb 2008 11:24:33 +0000

Hi Michael,

> What I mean is that I'd like to be able to do something like this:
> 
>   For more information, see the \n[troff]Description\n[troff]
>   \n[nroff]DESCRIPTION\n[nroff] section.

Use Werner's macro idea but maybe add in

    .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
    .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz

so you only have to enter one word and have troff turn it into all
upper-case.

Cheers,


Ralph.





reply via email to

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