[Top][All Lists]

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

Re: squeezed measure

From: Mats Bengtsson
Subject: Re: squeezed measure
Date: Mon, 31 Jan 2005 18:19:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

The problem is a limitation of the Cygwin implementation of the
Python scripting language used in the implementation of lilypond-book.
I did an ugly fix in version 2.2, but considered it too ugly to be
included in all future versions. Now it appears that nobody tried
to find a better solution, so maybe we should include it in the
latest development version anyhow.

You can include the fix yourself, even if you are not a programmer.
Just open the file C:\cygwin\bin\lilypond-book in a text editor
(use the same one that you use for your .ly files) and change the
line that says

latex_filter_cmd = 'latex "\\nonstopmode \input /dev/stdin"'


latex_filter_cmd = 'cat > lily-tmp.tex; latex "\\nonstopmode \input lily-tmp.tex";rm lily-tmp.tex'

(make that a single line)

For the hackers of the list, more information about the problem
can be found in
with followups and my ugly fix can be found in


Dr. Charles Gran wrote:
When I run a version of the example found at

I get a squezzed example for the first staff of music.

I'm using cygwin under Windows XP (2.4.2) and these commands:
lilypond-book --output=out lilybook.tex
cd out
latex lilybook
dvips -Ppdf -u+lilypond -u+ec-mftrace lilybook
ps2pdf lilybook.ps



Documents for @command{lilypond-book} may freely mix music and text.
For example,

\relative c' {
  c2 g'2 \times 2/3 { f8 e d } c'2 g4

Options are put in brackets.

  c'4 f16

Larger examples can be put into a separate file, and introduced with


Content-type: text/plain; charset=US-ASCII
Content-disposition: inline
Content-description: Attachment information.

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  lilybook.pdf
     Date:  30 Jan 2005, 16:28
     Size:  14102 bytes.
     Type:  Unknown


lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        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]