lilypond + LyX on Fedora

2010-01-15 Thread Martin Tarenskeen


Hi,

I'm thinking of using the lilypond in combination with LyX on Fedora to 
write articles with embedded musicscore fragments. It has been some time 
ago since I tried LyX for the first time, and it seemed like a nice way to 
get such things done. But after that I was busy with other things and 
didn't try any further.


This week I decided to try again to install and use Lyx on my latest 
Fedora 12 system. But I can't get it to work properly. Almost 
with everything I try to I'm getting this:


Warning: Document class not available

The layout file requested by this document,
article.layout,
is not usable. This is probably because a LaTeX
class or style file required by it is not
available. See the Customization documentation
for more information.
LyX will not be able to produce output.

However, as far as I now all LaTeX classes and styles I could probably 
need are installed.
This is not really directly a Lilypond issue, but it does prevent me to 
use lilypond with LyX. Maybe someone someone who managed to get the 
combination Fedora 12 + Lyx + texlive + lilypond working can mail me 
directly off-list and help me to configure this. When things are working I 
will share my experiences/failure/success using Lilypond+LyX in this 
mailinglist.


--

Martin


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


Header and page number

2010-01-15 Thread Thomas Scharkowski

Hi,

I use the following to get a centered header on all pages and page numbers.
How can I avoid the page number on the first page?

Thank you,
Thomas

--
\paper {
  oddHeaderMarkup = \markup \fill-line {  " "  "A /Z" \fromproperty 
#'page:page-number-string }


  evenHeaderMarkup = \markup \fill-line {\fromproperty 
#'page:page-number-string "A /Z" " " }

}
--


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


Re: lilypond + LyX on Fedora

2010-01-15 Thread René Brandenburger
Hi,

have you already tryed to reconfigure LyX (in the german verison it
is Werkzeuge->neu konfigurieren). This rescans your TeX installation
for classes and styles,

regards

rene


Am Freitag, den 15.01.2010, 10:07 +0100 schrieb Martin Tarenskeen:
> Hi,
> 
> I'm thinking of using the lilypond in combination with LyX on Fedora to 
> write articles with embedded musicscore fragments. It has been some time 
> ago since I tried LyX for the first time, and it seemed like a nice way to 
> get such things done. But after that I was busy with other things and 
> didn't try any further.
> 
> This week I decided to try again to install and use Lyx on my latest 
> Fedora 12 system. But I can't get it to work properly. Almost 
> with everything I try to I'm getting this:
> 
> Warning: Document class not available
> 
> The layout file requested by this document,
> article.layout,
> is not usable. This is probably because a LaTeX
> class or style file required by it is not
> available. See the Customization documentation
> for more information.
> LyX will not be able to produce output.
> 
> However, as far as I now all LaTeX classes and styles I could probably 
> need are installed.
> This is not really directly a Lilypond issue, but it does prevent me to 
> use lilypond with LyX. Maybe someone someone who managed to get the 
> combination Fedora 12 + Lyx + texlive + lilypond working can mail me 
> directly off-list and help me to configure this. When things are working I 
> will share my experiences/failure/success using Lilypond+LyX in this 
> mailinglist.
> 





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


Bugs in grace notes in 2.12.3

2010-01-15 Thread Vivian Barty-Taylor
I'm struggling with bugs in grace notes in the latest stable release  
(2.12.3) and wonder if anyone has mentioned this yet? I'm getting  
incorrect stem attachment, incorrect durations and altered size. If no- 
one has yet mentioned it, I'll prepare a bug report for bug-lilypond.  
Also any suggestions as to how to solve this pro-tem?


See attached code snippet and PNG.

<>


%% Lilypond 2.12.3

%25
\acciaccatura { \normal fis,16~[\pp g~] }
\gs 2 \gso \acciaccatura { d'16[ g,] } fis4 \acciaccatura  
{ fis16[ g] } \gs d'4___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


grace bug

2010-01-15 Thread Vivian Barty-Taylor

I've now seen the postings related to this and won't file a bug report


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


Text-markup over tempo mark, rehearsal mark etc.

2010-01-15 Thread i . love . the . pikachu
I now write:

% [ A ]
\mark \default
s1*0^\markup{   "text markup"}
R1*9/8*8
% [ B ]
\mark \default
.

Please tell me how I can do this.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Part name with staff groups/grand staff

2010-01-15 Thread i . love . the . pikachu
Can't this notation, which is very popular in today's scores, be
produced with Lilypond?
I have looked over a documentation since the time of version 2.10, but
no answer for this question was found.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Part name with staff groups/grand staff

2010-01-15 Thread Mats Bengtsson

You mean like the following example?

\version "2.12.0"
\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Violin"
 \new Staff { \set Staff.instrumentName = "1" c'1 }
 \new Staff { \set Staff.instrumentName = "2" c'1 }
>>

  /Mats


i.love.the.pika...@gmail.com wrote:

Can't this notation, which is very popular in today's scores, be
produced with Lilypond?
I have looked over a documentation since the time of version 2.10, but
no answer for this question was found.
  






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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Text-markup over tempo mark, rehearsal mark etc.

2010-01-15 Thread James Lowe

Dear I.love.the.pikachu,

See:

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-big-page#index-outside_002dstaff_002dpriority

to give you an idea.

James

i.love.the.pika...@gmail.com wrote:

I now write:

% [ A ]
\mark \default
s1*0^\markup{   "text markup"}
R1*9/8*8
% [ B ]
\mark \default
.

Please tell me how I can do this.







___
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: Part name with staff groups/grand staff

2010-01-15 Thread James Lowe

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-big-page#Grouping-staves

James

Mats Bengtsson wrote:

You mean like the following example?

\version "2.12.0"
\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Violin"
 \new Staff { \set Staff.instrumentName = "1" c'1 }
 \new Staff { \set Staff.instrumentName = "2" c'1 }
 >>

  /Mats


i.love.the.pika...@gmail.com wrote:

Can't this notation, which is very popular in today's scores, be
produced with Lilypond?
I have looked over a documentation since the time of version 2.10, but
no answer for this question was found.
 





___
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: Part name with staff groups/grand staff

2010-01-15 Thread Reinhold Kainhofer
Am Freitag, 15. Januar 2010 13:00:56 schrieb i.love.the.pika...@gmail.com:
> Can't this notation, which is very popular in today's scores, be
> produced with Lilypond?

Can you please explain exactly what you are missing?

Is it:
-) That the group brackets don't go all the way to the upper/lower edge of the 
staves? It's possible, but you have to fiddle around with scaling the 
stencil...

-) That there is a text assigned to each staff ("1", "2", "3") and to the 
whole group ("Violin", "Clar.")? That's easy, see the LSR 
(http://lsr.dsi.unimi.it/, which is currently down, unfortunately) and search 
for "InstrumentName"

-) That there should be no vertical line connecting the Violin and the 
Clarinet staff groups? No idea if/how that might be implemented.

-) That there is an "or" between the staff groups? I don't think that can be 
achieved easily in LilyOond

So, please also try to explain in words what aspect of your sample images you 
are after...

Cheers,
Reinhold
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org


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


Re: Part name with staff groups/grand staff

2010-01-15 Thread i . love . the . pikachu
Thank you.
I didn't know that a pianostaff can contain more than 3 staffs and
that instrument name of staffs in a pianostaff can be set.

Then I tried this code:
-
\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Clarinet"
 \new Staff { \set Staff.instrumentName = "1" c'1 }
 \new Staff { \set Staff.instrumentName = "2" c'1 }
 \new Staff { \set Staff.instrumentName = "3" c'1 }
>>

\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Horn"
 \new Staff { \set Staff.instrumentName = "1. 5." c'1 }
 \new Staff { \set Staff.instrumentName = "2. 6." c'1 }
 \new Staff { \set Staff.instrumentName = "3. 7." c'1 }
 \new Staff { \set Staff.instrumentName = "4. 8." c'1 }
>>

\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Violin"
 \new Staff { \set Staff.instrumentName = "I" c'1 }
 \new Staff { \set Staff.instrumentName = "II" c'1 }
>>
-
3 other problems occurred.

1) The digit "2" is obscured by "Clarinet".
2) The instrument name is as on the same x-align as digit, so I want
to move them to a little left to make it easy to recognize it is a
digit or a part name.
3) Bracket of the former 2 examples are so thick that it looks very
out of shape.

To avoid problem 3), I tried another code:
-
\new StaffGroup <<
 \set StaffGroup.instrumentName = #"Horn"
 \new Staff { \set Staff.instrumentName = "1. 5." c'1 }
 \new Staff { \set Staff.instrumentName = "2. 6." c'1 }
 \new Staff { \set Staff.instrumentName = "3. 7." c'1 }
 \new Staff { \set Staff.instrumentName = "4. 8." c'1 }
>>
-
Though this produced an output with a different kind of brackets that
pleases me, it had no instrument name ("Horn").

Would you tell me how we can solve these 3 problems?
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Part name with staff groups/grand staff

2010-01-15 Thread Reinhold Kainhofer
Am Freitag, 15. Januar 2010 13:43:20 schrieb i.love.the.pika...@gmail.com:
> I didn't know that a pianostaff can contain more than 3 staffs and
> that instrument name of staffs in a pianostaff can be set.

I wouldn't use PianoStaff in your case, but rather GrandStaff (PianoStaff is 
basically the same as GrandStaff, but has some small tweaks to make it better 
suited for piano).

> \new StaffGroup <<
>  \set StaffGroup.instrumentName = #"Horn"
>  \new Staff { \set Staff.instrumentName = "1. 5." c'1 }
>  \new Staff { \set Staff.instrumentName = "2. 6." c'1 }
>  \new Staff { \set Staff.instrumentName = "3. 7." c'1 }
>  \new Staff { \set Staff.instrumentName = "4. 8." c'1 }
> 

By default, StaffGroup does not print it's instrument name (I wonder why, 
since if no instrument name is set explicitly, it doesn't matter anyway, and 
if an instrument name is set explicitly, then the user wants the instrument 
name...). So, you have to add the object (called an "engraver" in lilypond 
terminology) to print the instrument name to the StaffGroup:

\new StaffGroup \with { \consists "Instrument_name_engraver" } <<
  \set StaffGroup.instrumentName = #"Horn"
  \new Staff { \set Staff.instrumentName = "1. 5." c'1 }
.

Or even better:

\new StaffGroup \with { 
  \consists "Instrument_name_engraver" 
  instrumentName = #"Horn"
} <<
  \new Staff \with { instrumentName = "1. 5." } { c'1 }
.

(i.e. staffgroup-wide settings can be inserted in a \with clause to make it 
even easier to see the settings for a staff or a group


Cheers,
Reinhold


-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org


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


Re: Still some vertical spacing/fitting problems

2010-01-15 Thread Joe Neeman
On Fri, 2010-01-15 at 18:44 +1100, Nick Payne wrote:
> I have no vertical spacing overrides in the attached score, other than 
> setting top-margin and bottom-margin, but when I build it with 2.13.10, 
> the bottom stave on the first page almost completely vanishes off the 
> bottom of the page. Something as simple as changing ragged-last to ##f 
> is enough to fix the problem...

I think this is the same problem as bug 974. At least, my patch for 974
(which I will push soon) fixes this too.

Cheers,
Joe




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


Re: Part name with staff groups/grand staff

2010-01-15 Thread i . love . the . pikachu
Thanks to you the 3 problems seem to be solved:
-
\score{
\new StaffGroup \with {
 \consists "Instrument_name_engraver"
 instrumentName = #"Clarinetto"
 shortInstrumentName = #"Cl."
 \override InstrumentName #'self-alignment-X = #LEFT
} <<

\new Staff \with {
instrumentName = #"1."
shortInstrumentName = #"1."
\override InstrumentName #'self-alignment-X = #RIGHT }{
c'1
\break
c'1
}

\new Staff \with {
instrumentName = #"2."


}
>>
\layout {
ragged-right = ##t
indent = 2.5\cm
short-indent = 1.2\cm
}
}
-
But this code can made smarter, I think. Can't it?
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: (bug?) irregular lyrics distance in 2.13.10

2010-01-15 Thread Joe Neeman
On Thu, 2010-01-14 at 06:18 +0100, Wilbert Berendsen wrote:
> Op donderdag 14 januari 2010 schreef Joe:
> 
> > So it should just be a matter of finding the
> > right default for minimum-distance.
> 
> From my experimentation, 3.2 is a fine default value I think. 3 is a little 
> tight, 3.5 a little "white" :)

Thanks for experimenting. If no lyrics users complain in the next few
days, I'll push this as the default.

Cheers,
Joe




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


Trying to build latest dev version on OS X 10.6.2

2010-01-15 Thread Eric Knapp
Hello,

I'm having problems trying to build lilypond from source. I just got
the source with this:

  git clone git://git.sv.gnu.org/lilypond.git


Then I followed the instructions from Nicholas Sceaux here:

  
http://nicolas.sceaux.free.fr/index.php/2008/11/30/26-building-lilypond-from-git-sources-on-mac-os-105-intel

I had to upgrade all my macport dependencies and that was successful.

When I try to build, it will run for a very long time and then I get a
full crash of lilypond. In the terminal where I ran the build I get
this:

dyld: Library not loaded: /usr/lib/libsasl2.2.dylib
  Referenced from:
/System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
  Reason: Incompatible library version: PasswordServer requires
version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0
help2man: can't get `--help' info from out/lilypond
make[1]: *** [out/lilypond.1] Error 255
make: *** [all] Error 2

Then a big crash dialog window opens with this, which might have more
information:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /usr/lib/libsasl2.2.dylib
  Referenced from:
/System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
  Reason: Incompatible library version: PasswordServer requires
version 3.0.0 or later, but libsasl2.2.dylib provides version 0.0.0


Does anyone see what my issue is?

Thanks,

-Eric


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


Re: Text-markup over tempo mark, rehearsal mark etc.

2010-01-15 Thread Xavier Scheuer
2010/1/15 James Lowe :
> Dear I.love.the.pikachu,
>
> See:
>
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond-big-page#index-outside_002dstaff_002dpriority
>
> to give you an idea.
>
> James

Right.
RehearsalMark (\mark) has a higher value of #'outside-staff-priority
than TextScript (\markup).

  \once \override TextScript #'outside-staff-priority = #2000

just before s1*0^"text markup" should do the trick.

-- 
Xavier Scheuer 


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


Footers

2010-01-15 Thread Michael S. Morales
Is it possible to change the generic footer made by Lilypond for a 
personalized message including typesetter/maintainer, CC license, 
contact info, etc.


--
Regards,

~Michael~



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


Footers

2010-01-15 Thread Michael S. Morales
Is it possible to change the generic footer made by Lilypond for a 
personalized message including typesetter/maintainer, CC license, 
contact info, etc.


--
Regards,

~Michael~



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


GUI for Windows

2010-01-15 Thread Michael S. Morales

My second question is will there ever be a graphical version for Windows?

--
Regards,

~Michael~

"Science without religion is lame, religion without science is blind."
--- Albert Einstein

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


Re: Footers

2010-01-15 Thread Colin Campbell

Michael S. Morales wrote:
Is it possible to change the generic footer made by Lilypond for a 
personalized message including typesetter/maintainer, CC license, 
contact info, etc.


Many editors, such as Frescobaldi or LilypondTool with jEdit, allow you 
to create your own tagline as part of a score setup wizard. You can also 
get more ideas from the Notation Reference in the Lilypond documentation 
( section 3.2.2 would be a good place to dive in).


Have fun, Michael!

regards,
Colin

--
When you find a big kettle of crazy, it's best not to stir it.
- Scott Adams, "Dilbert" Sept 22,'09



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


Re: GUI for Windows

2010-01-15 Thread Colin Campbell

Michael S. Morales wrote:

My second question is will there ever be a graphical version for Windows?
--
  


Because Lilypond is based on text files as input to a very sophisticated 
rendering engine, a GUI in the sense of "enter code and see the final 
score instantly" is probably some distance in the future. My toolkit of 
choice in Windows is the combination of  jEdit 
 
and the LilypondTool  
plugin, which come pretty close. You still need to recompile the 
Lilypond code, but having the source in one window and a .PDF preview 
open in another, is pretty useful. The other feature I really like is 
that the .PDF is linked back to the source, so you can click on a note 
in the score and see where it came from in the code. As in all things 
creative, YMMV but those two would be my recommendation of a place to 
start.


Don't forget to take a bit of time with the Learning Manual, too! It's 
tempting just to dive right in, and certainly Mutopia has lots of 
examples to get you thinking, but start out with the tutorial, then try 
coding up a few smaller works, songs or hymns or the like, and soon 
you'll be away to the races.


Colin

--
When you find a big kettle of crazy, it's best not to stir it.
- Scott Adams, "Dilbert" Sept 22,'09



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


RE: Footers

2010-01-15 Thread James Lowe
Also, you can look at what others have done, for example there are many, many 
.ly files on Mutopia.

To give you random example

http://www.mutopiaproject.org/cgibin/make-table.cgi?Composer=BachJS

Pick any of these files and you will see how they have modified their own 
footer.

You can also make a simple \tagline in the header block of your score.

I use

\header {
 
  tagline = \markup \tiny { "Music engraving by www.lilypond.org" }

  }

So that could be a very simple method.

James

-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org on behalf of 
Michael S. Morales
Sent: Sat 16/01/2010 2:54
To: lilypond-user@gnu.org
Subject: Footers
 
Is it possible to change the generic footer made by Lilypond for a 
personalized message including typesetter/maintainer, CC license, 
contact info, etc.

-- 
Regards,

~Michael~



___
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