So, I ended up implementing a fix for the problem, which is
included in the CVS for the 2.2.x series. However, since the
solution is fairly ugly, we may want to think about a neater
solution for the development version.

   /Mats

Erik Sandberg wrote:
On Thursday 03 June 2004 18.58, Mats Bengtsson wrote:

There's at least one serious bug left in 2.2.2, namely that
lilypond-book doesn't work correctly on LaTeX documents when
run in Cygwin.

What happens is that lilypond-book copies the header of the LaTeX file
and adds a small dummy body that is run through latex to figure out what
the line width is. The problem is that there is no such thing as
/dev/stdin in Cygwin, so the command
latex "\\nonstopmode \input /dev/stdin"
breaks which results in the setting linewidth=0pt in the .ly file
so all the music ends up on a single long line without any line breaks.

Example file:

\documentclass[a4paper]{article}
\begin{document}
\begin{lilypond}
\score{\notes\relative c'{
  \repeat unfold 10 { c d e g }
}}
\end{lilypond}
\end{document}


I use debian, so I can't reproduce it. Mats, could you manage this bug?

Erik


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

-- ============================================= 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