groff
[Top][All Lists]
Advanced

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

Re: [Groff] Proposed revised START macro for mom


From: James J. Ramsey
Subject: Re: [Groff] Proposed revised START macro for mom
Date: Sat, 11 Jan 2003 05:01:34 -0800 (PST)

--- Peter Schaffter <address@hidden> wrote:
> Is there an
> advantage I'm not seeing to setting, say, the
> chapter string with
> 
>     .ds $CHAPTER_STRING <whatever>
> 
> instead of
> 
>     .CHAPTER_STRING <whatever>
> 
> in a document?

It depends on whether "$CHAPTER_STRING" has been
earmarked for users to redefine or not. If it's
earmarked, then users can count on it being available
from version to version of -mom, and the difference
between using the macro CHAPTER_STRING or directly
defining $CHAPTER_STRING is mostly a matter of
readability. Otherwise, for all a user knows,
"$CHAPTER_STRING" is just an internal string that may
get replaced, renamed, etc. This is less an issue of
coding and more an issue of convention and
documentation.



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

reply via email to

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