custom autobeam settings trashed by time sig?

2010-04-18 Thread Kieren MacMillan
Hi all,

In Lilypond 2.13.x, I'm finding that my autobeam overrides are being overridden 
every time I change [i.e., alternate] time signatures -- for example,

\version "2.13.17"
\relative c' {
  \time 2/2
\overrideBeamSettings #'Score #'(2 . 2) #'end #'((* . (1 1 1 1)))
\set Score.beatLength = #(ly:make-moment 1 4)
c8 c c c c c c c
  \time 3/2 c c c c c c c c c c c c 
  \time 2/2 c c c c c c c c
}

Am I the only one that thinks this is not desirable behaviour? Do I really have 
to create my own functions like

twotwo = {
  \time 2/2
  \overrideBeamSettings #'Score #'(2 . 2) #'end #'((* . (1 1 1 1)))
  \set Score.beatLength = #(ly:make-moment 1 4)
}

and use that -- instead of "\time 2/2" -- in order to encapsulate (and thus 
hold on to) my beam settings? Or is there something about the mechanism that 
I'm misunderstanding?

Thanks,
Kieren.

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


\extractMusic documentation.

2010-04-18 Thread Gilles THIBAULT

Hello everybody !

It has been a while since i wanted to provide deeper informations about the
function discribed here :
http://lsr.dsi.unimi.it/LSR/Item?id=542
This is done now.
You can get this pdf of information and the last version of
"extractMusic.ly" in this directory :
http://gillesth.free.fr/Lilypond/extractMusic/
Note that the last version of "extractMusic.ly" has some new features and
new functions.

Here are the direct links
http://gillesth.free.fr/Lilypond/extractMusic/extractMusic.ly
http://gillesth.free.fr/Lilypond/extractMusic/extractMusic-doc.pdf

I just hope that my english is not too bad, and that the explanations will
be enough understandable ...

Good week.

Gilles




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


Re: SVG and image editing

2010-04-18 Thread Gerard McConnell
I'm still using 2.12 for the svg output.  Open the .svg output file from 
Lilypond with a text editor and replace all the feta-alphabet26 with 
emmentaler.   I'm using Inkscape 0.47, so
then I have to select the entire input file and ungroup twice, that gives you 
access to all the elements.  LilyPond, LilyPondTool and Inkscape 0.47 is the 
GREATEST setup!!  
Thanks and Thanks Again to the LilyPond team for their Stellar Work and 
Generosity!!!  (My aplogies for not knowing enough yet to contribute usefully.)
Gerard

- Original Message - 
  From: Bernardo Barros 
  To: Francisco Vila 
  Cc: lilypond-user 
  Sent: Sunday, April 18, 2010 5:44 PM
  Subject: Re: SVG and image editing


  With 2.13.18 it works much better :-)


  On 18 April 2010 13:22, Francisco Vila  wrote:

2010/4/18 Bernardo Barros :

> Thanks Francisco
> version 2.12.3
> Is there a more recent one?


Yes, development releases. Patrick McCarty has implemented lots of
improvements to SVG backend since summer 2009; although 2.12.2 is from
january 2009 and 2.12.3 is from December, I am not sure the latter has
those improvements. You could try uninstalling 2.12.3 and trying
2.13.18.

--

Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com





--


  ___
  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: error message from PDF viewer

2010-04-18 Thread Jonathan Kulp
On Sun, Apr 18, 2010 at 12:25 PM, Martin Tarenskeen
 wrote:
> On Sun, 18 Apr 2010, Graham Percival wrote:
>
>> We don't want to see any copyrighted file; quite apart from the
>> legal issue, that would be too long.  Please create a tiny
>> example:
>
> OK. Here is a tiny example (attached).
>
> 1. I use Lilypond 2.13.18 on Fedora 12 to compile
> 2. I start Evince from my terminal to view the pdf. Looks fine to me.
> 3. I close Evince.
> 4. I see that Evince has left some messages in my terminal:
>
> ** (evince:8380): WARNING **: Failed to create dbus proxy for
> org.gnome.SettingsDaemon: Could not get owner of name
> 'org.gnome.SettingsDaemon': no such name
> Error: Illegal entry in bfrange block in ToUnicode CMap
> Error: Illegal entry in bfrange block in ToUnicode CMap
> Error: Illegal entry in bfrange block in ToUnicode CMap
> Error: Illegal entry in bfrange block in ToUnicode CMap
> Error: Illegal entry in bfrange block in ToUnicode CMap
> Error: Illegal entry in bfrange block in ToUnicode CMap
>
> Press ENTER or type command to continue
>

This happens to me, too. I'm also running Fedora 12. My solution is to
use Acrobat Reader instead of Evince. Slower, but no more errors.

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


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


Re: error message from PDF viewer

2010-04-18 Thread Martin Tarenskeen



On Sun, 18 Apr 2010, Graham Percival wrote:


We don't want to see any copyrighted file; quite apart from the
legal issue, that would be too long.  Please create a tiny
example:


OK. Here is a tiny example (attached).

1. I use Lilypond 2.13.18 on Fedora 12 to compile
2. I start Evince from my terminal to view the pdf. Looks fine to me.
3. I close Evince.
4. I see that Evince has left some messages in my terminal:

** (evince:8380): WARNING **: Failed to create dbus proxy for 
org.gnome.SettingsDaemon: Could not get owner of name 
'org.gnome.SettingsDaemon': no such name

Error: Illegal entry in bfrange block in ToUnicode CMap
Error: Illegal entry in bfrange block in ToUnicode CMap
Error: Illegal entry in bfrange block in ToUnicode CMap
Error: Illegal entry in bfrange block in ToUnicode CMap
Error: Illegal entry in bfrange block in ToUnicode CMap
Error: Illegal entry in bfrange block in ToUnicode CMap

Press ENTER or type command to continue

--


Martin Tarenskeen\version "2.13.18"

upper = \relative c' { \clef treble c1 } 
lower = \relative c { \clef bass c1 }
dynamics = { s1\mf }

\score {
  \new PianoStaff {
<<
  \new Staff { \upper }
  \new Dynamics { \dynamics }
  \new Staff { \lower }
>>
  }
  \layout {}
}

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


Re: error message from PDF viewer

2010-04-18 Thread Martin Tarenskeen



On Sun, 18 Apr 2010, Graham Percival wrote:


We don't want to see any copyrighted file; quite apart from the
legal issue, that would be too long.  Please create a tiny
example:


Yes, I know and agree. I'll see I can strip as many notes as possible 
until the error message disappears.



I could attach the lilypond source file, but it is copyrighted material
so if anyone needs it for bughunting/fixing I would rather send it via
private mail.


--

Martin Tarenskeen



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


Re: error message from PDF viewer

2010-04-18 Thread Graham Percival
We don't want to see any copyrighted file; quite apart from the
legal issue, that would be too long.  Please create a tiny
example:
http://lilypond.org/website/tiny-examples.html

Cheers,
- Graham


On Sun, Apr 18, 2010 at 06:34:26PM +0200, Martin Tarenskeen wrote:
>
> Hi,
>
> When I load a PDF file I just created from a Lilypond score, starting my  
> viewer (Evince) from the commandline, I see several messages on my  
> terminal saying:
>
> Error: Illegal entry in bfrange block in ToUnicode CMap
>
> It does not seem to hurt much since my score looks fine. But did anyone  
> see this message before. Does anyone know where it could be coming from ?
>
> I could attach the lilypond source file, but it is copyrighted material 
> so if anyone needs it for bughunting/fixing I would rather send it via  
> private mail.
>
> -- 
>
> Martin Tarenskeen
>
>
> ___
> 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: SVG and image editing

2010-04-18 Thread Bernardo Barros
With 2.13.18 it works much better :-)

On 18 April 2010 13:22, Francisco Vila  wrote:

> 2010/4/18 Bernardo Barros :
> > Thanks Francisco
> > version 2.12.3
> > Is there a more recent one?
>
> Yes, development releases. Patrick McCarty has implemented lots of
> improvements to SVG backend since summer 2009; although 2.12.2 is from
> january 2009 and 2.12.3 is from December, I am not sure the latter has
> those improvements. You could try uninstalling 2.12.3 and trying
> 2.13.18.
>
> --
> Francisco Vila. Badajoz (Spain)
> www.paconet.org , www.csmbadajoz.com
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


error message from PDF viewer

2010-04-18 Thread Martin Tarenskeen


Hi,

When I load a PDF file I just created from a Lilypond score, starting my 
viewer (Evince) from the commandline, I see several messages on my 
terminal saying:


Error: Illegal entry in bfrange block in ToUnicode CMap

It does not seem to hurt much since my score looks fine. But did anyone 
see this message before. Does anyone know where it could be coming from ?


I could attach the lilypond source file, but it is copyrighted material so 
if anyone needs it for bughunting/fixing I would rather send it via 
private mail.


--

Martin Tarenskeen


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


Re: SVG and image editing

2010-04-18 Thread Francisco Vila
2010/4/18 Bernardo Barros :
> Thanks Francisco
> version 2.12.3
> Is there a more recent one?

Yes, development releases. Patrick McCarty has implemented lots of
improvements to SVG backend since summer 2009; although 2.12.2 is from
january 2009 and 2.12.3 is from December, I am not sure the latter has
those improvements. You could try uninstalling 2.12.3 and trying
2.13.18.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


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


Re: SVG and image editing

2010-04-18 Thread Bernardo Barros
Thanks Francisco

version 2.12.3

Is there a more recent one?


On 18 April 2010 12:53, Francisco Vila  wrote:

> 2010/4/18 Bernardo Barros :
> > When it does I tried to open with InkScape 0.47, and all the fonts are a
> > MESS (see the image).
>
> Please tell us what exact version of LilyPond are you using: svg
> support has been improved recently.
> --
> Francisco Vila. Badajoz (Spain)
> www.paconet.org , www.csmbadajoz.com
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: SVG and image editing

2010-04-18 Thread Francisco Vila
2010/4/18 Bernardo Barros :
> When it does I tried to open with InkScape 0.47, and all the fonts are a
> MESS (see the image).

Please tell us what exact version of LilyPond are you using: svg
support has been improved recently.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


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


SVG and image editing

2010-04-18 Thread Bernardo Barros
Hi list,

The idea of working with .svg files (or any other format that you can do a
final edition an a image editor like Inkscape, Adobe Illustrator, Coreldraw
or anything) seems to me really interesting. Because then you have a last
chance to do everything you couldn't do within the code and make all the
minor adjustments that you fell necessary. So I gave it a try. I added to
the Smultron command -dbackend=svg.

Sometimes it works, sometime it doesn't...

When it does I tried to open with InkScape 0.47, and all the fonts are a
MESS (see the image).
I tried to open the ps and the pdf files, not better.

Is it a know bug? The guys developing Lilypond think this is a good thing to
focus?

I find the idea of adjusting everything in a image editor really nice.

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


[newbie]Acciaccatura and tie under the phrasing slur

2010-04-18 Thread bipll

Greetings, everybody. I'm trying to (n00b-)typeset klavier part of Pastorale
from Schnittke's Suite in Old Style. In printed version, the first two lines
of right hand-part look like this:
http://old.nabble.com/file/p28282130/twolines.png 
After looking through the manual I came to an idea of partcombining the two
voices, duplicating the notes in both in bars where only one voice is
printed. So I wrote the following code:

=
\version "2.12.2"

upper = {
  \mark "Moderato"
  \clef treble
  \key c \major
  \time 6/8
  <<
\partcombine \relative c''
{
  \partial 8
  g8\(  c8. d16 e8 d e c  b8.\prall a16 g8~ g4\) g8\(  e'8.
f16 g8 f g e  \acciaccatura e8 d4.~ d4\) g8\(  \stemUp e4 g8 f4 f8
  d8. e16 f8 e4 c8  e8. d16 c8 c d b  c4.~ c4\) g8\(  e4 g8
f4 f8  d8. e16 f8 e4 c8  e8. d16 c8 c d b  c2.\)

}
\relative c'' {
  \partial 8
  g8  c8. d16 e8 d e c  b8.\prall a16 g8~ g4 g8  c8. d16 e8
d e c  b4.~ b4 g'8
  c,2.  b  a4. g  g4.~ g4 g8  c,2.  b  a4. g 
g2.
}
  >>
}

lower = {
  \clef bass
  \key c \major
  \time 6/8
  <<
\partcombine \relative c' {
  \partial 8
  r8  e4. c  d~ d4 r8  g4. c,  d~ d4 r8  g8. f16 e8
f4 f8  f8. e16 d8 e4 e8
  c8. d16 e8 f8. e16 c8  e4.~ e4 r8  g,8. f16 e8 f4.  f8.
e16 d8 e4.  c8. d16 e8 f8. e16 d8  e2.
}
\relative c' {
  \partial 8
  r8  c4. e,  g~ g4 r8  c4. e,  g~ g4 r8  b4. a 
a g
  f g  c~ c4 r8  b,4. a  a g  f g  c2.
}

  >>
}
\score {
  \new PianoStaff \with { printPartCombineTexts = ##f } <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
  >>
  \layout {
\context {
  \RemoveEmptyStaffContext
}
  }

  \midi {}
}
=
which results in
http://old.nabble.com/file/p28282130/threelines.png 
So, I see the following issues:
1) lilypond doesn't seem to note  end of the second phrasing slur (bars
3-5). Trying to use simply a slur instead resulted in an error, of course,
as the slur from acciaccatura becomes nested. I tried to move the end of the
ph. sl. "\)"-sign, and the most notabe changes were that the curve ended in
the previous bar, and the third ph. sl. didn't start, i. e. was totally
ignored;
2) the slur from acciaccatura in bar 5 connects it to the g from the lower
voice, even though the grace note and the b are in the same voice  (and I
wanted them to be connected, as in original printing). Didn't get no idea
how to fix it.
Could anyone help?
-- 
View this message in context: 
http://old.nabble.com/-newbie-Acciaccatura-and-tie-under-the-phrasing-slur-tp28282130p28282130.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