bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond-book problem: \begin[quote]{lilypond}


From: Mats Bengtsson
Subject: Re: lilypond-book problem: \begin[quote]{lilypond}
Date: Tue, 04 Oct 2005 14:34:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

I introduced a fix in CVS, for LaTeX documents.

  /Mats

Erik Sandberg wrote:

Hi,

I think this problem was reported earlier, but it hasn't been solved. It's pretty critical IMHO.

There is a problem with lilypond-book: When quote is used in a lilypond block, the inserted \end{quote} is placed too early.

This happens in 2.7.10.

Example: The following .lytex file ...
\documentclass{report}
\include{graphicx}
\begin{document}
foo
\begin[quote,fragment]{lilypond}
{ c d e f }
\end{lilypond}
bar
\end{document}

.. is converted to:

\documentclass{report}
\include{graphicx}
\begin{document}
foo
\begin{quotation}

\end{quotation}
{%
\parindent 0pt
address@hidden
\ifx\preLilyPondExample \undefined
 \relax
\else
 \preLilyPondExample
\fi
\def\lilypondbook{}%
\input lily-1426301628-systems.tex
\ifx\postLilyPondExample \undefined
 \relax
\else
 \postLilyPondExample
\fi
}
bar
\end{document}

The result is a too big space before the example, and no space after. A workaround is to leave out [quote], and manually insert a quote block around the lilypond block.


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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