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
[EMAIL PROTECTED]
\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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to