lilypond-devel
[Top][All Lists]
Advanced

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

lilypond-book problems


From: Erik Sandberg
Subject: lilypond-book problems
Date: Wed, 18 May 2005 13:00:56 +0200
User-agent: Internet Messaging Program (IMP) 3.2.7

Hi,

I'm struggling to get lilypond-book to obey me. (using 2.5.21)

(this is pretty much a lilypond-user thing, but I'm sending it here since I
suspect some bugs)

Problem 1:
I'm having a project that is split up into many files:
foo.lytex contains the \begin{document} etc, and it \inputs bar.tex which
contains some .ly snippets.

When I run 'lilypond-book foo.lytex', 'foo.tex' is created, and 'bar.tex' is
processed correctly, but the output is overwriting the original file.

I tried renaming bar.tex to bar.lytex, the result was that 'kpsewhich bar'
fails. The only solution I found, was to rename 'bar.tex' to 'bar', however the
next time I run lilypond-book, the old file bar.tex will be used instead.

I think this problem is workaroundable in my case, using makefile trickery, but
if there is a good solution, this should be mentioned in the manual IMHO.

Problem 2:
One ly snippet looks like this:

\begin[quote,fragment]{lilypond}
\relative {c4 d e f}
\end{lilypond}

I don't know if this is a bug, but the .tex output of a snippet looks like:
===========================================
\begin{quotation}

\end{quotation}
{%
\parindent 0pt
address@hidden
\ifx\preLilyPondExample \undefined
  \relax
\else
  \preLilyPondExample
\fi
\def\lilypondbook{}%
\input lily-1087040273-systems.tex
\ifx\postLilyPondExample \undefined
  \relax
\else
  \postLilyPondExample
\fi
}
===========================================
This looks like a mistake, shouldn't \end{quotation} be _after_ the snippet?

Erik




reply via email to

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