groff
[Top][All Lists]
Advanced

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

Re: [Groff] inconsistencies with color specification


From: Bernd Warken
Subject: Re: [Groff] inconsistencies with color specification
Date: Sat, 27 Oct 2001 12:40:01 +0200
User-agent: Mutt/1.2.5i

On Sat, Oct 27, 2001 at 12:50:51AM +0200, Werner LEMBERG wrote:
> 
> To be really conformant with the troff output format, the following
> would be ideal:
> 
>   m r red green blue
>   m k cyan magenta yellow black
>   m c cyan magenta yellow
>   m g gray
>   m d
> 
If the arguments are garanteed to have a fixed length the separating
blank can be omitted.  But if an argument has a variable length it must
be followed by white space.

The groff_out parser can handle integers or strings; floats are not
implemented so far.  It would be easy to write a function to read in
C-style floats or hex values (0x...) while strange formats of the args
would be more difficult.

Bernd


reply via email to

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