Re: Possible in Ubuntu?

2009-02-05 Thread James E. Bailey


Am 05.02.2009 um 08:33 schrieb den trompetter:


Hello,

yesterday I installed Lilypond in Ubuntu. But I don't see it in the  
program's list. How can I work with it? I'm not sure.


Jvuz


You'll want to have a look at http://lilypondwiki.tuxfamily.org/ 
index.php?title=Where_is_the_app%3F_(Linux)



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


Beaming in 6/8 or 12/8

2009-02-05 Thread Pikachu
\time 6/8
c8 r8 c8 c8 r8 c8

I wrote like this, but eighth notes in produced PDF are not beamed.
I want eighth notes to be beamed , but to do this , I have to write like this:

\time 6/8
c8 [r8 c8] c8 [r8 c8]

It is a hassle to type "[" and "]" every measure.
How can I omit them?


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


Re: Possible in Ubuntu?

2009-02-05 Thread Joseph Wakeling
den trompetter wrote:
> yesterday I installed Lilypond in Ubuntu. But I don't see it in the
> program's list. How can I work with it? I'm not sure.

Lilypond won't show up in the menu list because it's a command line
application -- you need to create your .ly files in a text editor and
then open up a terminal window and type

  lilypond file.ly

to compile the results into PDF and PostScript output.

Alternatively, if you just want to check that it's installed OK, open up
a terminal and type

  lilypond --version

which will tell you what version of LP you have installed.


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


Re: Possible in Ubuntu?

2009-02-05 Thread den trompetter
Thanks everyone. It's working now. Great soft!

Jvuz

2009/2/5 Joseph Wakeling 

> den trompetter wrote:
> > yesterday I installed Lilypond in Ubuntu. But I don't see it in the
> > program's list. How can I work with it? I'm not sure.
>
> Lilypond won't show up in the menu list because it's a command line
> application -- you need to create your .ly files in a text editor and
> then open up a terminal window and type
>
>  lilypond file.ly
>
> to compile the results into PDF and PostScript output.
>
> Alternatively, if you just want to check that it's installed OK, open up
> a terminal and type
>
>  lilypond --version
>
> which will tell you what version of LP you have installed.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Beaming in 6/8 or 12/8

2009-02-05 Thread -Eluze


Pikachu-3 wrote:
> 
> 
> It is a hassle to type "[" and "]" every measure.
> How can I omit them?
> 
you could try 
\set Score.beatGrouping = #'(6)
hth
-- 
View this message in context: 
http://www.nabble.com/Beaming-in-6-8-or-12-8-tp21847486p21848280.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Good luck, Valentin

2009-02-05 Thread Francisco Vila
2009/2/4 Trevor Daniels :
> but I thought I'd let you
> know that it can be downloaded easily from your git site (although
> you need to be git-aware to do this), and compiled under Vista.

Valentin, for non-git-aware people you could put a snapshot somewhere.

A Zip file of everything is 2.5 Mb worth but the .git directory alone
weigths 2.3 Mb. Once deleted, the resulting zip has 378Kb.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


turn off antialiasing in PNG

2009-02-05 Thread Bertalan Fodor (LilyPondTool)

Hi,

I'm generating using

lilypond -fpng -dresolution=300

But how do I turn off oversampling aka antialiasing?

Thanks,

Bert



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


Forcing a natural accidental at the start of a bar/measure

2009-02-05 Thread Padmavyuha

Hello there

I've just begun using Lilypond (v2.12.2-1) on my mac (and wading  
through the manual!).


The first problem I've encountered is with accidentals. In an SATB 4- 
staff score, I've got the following two bars in a staff (in 4/4, scale  
set to D major):


ef2. ef4
e2 d8 cs b a

but no matter what I do with extraNatural, accidentalStyle etc.  
settings, I can't get the E natural in the 2nd bar to show a natural  
accidental, which it really needs to do.


How can I force this accidental?

Any help appreciated!

- Padmavyuha


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


Mac OSX Leopard and midi

2009-02-05 Thread Padmavyuha

Hello there

Using Lilypond v2.12.2-1 on an intel mac running OSX 10.5.6, using  
Smultron with the following command to generate the .ps, .pdf and .mid  
files:


~/Applications/LilyPond.app/Contents/Resources/bin/lilypond -o %%d%%p

I gewt the following output every time:

Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `satb.ps'...
Converting to `./satb.pdf'...
warning: cannot find file: `'
error: failed files: ""

...and no midi file - the .ps and .pdf files are generated fine.

Any ideas why I'm not getting midi, and is the error message relevant  
to that, or is it to do with something else entirely?


- Padmavyuha


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


Re: Forcing a natural accidental at the start of a bar/measure

2009-02-05 Thread Graham Percival
On Thu, Feb 05, 2009 at 11:14:02AM +, Padmavyuha wrote:
> How can I force this accidental?

This is discussed in the fifth paragraph of NR 1.x Accidentals.
Fourth paragraph if you don't count the warning.

Cheers,
- Graham


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


Re: Forcing a natural accidental at the start of a bar/measure

2009-02-05 Thread Padmavyuha
Thanks, hadn't got the the NR document yet, I was still looking for it  
in the manual. So ! is what I wanted.


- Padmavyuha

On 5 Feb 2009, at 11:37, Graham Percival wrote:


On Thu, Feb 05, 2009 at 11:14:02AM +, Padmavyuha wrote:

How can I force this accidental?


This is discussed in the fifth paragraph of NR 1.x Accidentals.
Fourth paragraph if you don't count the warning.

Cheers,
- Graham




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


Re: Beaming in 6/8 or 12/8

2009-02-05 Thread Simon Bailey

hi,

On Feb 5, 2009, at 10:53 AM, -Eluze wrote:

It is a hassle to type "[" and "]" every measure.
How can I omit them?


you could try
\set Score.beatGrouping = #'(6)
hth


the auto-beamer will NOT beam over rests. see the first paragraph here:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Beams#Manual-beams

however, some scheme guru might be able to come up with some funky way  
to create the beaming pattern you're looking for (which is a very  
common pattern in marches and other pieces which have offbeat  
accompaniment in 6/8).


regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: turn off antialiasing in PNG

2009-02-05 Thread Francisco Vila
2009/2/5 Bertalan Fodor (LilyPondTool) :
> Hi,
>
> I'm generating using
>
> lilypond -fpng -dresolution=300
>
> But how do I turn off oversampling aka antialiasing?

You could convert it easily with imagemagick. Do

convert original.png -threshold 30% -type Optimize output.png

Experiment with the threshold percentage.

http://www.imagemagick.org/script/command-line-options.php#threshold
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Good luck, Valentin

2009-02-05 Thread Valentin Villenave
2009/2/5 Francisco Vila :

> Valentin, for non-git-aware people you could put a snapshot somewhere.

Somewhere like http://repo.or.cz/w/opera_libre.git?a=snapshot;sf=tgz ?

> A Zip file of everything is 2.5 Mb worth but the .git directory alone
> weigths 2.3 Mb. Once deleted, the resulting zip has 378Kb.

Hmm... You do have a point. I tend to assume anybody familiar enough
with LilyPond knows what a tgz archive means, but I could find a way
to do an automatic zip archive? (or if I discover, like these days,
that the source code has more or less stopped evolving, I can also do
it manually)

Regards,
Valentin


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


strange error message with tuplet

2009-02-05 Thread Stefan Thomas
Dear lilypond-users,
when compiling one of my scores I get the following error message,
which I don't understand:

musik/musik_ab115.ly:63:16: warning: No tuplet to end
 s8\fp\<  s\f\>
\times 4/6 { s32*5\p\< s 32\!}  \pedtrem  s4...\ff
\startTextSpan s32 \stopTextSpan  }%lautleise 115-118
Why  there is no "no tuplet to end?


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


Re: Mac OSX Leopard and midi

2009-02-05 Thread Wilbert Berendsen
Op donderdag 05 februari 2009, schreef Padmavyuha:
> Any ideas why I'm not getting midi, and is the error message relevant  
> to that, or is it to do with something else entirely?

Do you have a \midi { } command in your \score section?

see:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-MIDI-files


best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


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


Re: Good luck, Valentin

2009-02-05 Thread Francisco Vila
2009/2/5 Francisco Vila :
> $ zip opera_libre.zip `find opera_libre/ |grep -v '.git'

I failed co copypaste the final grave accent. The correct would be

$ zip opera_libre.zip `find opera_libre/ |grep -v '\.git'`


-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Good luck, Valentin

2009-02-05 Thread David Kastrup
Valentin Villenave  writes:

> 2009/2/5 Francisco Vila :
>
>> Valentin, for non-git-aware people you could put a snapshot somewhere.
>
> Somewhere like http://repo.or.cz/w/opera_libre.git?a=snapshot;sf=tgz ?
>
>> A Zip file of everything is 2.5 Mb worth but the .git directory alone
>> weigths 2.3 Mb. Once deleted, the resulting zip has 378Kb.
>
> Hmm... You do have a point. I tend to assume anybody familiar enough
> with LilyPond knows what a tgz archive means, but I could find a way
> to do an automatic zip archive? (or if I discover, like these days,
> that the source code has more or less stopped evolving, I can also do
> it manually)

Since git-archive accepts the formats "tar" as well as "zip", it would
seem like a repo server configuration issue (I tried the obvious sf=zip
in the above link, and got an error message about an unrecognized
snapshot format).

-- 
David Kastrup



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


Re: Forcing a natural accidental at the start of a bar/measure

2009-02-05 Thread Carl D. Sorensen



On 2/5/09 4:37 AM, "Graham Percival"  wrote:

> On Thu, Feb 05, 2009 at 11:14:02AM +, Padmavyuha wrote:
>> How can I force this accidental?
> 
> This is discussed in the fifth paragraph of NR 1.x Accidentals.
> Fourth paragraph if you don't count the warning.

NR 1 is the documentation, Notation Reference, chapter 1.  You can find the
documentation online at http://lilypond.org/doc/v2.12/Documentation/

Carl



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


Re: Good luck, Valentin

2009-02-05 Thread Francisco Vila
$ zip opera_libre.zip `find opera_libre/ |grep -v '.git'

2009/2/5 Valentin Villenave :
> Hmm... You do have a point. I tend to assume anybody familiar enough
> with LilyPond knows what a tgz archive means, but I could find a way
> to do an automatic zip archive?

For example

$ zip opera_libre.zip `find opera_libre/ |grep -v '.git'

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Mac OSX Leopard and midi

2009-02-05 Thread Padmavyuha
Oops, do now - still getting the nameless file error, but I'm also  
getting all three files exported now, thanks.


- Padmavyuha

On 5 Feb 2009, at 12:46, Wilbert Berendsen wrote:


Op donderdag 05 februari 2009, schreef Padmavyuha:

Any ideas why I'm not getting midi, and is the error message relevant
to that, or is it to do with something else entirely?


Do you have a \midi { } command in your \score section?

see:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-MIDI-files


best regards,
Wilbert Berendsen

--
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/




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


Re: Good luck, Valentin

2009-02-05 Thread Valentin Villenave
2009/2/5 Johannes Schindelin :

> How about
>
>$ git archive --prefix=opera_libre/ --format=zip HEAD:
>
> ?

It would be just great if repo.or.cz offered this option out-of-the-box...

Valentin


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


Reducing space below title etc.

2009-02-05 Thread Padmavyuha
I'm putting together an SATB score on 4 staffs with individual lyric  
lines. The first page insists on only allowing 2 systems on the page  
instead of 3, where 3 would fit if there was less of a space between  
the header section and the first system.


I've been searching for a way to reduce that space (or the spacing  
between staffs and/or between systems) in an effort to get the 3  
systems onto the same page with the header, but so far I can't make it  
work. I've tried fiddling around with various variable and font size  
and so on but maybe I'm missing the obvious - do all the different  
header options (subtitle, subsubtitle, meter, arranger etc.,) take up  
space even if they're empty?


Any suggestions?

- Padmavyuha


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


controlling the alignment of FretBoards

2009-02-05 Thread -Eluze

is there a way to control - automatically - the vertical alignment of
FretBoards?
(i only found an option for horizontal alignment [align-dir])

thanks!
-- 
View this message in context: 
http://www.nabble.com/controlling-the-alignment-of-FretBoards-tp21851934p21851934.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Reducing space below title etc.

2009-02-05 Thread Padmavyuha


On 5 Feb 2009, at 13:49, Padmavyuha wrote:

I'm putting together an SATB score on 4 staffs with individual lyric  
lines. The first page insists on only allowing 2 systems on the page  
instead of 3, where 3 would fit if there was less of a space between  
the header section and the first system.


I've been searching for a way to reduce that space (or the spacing  
between staffs and/or between systems) in an effort to get the 3  
systems onto the same page with the header, but so far I can't make  
it work. I've tried fiddling around with various variable and font  
size and so on but maybe I'm missing the obvious - do all the  
different header options (subtitle, subsubtitle, meter, arranger  
etc.,) take up space even if they're empty?


Any suggestions?

- Padmavyuha


Aragh - answered my own question, I was missing the \layout {} tag.  
All good now.


- Padmavyuha


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


Re: Mac OSX Leopard and midi

2009-02-05 Thread Padmavyuha


On 5 Feb 2009, at 12:46, Wilbert Berendsen wrote:


Op donderdag 05 februari 2009, schreef Padmavyuha:

Any ideas why I'm not getting midi, and is the error message relevant
to that, or is it to do with something else entirely?


Do you have a \midi { } command in your \score section?

see:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-MIDI-files




Update: If I insert a \midi {} command in my .ly file, the midi file  
gets generated but lilypond stops at the error message after that and  
the .ps/.pdf files never get generated.


With verbose mode on in lilypond, the place where the process breaks  
if the midi command is live is:


MIDI output to `satb.midi'...Track... [0][1][2][3][4][5][6][7][8]]
warning: cannot find file: `'
error: failed files: ""

and if the midi command is commented out, it's:

Converting to `./satb.pdf'...
Invoking `gs   -dSAFER  -dDEVICEWIDTHPOINTS=595.28 - 
dDEVICEHEIGHTPOINTS=841.89  -dCompatibilityLevel=1.4  -dNOPAUSE - 
dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="./satb.pdf" - 
c .setpdfwrite -f "satb.ps"'...GPL Ghostscript SVN PRE-RELEASE 8.57  
(2007-03-15)

Copyright (C) 2007 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
WARNING: /Unicode /Decoding resource is not accessible but it is  
useful for generating ToUnicode CMap.

]
warning: cannot find file: `'
error: failed files: ""

I don't suppose there's any way to get lilypond to run the .ps/.pdf  
export before it runs the midi export, so that I can get all three :(


For the moment, I'm commenting out the \midi {} command while checking  
the pdf output.


- Padmavyuha


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


Re: Good luck, Valentin

2009-02-05 Thread Tim Slattery
Valentin Villenave  wrote:

>Hmm... You do have a point. I tend to assume anybody familiar enough
>with LilyPond knows what a tgz archive means, 

I'm reasonable familiar with Lilypond at this point, but I had to
google tgz to find out what it is. I'm a Windows person, and tgz seems
to be a Unix format (gzipped tarball). Lilypond seems to have been
developed from a Linux viewpoint, but many of us use it on Windows.

-- 
Tim Slattery
slatter...@bls.gov
http://members.cox.net/slatteryt



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


Re: Mac OSX Leopard and midi

2009-02-05 Thread Graham Percival
On Thu, Feb 05, 2009 at 02:21:05PM +, Padmavyuha wrote:
>
> Update: If I insert a \midi {} command in my .ly file, the midi file  
> gets generated but lilypond stops at the error message after that and  
> the .ps/.pdf files never get generated.

Do you have a \layout{} as well?

Apart from that, I recommend running lilypond from the OSX
terminal as a test.  You mentioned you were running it inside some
other program; perhaps that other program is broken.  Let's see if
lilypond itself works; if it does, then we know the problem is the
other program.

Cheers,
- Graham


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


Re: Mac OSX Leopard and midi

2009-02-05 Thread Padmavyuha

On 5 Feb 2009, at 14:38, Graham Percival wrote:


On Thu, Feb 05, 2009 at 02:21:05PM +, Padmavyuha wrote:


Update: If I insert a \midi {} command in my .ly file, the midi file
gets generated but lilypond stops at the error message after that and
the .ps/.pdf files never get generated.


Do you have a \layout{} as well?

Apart from that, I recommend running lilypond from the OSX
terminal as a test.  You mentioned you were running it inside some
other program; perhaps that other program is broken.  Let's see if
lilypond itself works; if it does, then we know the problem is the
other program.


I'll be damned - I put in the \layout {} command to solve another  
problem I'd been having, and it seems you need both for everything to  
work properly. So now I've got midi, pdf and ps, and proper layout  
too. I still get this mystery file error at the end of the process,  
though, but who cares? :)


Thanks very much for your help - I've been too caught up in getting  
the music and lyrics working, and getting my brain around the meta- 
code at the same time was too much.


- Padmavyuha


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


Re: controlling the alignment of FretBoards

2009-02-05 Thread Mats Bengtsson
What do you want to do? Since you use FretBoards, your diagrams will be 
vertically aligned,
between themselves. If you want to control the distance to the closest 
stave or lyric line or whatever,

read section "Vertical spacing inside a system" in the notation reference.

   /Mats

-Eluze wrote:

is there a way to control - automatically - the vertical alignment of
FretBoards?
(i only found an option for horizontal alignment [align-dir])

thanks!
  


--
=
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: controlling the alignment of FretBoards

2009-02-05 Thread -Eluze


Mats Bengtsson-4 wrote:
> 
> What do you want to do? Since you use FretBoards, your diagrams will be 
> vertically aligned, between themselves. 
> 

the idea is to setup a list of chords and names

looking at the example(s) (\sourcefileline 765 and following) in _notation
reference_ the  finger indications seem to be on the same line and so do the
top fret lines (in the pdf and html version).

when i compile these examples the results look different and unbalanced:
http://www.nabble.com/file/p21854640/align_chordmode.png chordmode.png 
Eluze

-- 
View this message in context: 
http://www.nabble.com/controlling-the-alignment-of-FretBoards-tp21851934p21854640.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Good luck, Valentin

2009-02-05 Thread Francisco Vila
2009/2/5 Johannes Schindelin :
> Hi,
>
> On Thu, 5 Feb 2009, Valentin Villenave wrote:
>
>> 2009/2/5 Johannes Schindelin :
>>
>> > How about
>> >
>> >$ git archive --prefix=opera_libre/ --format=zip HEAD:
>> >
>> > ?
>>
>> It would be just great if repo.or.cz offered this option out-of-the-box...
>
> Now it does.

Great! so a link to a ZIP snapshot is now

http://repo.or.cz/w/opera_libre.git?a=snapshot;sf=zip

In another concession to windows users like my students, I'd like to
have a windows built-in version of main.ly (say winmain.ly) with the
foo/ path style in the includes, and which they could process directly
on their systems.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Good luck, Valentin

2009-02-05 Thread Francisco Vila
2009/2/5 Francisco Vila :
> In another concession to windows users like my students, I'd like to
> have a windows built-in version of main.ly (say winmain.ly) with the
> foo/ path style in the includes, and which they could process directly
> on their systems.

BTW: _if_ this is absolutely necessary every time a file has includes
in it, then we have to live with the fact that currently lilypond
input files are _not_ fully cross-platform.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Frenched parts for instruments with long rests

2009-02-05 Thread Paul Scott

Hi,

Using \RemoveEmptyStaffContext removes all staves on lines after the 
first system if they all contain rests, etc.  All that get left are the 
rehearsal marks.  Is there any real example where this is needed?  In 
every example where I am writing parts I want the first line of every 
system to be present even if all instruments in that score are resting.


This may not ever happen in a full score but it happens for me all the 
time when I "French" parts for a section like clarinets or trumpets.


Is there currently a way to cause the first staff of every system to 
exist even if it is all rests?


TIA,

Paul Scott




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


Re: Frenched parts for instruments with long rests

2009-02-05 Thread Kieren MacMillan

Hi Paul,

Is there currently a way to cause the first staff of every system  
to exist even if it is all rests?


There are several hints/suggestions in the list archive and/or LSR.
Kieren.


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


Re: Frenched parts for instruments with long rests

2009-02-05 Thread Paul Scott

Hi Kieren,

Oops!

Thanks!

Paul


Kieren MacMillan wrote:

Hi Paul,

Is there currently a way to cause the first staff of every system to 
exist even if it is all rests?


There are several hints/suggestions in the list archive and/or LSR.
Kieren.




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


\Paper syntax question

2009-02-05 Thread Padmavyuha
I'm struggling (as usual with new computer languages) with learning  
the syntax of the lilypond language.


I can't seem to find in the manuals or reference a clear explanation  
of how to set the left-margin value in a .ly file. The closest I got  
(or so I thought) was:


\paper { left-margin = 50\mm }

which is what the reference doc says, but it doesn't have any effect  
on the margin. There seem to be many different ways to trigger any  
particular variable, dependant on where you're putting it in the  
hierarchy, and I can't figure out how this one is supposed to work.


Help greatly appreciated...

- Padmavyuha


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


Re: \Paper syntax question

2009-02-05 Thread Jonathan Kulp

Padmavyuha wrote:
I'm struggling (as usual with new computer languages) with learning the 
syntax of the lilypond language.


I can't seem to find in the manuals or reference a clear explanation of 
how to set the left-margin value in a .ly file. The closest I got (or so 
I thought) was:


\paper { left-margin = 50\mm }

which is what the reference doc says, but it doesn't have any effect on 
the margin. There seem to be many different ways to trigger any 
particular variable, dependant on where you're putting it in the 
hierarchy, and I can't figure out how this one is supposed to work.


Help greatly appreciated...

- Padmavyuha



The left-margin adjustment works, but in the example you give it's a 
rather small increment.  Try changing it to something like 3\cm and 
you'll see a big difference.  If you're trying to make it go closer to 
the edge of the page, then you could add a horizontal-shift element to 
your paper block and adjust the value to your preference, like so:


\paper {
  horizontal-shift = -20
}


You can make it go right off the page with this if you want it to.  :)

HTH,

Jon
--
Jonathan Kulp
http://www.jonathankulp.com


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


Re: \Paper syntax question

2009-02-05 Thread Padmavyuha

On 5 Feb 2009, at 18:46, Jonathan Kulp wrote:


Padmavyuha wrote:
I'm struggling (as usual with new computer languages) with learning  
the syntax of the lilypond language.
I can't seem to find in the manuals or reference a clear  
explanation of how to set the left-margin value in a .ly file. The  
closest I got (or so I thought) was:

\paper { left-margin = 50\mm }
which is what the reference doc says, but it doesn't have any  
effect on the margin. There seem to be many different ways to  
trigger any particular variable, dependant on where you're putting  
it in the hierarchy, and I can't figure out how this one is  
supposed to work.

Help greatly appreciated...
- Padmavyuha


The left-margin adjustment works, but in the example you give it's a  
rather small increment.  Try changing it to something like 3\cm and  
you'll see a big difference.  If you're trying to make it go closer  
to the edge of the page, then you could add a horizontal-shift  
element to your paper block and adjust the value to your preference,  
like so:


\paper {
 horizontal-shift = -20
}


You can make it go right off the page with this if you want it to.  :)

HTH,

Jon


Thanks, Jon, but what I'm trying to do is set the left margin further  
to the right, but keep the right margin where it is - so there's space  
on the left for binding. As far as I can make out from experimenting,  
left-margin = 2\cm does exactly the same thing as horizontal-shift =  
20. The reference doc says that right-margin doesn't do anything yet,  
so I guess I'll have to play with line-width and paper-width as well  
as left-margin in order to achieve my goal.


- Padmavyuha


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


Re: \Paper syntax question

2009-02-05 Thread Jonathan Kulp

Padmavyuha wrote:

On 5 Feb 2009, at 18:46, Jonathan Kulp wrote:


Padmavyuha wrote:
I'm struggling (as usual with new computer languages) with learning 
the syntax of the lilypond language.
I can't seem to find in the manuals or reference a clear explanation 
of how to set the left-margin value in a .ly file. The closest I got 
(or so I thought) was:

\paper { left-margin = 50\mm }
which is what the reference doc says, but it doesn't have any effect 
on the margin. There seem to be many different ways to trigger any 
particular variable, dependant on where you're putting it in the 
hierarchy, and I can't figure out how this one is supposed to work.

Help greatly appreciated...
- Padmavyuha


The left-margin adjustment works, but in the example you give it's a 
rather small increment.  Try changing it to something like 3\cm and 
you'll see a big difference.  If you're trying to make it go closer to 
the edge of the page, then you could add a horizontal-shift element to 
your paper block and adjust the value to your preference, like so:


\paper {
 horizontal-shift = -20
}


You can make it go right off the page with this if you want it to.  :)

HTH,

Jon


Thanks, Jon, but what I'm trying to do is set the left margin further to 
the right, but keep the right margin where it is - so there's space on 
the left for binding. As far as I can make out from experimenting, 
left-margin = 2\cm does exactly the same thing as horizontal-shift = 20. 
The reference doc says that right-margin doesn't do anything yet, so I 
guess I'll have to play with line-width and paper-width as well as 
left-margin in order to achieve my goal.


- Padmavyuha



Right.  In my orchestral score I had to adjust the horizontal shift and 
line width to accommodate the instrument names, which were running off 
the left side of the page without the adjustments.  I think if you play 
around with line-width you'll find what you need.


Jon

--
Jonathan Kulp
http://www.jonathankulp.com


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


Re: \Paper syntax question

2009-02-05 Thread Padmavyuha


On 5 Feb 2009, at 19:02, Jonathan Kulp wrote:


Right.  In my orchestral score I had to adjust the horizontal shift  
and line width to accommodate the instrument names, which were  
running off the left side of the page without the adjustments.  I  
think if you play around with line-width you'll find what you need.


Jon


Yup, got it sussed now:

\paper { left-margin = 3\cm line-width = 17\cm }

where left-margin + line-width = paper-width - desired-right-margin  
(luckily for my tired brain, A4 has plain 21 cm as width) - so the  
above gives me a 3 cm LM and a 1 cm RM. I presume that when right- 
margin gets fully implemented, it'll just do that calculation for us :)


Thanks for your patience.

- Padmavyuha


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


Bug with missing 16th lines

2009-02-05 Thread Maarten Deen
I'm posting this bug here because the bug posting to 
gmane.comp.gnu.lilypond.bugs is broken (it says that I'm top-posting with the 
message below and will not post it).



If you render the following snippet to PDF, the 16th lines connecting the fis16
to the e16 are not rendered, making the fis16 look like a f4.
I've tested this in lilypond 2.10 and the latest 2.12.2-1, on Windows XP.
I have my rendering attached.

\paper {
  ragged-right = ##t
}

\layout {

}
\new Score <<
\new Staff
<<\set Staff.instrumentName="Strange things"
{   \voiceOne
\relative c'' {as2~ as2}
}
{   \voiceTwo
\relative c' {fis16 e16 d16 e16~ e4~ e2}
}
>>
>>


Regards,
Maarten


test.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug with missing 16th lines

2009-02-05 Thread Kieren MacMillan

Hi Maarten,


I'm posting this bug here


Not sure this can really be called a "bug"… your input syntax is  
somewhat confusing.
In particular, it looks like you want polyphony, but aren't actually  
coding polyphonic voices (which would require a \\).


Here is a possible modification which is actually valid polyphonic  
syntax:


\version "2.12"

\paper {
  ragged-right = ##t
}

\score
{
\new Staff
{
\set Staff.instrumentName = "Strange things"  
\relative c''
<<
{   \voiceOne
as2 ~ as2
}  \\
{   \voiceTwo
fis16 e16 d16 e16 ~ e4 ~ e2
}
>>
}
}

Hope this helps!
Kieren.

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


Tremolo / tuplet

2009-02-05 Thread Zbyněk Burget

Hi,
I've small problem
I've following bar:

c4-. \times 2/3 { \repeat "tremolo" 3 c8 } c4-. \times 2/3 { \repeat 
"tremolo" 3 c8 }


so-called tremolo is "in tuplet". But tuplet numbers are not printed.
Is any way to "visible" tuplet numbers?

My idea was some as  { c8-3 }, but tuplet numbers are italic and 
fingerings are bold :-(


Thanks, Zbynek


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


Re: Tremolo / tuplet

2009-02-05 Thread Zbyněk Burget

lilypond 2.10.33
(soory)

Zbyněk Burget napsal(a):

Hi,
I've small problem
I've following bar:

c4-. \times 2/3 { \repeat "tremolo" 3 c8 } c4-. \times 2/3 { \repeat 
"tremolo" 3 c8 }


so-called tremolo is "in tuplet". But tuplet numbers are not printed.
Is any way to "visible" tuplet numbers?

My idea was some as  { c8-3 }, but tuplet numbers are italic and 
fingerings are bold :-(


Thanks, Zbynek



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


two rehearsal mark on one barline

2009-02-05 Thread Zbyněk Burget

Hi,
one more question
can I put two rehearsal marks to one barline?
I need fermata on barline (I put it as rehearsal mark) and real 
rehearsal mark (number of part) together.

...and there is complication - this barline is on end of staffline :-(

lilypond 2.10.33

Can somebody help me?

Zbynek


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


multimeasure rest with no number of measures?

2009-02-05 Thread Chip
I would like to use a multi-measure rest, the long horizontal solid bar 
style, to indicate a rest period of any number of measures. I am trying 
to print lead sheets for some raggae music and the singer often changes 
things from one gig to the next. The horn players just listen for 
certain cues to indicate when they should play. I want a multi-measure 
rest with no number on it. Should be able to make on with any number 
then make the number invisible?

Thanks,
Chip


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


Re: two rehearsal mark on one barline

2009-02-05 Thread Marek Klein
Ahoj,
see this snippet:
 and use "scripts.ufermata" instead
of "scripts.segno".
Markup on end of line:


It is also very advisable to use current version of lilypond and to study
new documentation, especially learning manual.

-- 
Marek Klein
http://gregoriana.sk



2009/2/5 Zbyněk Burget 

Hi,
> one more question
> can I put two rehearsal marks to one barline?
> I need fermata on barline (I put it as rehearsal mark) and real rehearsal
> mark (number of part) together.
> ...and there is complication - this barline is on end of staffline :-(
>
> lilypond 2.10.33
>
> Can somebody help me?
>
> Zbynek
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>






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


Re: multimeasure rest with no number of measures?

2009-02-05 Thread Robin Bannister

Chipwrote:
 I want a multi-measure rest with no number on it. 


This gets rid of the number:
  mmrNoNum = \once \override MultiMeasureRestNumber #'stencil = ##f
as in:
  \mmrNoNum R1*16

Cheers,
Robin


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


printed page does not match the .pdf file

2009-02-05 Thread Chip
When I view my file as .pdf it shows the very small margins all the way 
around the page. When I print the .pdf using jpedal I get what appears 
to be 1" margins left and right and bottom, and about 2" from the top of 
the page to the top of the title. What do I have to do to get the page 
to print just like the .pdf? I am using jedit/jpedal on XP. Below is my 
code for this particular page.

Thanks,
Chip
==
\version "2.12.1"
\layout {  indent = #0
 line-width = #195
 ragged-last = ##t
}
\include "english.ly"
#(set-default-paper-size "letter")

global = {
 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
 \override MultiMeasureRest #'expand-limit = 1
 \set Score.skipBars = ##t
 \numericTimeSignature
 #(set-global-staff-size 18)
}
\paper {
#(define page-breaking ly:minimal-breaking)
 between-system-padding = #0.1
}
\book {
 \header {
   title = "Ras Jammie - Thin Line"
   instrument = "Tenor Sax" }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxHooked.ly"
   }
   \header {piece = "Hooked (EMaj - F#m)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxDaddy.ly"
   }
   \header {piece = "Daddy Won't Mind (FMaj - Gm)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxSometimey.ly"
   }
   \header {piece = "Sometimey People (Cm - Fm)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxBlack.ly"
   }
   \header {piece = "Black Day (Em - GMaj)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxJah.ly"
   }
   \header {piece = "Jah Son (Em - F#m)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxRunaway.ly"
   }
   \header {piece = "Runaway Slave"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxAnxiety.ly"
   }
   \header {piece = "Anxiety Attack"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxFroggy.ly"
   }
   \header {piece = "Froggy"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxMore.ly"
   }
   \header {piece = "More"}
 }
}


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


Re: function to fit music within a given range?

2009-02-05 Thread Gilles THIBAULT




Is there an existing function/snipped that will adjust the octave of
music to within a given range of notes? For example, I have a melody
played by many instruments in a score, but some instruments can't
reach the higher notes, so those notes must be shifted to a lower
octave; I'd like to avoid copying & rewriting that part (and
quoteDuring has become just as messy).



Here is a function that seems to work but i am not sure that it will produce 
nices melodies ...



%%%
#(define (check-pitch limit-pitch p)
(if (ly:pitchcheckPitch  = #(define-music-function (parser location  note 
music )(ly:music? ly:music?)

(let* (
(elts (ly:music-property note 'elements))
(limit-pitch (ly:music-property (car elts) 'pitch)))
(if (ly:pitch? limit-pitch)
 (music-map
 (lambda (evt)
  (let ((p (ly:music-property evt 'pitch)))
   (if (ly:pitch? p)
(ly:music-set-property! evt 'pitch
 (check-pitch limit-pitch p)))
   evt))
 music)
music)))

music = \relative {
c4 d e f g a b c
d \mark "limit note" e f g a b c d
e f g f e d c b
a g f e d c b a
g f e d c1}
\score {<<
\new Staff \music
\new Staff \checkPitch  d'' \music >>}




Gilles 




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