lilypond-user
[Top][All Lists]
Advanced

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

Re: Problems with Lilypond-book, accidentals, and time signatures


From: Fred Leason
Subject: Re: Problems with Lilypond-book, accidentals, and time signatures
Date: Thu, 22 Feb 2007 13:00:16 -0600

Aaron:

I pasted your snippet into a TeX file and ran lilypond-book (2.11.19.) Output looked good to me. I used pdflatex:

>lilypond-book InlineFragment.tex --pdf --output=pdflatex
lilypond-book (GNU LilyPond) 2.11.19
Reading InlineFragment.tex...
Running latex...This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
entering extended mode
(/tmp/tmpq8dcqe.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.

<snip>

>cd pdflatex
>open lily-173dcc0941.pdf

Attachment: lily-173dcc0941.pdf
Description: Adobe PDF document


and the .TeX file looked fine too. This was on OSX. So I suspect Mats is right, it is something about the fonts.

The only other thing is the --output option needs an "=" sign. Your script does not. That means output from lilypond-book will not wind up in lilyscratch as you intended. If you are looking for it there, you will have something old (maybe from a previous version of lilypond.

Fred Leason


On Feb 22, 2007, at 4:25 AM, Mats Bengtsson wrote:

This sounds like some weird problem with some font file. I seem to remember that there were some similar problems
in some distributions of version 2.6 or possibly version 2.8
but not in any of the 2.10 packages available at www.lilypond.org.
I hope you have made sure that you really use version 2.10 and not some older version that's left from some previous installation.

  /Mats

Quoting Aaron Dalton <address@hidden>:

Aaron Dalton wrote:
Aaron Dalton wrote:
I am trying to incorporate some musical fragments into a brief paper I'm
writing.  Here is the snippet:

\begin[fragment,staffsize=15]{lilypond}
        \relative c {
                \key c \major
                \clef bass
                \time 4/4
                r8 e e e e e e e e e e e e e fis fis
        }
\end{lilypond}

Here's the script that compiles it:

#!/bin/sh

rm -rf lilyscratch
lilypond-book --psfonts $1.tex --output lilyscratch
cd lilyscratch
latex $1
latex $1
dvips -h $1.psfonts -o -Ppdf $1.dvi
ps2pdf $1.ps
cp $1.pdf somewhere
cd ..

Problem 1) I don't get a time signature (C, in this case) unless I do:
        \override Staff.TimeSignature #'style = #'()
which gives me 4/4.

Problem 2) Note the initial 8th note rest is not rendered.

Problem 3) Note the # sign is not printed for the F sharps.

I'm running under FreeBSD 5.4-RELEASE. I am using the following versions:

- Lilypond 2.10.13 (the FreeBSD package)
- pdfeTeX (latex) 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea version 3.5.4
- dvips(k) 5.95a
- ps2pdf, version unknown
- ghostscript-gnu v2.07-15 (for the latex system, not lilypond)

I would really appreciate any advice you could give me. I'm not sure
where to start.


As a follow-up, it appears natural signs render fine, but not sharps.


As a further follow-up, flats also render fine. The problem seems to be solely with the rests and the sharp signs. Updating to 2.10.19 did not
correct the problem.

--
Aaron Dalton       |   Super Duper Games
address@hidden   |   http://superdupergames.org



reply via email to

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