groff
[Top][All Lists]
Advanced

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

Re: [Groff] Nesting font macros in man pages


From: Steffen Nurpmeso
Subject: Re: [Groff] Nesting font macros in man pages
Date: Sat, 29 Apr 2017 00:12:18 +0200
User-agent: s-nail v14.9.0-pre4-20-g5500e891

i wrote:
 |Ingo Schwarze <address@hidden> wrote:
 ||Steffen Nurpmeso wrote on Tue, Apr 25, 2017 at 08:19:21PM +0200:
 ...
 ||P.S.
 ||Only bacause i'm replying anyway and it's just five lines:
 |
 |Sure.
 |
 ||>   .Op : Ns Fl c Ar cc-addr Ns \&:
 ||>   .Fl S Ar var Ns Op Ns = Ns Ar value Ns
 ||
 ||That's full of cargo cult, things are actually much simpler
 ||even for describing such unusually complicated syntax:
 ||
 ||.Oo : Ns Fl c Ar cc-addr : Oc
 ||.Eo [: Fl c Ar cc-addr Ec :]
 |
 |  .Op : Ns Fl c Ar cc-addr Ns \&:
 |  .Eo [: Fl c Ar cc-addr Ns :] Ec
 |  .Oo : Ns Fl c Ar cc-addr : Oc
 |
 |I would like the last one best, if the Ns could go from the front.

Actually i now see it was on purpose: with .Oo .. .Oc and without
the .Ns stuff there may appear linebreaks inside an option, which
i wanted to avoid.

--steffen



reply via email to

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