[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 14:22:38 +0000 (UTC) |
>> However, it would be necessary to define a special version of the
>> `@verbatim` environment (similar to LaTeX's `minted` environment)
>> that recognizes color changes. This is certainly doable and
>> probably not too difficult, but I currently have other things to
>> do. Maybe it's best to open an issue.
>
> Well, we usually use @example rather than @verbatim in the
> documentation because it is indented in PDF, and much more nicely
> formatted in HTML (see
> https://lilypond.org/doc/v2.22/Documentation/notation/table-of-contents
> for an ugly page using @verbatim).
`@example` is a verbatim environment, too.
> However, trying to use @setcolor or @pdfsetcolor in @example, I fail
> to get it to work: using TeX, the color command outright wipes
> everything following it in the document, and using XeTeX (with
> PDFTEX=xetex texi2pdf ...) it doesn't wipe but doesn't show any
> effect either.
Example, please.
Werner
- ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/21
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/21
- Re: ANN: Pygments support for LilyPond, Werner LEMBERG, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/22
- Re: ANN: Pygments support for LilyPond,
Werner LEMBERG <=
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Werner LEMBERG, 2021/11/22
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/23
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/23
- Re: ANN: Pygments support for LilyPond, Werner LEMBERG, 2021/11/23
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/24
- Re: ANN: Pygments support for LilyPond, Werner LEMBERG, 2021/11/24
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/24
- Re: ANN: Pygments support for LilyPond, Werner LEMBERG, 2021/11/24
- Re: ANN: Pygments support for LilyPond, Jean Abou Samra, 2021/11/24