[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: Pygments support for LilyPond
From: |
Werner LEMBERG |
Subject: |
Re: ANN: Pygments support for LilyPond |
Date: |
Mon, 22 Nov 2021 21:40:20 +0000 (UTC) |
>> Thanks. Please apply the attached patch to `texinfo.tex` to make
>> `@setcolor` work in `@example` environments; it is necessary to
>> temporarily make a space character behave normally.
>
> Thanks a lot! I'll test it as soon as possible.
Note that the actual command to be used by 'pygments' shouldn't be
`@setcolor` but rather a texinfo macro, say, `@color`:
```
@color{<color>}{<colored text>}
```
This macro would be a no-op for the info format, and both the TeX and
HTML implementations would put the `@setcolor` command into a 'group'
so that a previous colour would be restored after calling `@color`.
Werner
- Re: ANN: Pygments support for LilyPond, (continued)
- Re: ANN: Pygments support for LilyPond, Jonas Hahnfeld, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/22
- Re: ANN: Pygments support for LilyPond, James, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Phil Holmes, 2021/11/23
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/23
- Re: ANN: Pygments support for LilyPond,
Werner LEMBERG <=