lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: Pygments support for LilyPond


From: David Kastrup
Subject: Re: ANN: Pygments support for LilyPond
Date: Mon, 22 Nov 2021 16:34:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Werner LEMBERG <wl@gnu.org> writes:

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

No?

8.5 '@verbatim': Literal Text
=============================

Use the '@verbatim' environment for printing of text that may contain
special characters or commands that should not be interpreted, such as
computer input or output ('@example' interprets its text as regular
Texinfo commands).  This is especially useful for including
automatically generated files in a Texinfo manual.

-- 
David Kastrup



reply via email to

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