[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generic color support for `texinfo.tex`
From: |
Patrice Dumas |
Subject: |
Re: generic color support for `texinfo.tex` |
Date: |
Mon, 20 Dec 2021 17:01:38 +0100 |
On Wed, Nov 24, 2021 at 03:17:22PM +0000, Werner LEMBERG wrote:
>
> Hello Gavin,
>
>
> For the LilyPond documentation we are going to use `pygments` to do
> automatic colour highlighting of LilyPond snippets. We also want to
> support this feature in the PDF manuals. To do so I ask you to apply
> something like the following patch to make `@setcolor` work in
> `@example` environments, too.
I don't know if it is relevant or not, but, for HTML, there is an init
file, tp/init/highligh_syntax.pm that uses source-highlight to highlight
@example blocks based on the language argument.
--
Pat