Remove references to pygments as optional

This commit is contained in:
Oliver Bristow 2018-08-04 21:40:00 +01:00 committed by Oliver Bristow
commit 7416655535
No known key found for this signature in database
GPG key ID: FF13F04BD2C87186

View file

@ -54,8 +54,8 @@ Before interpreting the matched string as a number, colout will remove any
character not supposed to be used to write down numbers. This permits to apply character not supposed to be used to write down numbers. This permits to apply
this special color on a large group, while interpreting only its numerical part. this special color on a large group, while interpreting only its numerical part.
If the python3-pygments library is installed, you can use the name of a You can use the name of a syntax-coloring ["lexer"](http://pygments.org/docs/lexers/)
syntax-coloring "lexer" as a color (for example: "Cpp", "ruby", "xml+django", etc.). as a color (for example: "Cpp", "ruby", "xml+django", etc.).
If GIMP palettes files (\*.gpl) are available, you can also use their names as a If GIMP palettes files (\*.gpl) are available, you can also use their names as a
colormap (see the `-P` switch below). colormap (see the `-P` switch below).
@ -68,8 +68,7 @@ When not specified, a *COLOR* defaults to _red_ and a *STYLE* defaults to _bold_
`colout` comes with some predefined themes to rapidly color well-known outputs `colout` comes with some predefined themes to rapidly color well-known outputs
(see the `-t` switch below). (see the `-t` switch below).
If the python3-pygments library is available, `colout` can be used as an interface `colout` can be used as an interface to pygments (see also the `--source` switch below).
to it (see also the `-s` switch below).
To have a list of all colors, styles, special colormaps, themes, palettes and lexers, To have a list of all colors, styles, special colormaps, themes, palettes and lexers,
use the `-r` switch (see below). use the `-r` switch (see below).