cptcss (1) - Linux Manuals

cptcss: create CSS fragment for colouring HTML tables.

NAME

cptcss - create CSS fragment for colouring HTML tables.

SYNOPSIS

cptcss [-h] [-f format] [-v] [-V] [file]

DESCRIPTION

The cptcss utility prints a fragment of CSS which can be used to colour the cells of an HTML table, the colours specified by a colour palette table (cpt) file.

The cpt file to use is specified by the final argument. If no cpt file is specified then the program will read from stdin. Output is written to stdout.

The input cpt should be a discrete (since the output CSS is) and each colour level in the file will lead to a CSS class directive for the <td> element. The class name can be modified from the default "cptcss-%i" by using the -f option.

OPTIONS

-h, --help

Brief help.

-f, --format string

The format to use for the <td> class name, which should include a single integer specifier "%i" which will enumerate the classes. The default value is "cptcss-%i".

-v, --verbose

Verbose operation.

-V, --version

Version information.

AUTHOR

J.J. Green

SEE ALSO

GMT(1), svgcss3(1).