bug-lilypond
[Top][All Lists]
Advanced

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

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


From: Erik Sandberg
Subject: lilypond-book problem: \begin[quote]{lilypond}
Date: Sat, 24 Sep 2005 12:48:11 +0200
User-agent: KMail/1.8.1

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.

-- 
Erik




reply via email to

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