groff
[Top][All Lists]
Advanced

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

Re: Visual Color Reference with Swatches


From: Deri
Subject: Re: Visual Color Reference with Swatches
Date: Mon, 31 Jul 2023 13:07:28 +0100

On Monday, 31 July 2023 10:05:18 BST Alexis wrote:
> Hello folks,
> 
> I was looking for a visual reference of all the colors available with
> GNU roff. Yet a quick search on the mailing list archive did not
> produce any meaningful results. If you believe I missed related
> threads I'd appreciate pointers to these.
> 
> Please find attached groff_colors.ms which "creatively" (ab)uses GNU
> roff to produce a PDF with visual color swatches.
> 
> The output of groff_colors.ms can be customized by:
> 
>   * setting the `hex` register to 1 to include the RGB hex code
>     for each color in the color swatch
> 
>   * defining the `src` string to display the colors for that output
>     device, if that device has a corresponding device.tmac with
>     color definitions using the .defcolor request.
>     Note that the colors for the ps device are also available for
>     the pdf device even though pdf.tmac does not define colors.

pdf.tmac includes ps.tmac so colours are defined.

Cheers

Deri

> Hopefully this proves useful to others.
> 
> 
> Best
> Alexis







reply via email to

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