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: Michael(tm) Smith
Subject: Re: [Groff] nroff vs. troff conditional using escapes?
Date: Tue, 26 Feb 2008 14:01:57 +0900
User-agent: Mutt/1.5.14r5351+poontang (2008-01-29 21:06:38+09:00)

Clarke Echols <address@hidden>, 2008-02-25 20:56 -0700:

>     .PP
>     For more information, see the preceding section (\c
>     .t-or-n "Description\c" "DESCRIPTION\c"
>     ) or the
>     .t-or-n "Introduction" "INTRODUCTION"
>     section for this document.
> 
>  Also I should not have put the \c escapes in the second .t-or-n
>  line.

Thanks -- I hadn't know I could do what with \c.

So I think what would actually best for me to try to do is have
my app always generated the \c before and after the string, and to
preserve any whitespace that follows the string; like this:

  .PP
  For more information, see the preceding section (\c
  .t-or-n "Description\c" "DESCRIPTION\c"
  ) or the \c
  .t-or-n "Introduction\c" "INTRODUCTION\c"
   section for this document.

Is that safe in groff? I know it's now safe to have space at the
end of lines, but is it safe to have it at the beginning of line?

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike/
http://sideshowbarker.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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