groff
[Top][All Lists]
Advanced

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

Re: [Groff] Attaching a string to the beginning of each line?


From: Werner LEMBERG
Subject: Re: [Groff] Attaching a string to the beginning of each line?
Date: Wed, 20 Nov 2002 09:48:09 +0100 (CET)

> > It is on my TODO list to implement \X[...] for all X (similar to
> > sqtroff).
>
> You may remove it - I've already done that as part of the coming
> improved "image" patch. I known it is not very related to images,
> perhaps, but I happened to be digging in the right territory.
> 
> It allows any of the pairs [], {}, () and <> to be used together
> with all relevant \X''. It really enhances the readability of some
> expressions IMHO.

Hmm, do you really think that allowing (...) is a good idea?  First,
an opening parenthesis is used unpaired in things like \(xx, second,
parentheses already serve to group mathematical expressions.  I favor
[] and {} only for \X and related escapes which hold string-like data.

> An added possible benefit is that it should also allow () to be used as
> delimiters for numbers, like in \h(1c).

Why is this a benefit?

> I have not done so yet, but presumably that should be ok? <> should
> probably still not be allowed for numbers.

For consistency I think only [] should be used here.

> PS: If you like, I can seperate this out as a patch by itself, by I
> would prefer if you wait untill everything is in place.

Don't rush.  But a separate patch would be indeed nice.


    Werner

reply via email to

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