[Top][All Lists]

[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
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]