lilypond-devel
[Top][All Lists]
Advanced

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

Re: Problem lilypond-book and fragments with quote and line-width


From: Reinhold Kainhofer
Subject: Re: Problem lilypond-book and fragments with quote and line-width
Date: Sun, 30 Mar 2008 00:41:49 +0100
User-agent: KMail/1.9.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Samstag, 29. März 2008 schrieb Reinhold Kainhofer:
> Unfortunately, the @exampleindent applies globally and is not confined to
> the @quotation environment :-( Also, I haven't found any other way to
> prevent @verbatim from indenting the code if it appears within a @quotation
> environment (if at top-level, there is no indentation...).
>
> Also, notice the comment in the texinfo docs (at the end of
> http://www.gnu.org/software/hello/manual/texinfo/verbatim.html):
>     "Finally, a word of warning: it is not reliable to use @verbatim inside
>       other Texinfo constructs. "
> I suppose we are running right into one of those cases here with
> lilypond-book.
>
> I suppose the only thing we can do is to ask the makeinfo maintainers to
> implement correct (non-)indentation of @verbatim inside @quotation...

Update: Okay, things look a little brighter now, since it's not a problem with 
@verbatim inside something (which is documented to be not supported), but 
rather with @quotation, which automatically sets the indentation to 5 spaces, 
although in HTML the indentation is already done by <blockquote>. Since 
apparently, @quotation is broken, I suppose that's a real bug in makeinfo. In 
particular, because their code talks a lot about @quotation possibly 
containing @example - which is of course also broken:

@quotation
@example
This should be indented twice: by <blockquote> and only once with spaced(from 
example), but is actually three times (quotation also adds another level of 
additional whitespace indentation, although its indentation is already done 
by <blockquote>)!!!
@end example
@end quotation

I will send a bug report (and a patch, which seems to work here with my simple 
tests) to the texinfo list.

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH7tPFTqjEwhXvPN0RAmYOAJ9U/OpOVY67gGpGmY11J8TBGY4/bACgkG0B
sSN+FoByKinCKT3uWH6j/u8=
=P97z
-----END PGP SIGNATURE-----




reply via email to

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