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

2007-02-23 Thread Mats Bengtsson



Aaron Dalton wrote:


First let me say thank you.  The pdflatex solution did indeed work.
Unfortunately, this is not a permanent solution.  There are indeed
differences (both internally and in regards to output) between pdflatex
and the latex-dvips-ps2pdf way of doing things.  Being one that uses
bibTeX and a few other oddities, I have become quite accustomed to the
latex route.  Is there a way to correct the --psfonts problem?

  
pdflatex works well together with bibTeX. The only major limitation I 
know of

in pdflatex is that you can't use pstricks and psfrag.

  /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2007-02-22 Thread Mats Bengtsson
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 [EMAIL PROTECTED]:


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
[EMAIL PROTECTED]   |   http://superdupergames.org



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2007-02-22 Thread Fred Leason

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



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 [EMAIL PROTECTED]:


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
[EMAIL PROTECTED]   |   http://superdupergames.org



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2007-02-22 Thread Mats Bengtsson

Quoting Fred Leason [EMAIL PROTECTED]:


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


Well, a more relevant command is
pdflatex InlineFragment.tex
open InlineFragment.pdf

This is actually a good hint for Aaron, namely to use the --pdf flag 
and pdflatex instead of --psfonts, latex, dvips and ps2pdf.

The font files should be the same, but you never know with software.

Also, I really hope that Aaron removed all generated lily-* files
from any older LilyPond installation before trying to run lilypond-book
again with a newer one. The same goes if you earlier have used --psfonts
and then want to use --pdf instead.

  /Mats



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2007-02-22 Thread Aaron Dalton
Mats Bengtsson wrote:
 Quoting Fred Leason [EMAIL PROTECTED]:
 
 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

 Well, a more relevant command is
 pdflatex InlineFragment.tex
 open InlineFragment.pdf
 
 This is actually a good hint for Aaron, namely to use the --pdf flag and
 pdflatex instead of --psfonts, latex, dvips and ps2pdf.
 The font files should be the same, but you never know with software.
 
 Also, I really hope that Aaron removed all generated lily-* files
 from any older LilyPond installation before trying to run lilypond-book
 again with a newer one. The same goes if you earlier have used --psfonts
 and then want to use --pdf instead.
 
   /Mats
 

First let me say thank you.  The pdflatex solution did indeed work.
Unfortunately, this is not a permanent solution.  There are indeed
differences (both internally and in regards to output) between pdflatex
and the latex-dvips-ps2pdf way of doing things.  Being one that uses
bibTeX and a few other oddities, I have become quite accustomed to the
latex route.  Is there a way to correct the --psfonts problem?

Thank you again for your time and assistance.  I feel much better having
this paper finally printed out.  Now to find this DejaVuLGC font
everybody keeps talking about so I can get my Lyric Ties working!

Cheers!
-- 
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2007-02-22 Thread Fred Leason

Aaron:

I tried it using --psfonts and everything worked fine that way as well.

dvips(k) 5.95b
kpathsea version 3.5.5

gs --version
8.54

Unfortunately, this version / path / fonts / environment stuff is not  
my strong point.  Good luck!


On Feb 22, 2007, at 3:48 PM, Aaron Dalton wrote:


First let me say thank you.  The pdflatex solution did indeed work.
Unfortunately, this is not a permanent solution.  There are indeed
differences (both internally and in regards to output) between  
pdflatex

and the latex-dvips-ps2pdf way of doing things.  Being one that uses
bibTeX and a few other oddities, I have become quite accustomed to the
latex route.  Is there a way to correct the --psfonts problem?

Thank you again for your time and assistance.  I feel much better  
having

this paper finally printed out.  Now to find this DejaVuLGC font
everybody keeps talking about so I can get my Lyric Ties working!

Cheers!
--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Problems with Lilypond-book, accidentals, and time signatures

2007-02-21 Thread Aaron Dalton
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.

-- 
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2007-02-21 Thread Aaron Dalton
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
[EMAIL PROTECTED]   |   http://superdupergames.org



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user