[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lilypond-book] @format environments
From: |
Werner LEMBERG |
Subject: |
Re: [lilypond-book] @format environments |
Date: |
Tue, 30 Jun 2020 09:23:05 +0200 (CEST) |
> @format
> @exampleindent 0
> @verbatim
> \relative {
> a4 b c d
> }
> @end verbatim
> @end format
>
> [...]
>
> What I do not understand here: The @verbatim environment is not
> indented by default, as far as I can see. What is the reason to set
> '@exampleindent 0', here?
>
> (And the enclosing @format environment to scope the effect of
> @exampleindent 0)
I think this was implemented to work around bugs in older texinfo
distributions. In particular, the `makeinfo` binary and the
`texinfo.tex` file often did different things; IIRC, the code above
ensured identical behaviour for HTML, info, and PDF output.
This has improved a lot meanwhile and could be simplified.
Werner