Re: path to lilypond executable

2015-03-12 Thread Johan Vromans
On Thu, 12 Mar 2015 08:29:33 +0100
Urs Liska u...@openlilylib.org wrote:

 Am 12.03.2015 um 01:14 schrieb Mattes:
  Hmm,  are you looking for the path to the current lilypond executable
  or the current lilypond input file?
  For the first '(car (command-line))'  might be all you need.
 
 Yes, this is what I'm looking for, thank you.

Please be aware that on vanilla *ix systems this only works if the program
is executed via a PATH search.

E.g., if lilypond is in /usr/bin:

  cd /tmp
  lilypond   -- /usr/bin/lilypond
  cd /usr/bin
  ./lilypond   -- ./lilypond

-- Johan

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


Re: path to lilypond executable

2015-03-12 Thread and...@andis59.se

On 2015-03-12 08:29, Urs Liska wrote:



Could anybody please tell me what

\version 2.18.2

#(display (car (command-line)))

displays on Windows (i.e. how the string is formatted)?


Using Frescobaldi

C:\lilypond-2-18-2-1\usr\bin\lilypond-windows.exe

// Anders

--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.

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


Re: Spacing Cheat Sheet

2015-03-12 Thread Kaj

Hi Joram,

Yes, of course, I can say now after your replay and explanation. Why 
didn't I see this myself?  For what you point out, of course I have seen 
this with hierarchy and different kinds of staff grouping a lot of times 
when reading the documentation. But I did not realize the consequences 
of my reading. Your are a good teacher, and also a wee of mind reader, 
which probably is one important making of being a successful teacher. 
What you pointed out is exactly my case: no StaffGroup but ChoirStaff 
and PianoStaff. So of course I my efforts to move the staves had no 
effect by just copying from your sheet. Now I can say of course, but I 
did not realize this. Your explanation has opened my eyes, and I have 
come a few steps further towards the true understanding. Thank you!


Kaj

On 2015-03-12 01:31, Noeck wrote:

Dear Kaj,

you are brave to really dig through all this! That's a good thing. I
think I can help you here, too:

It is correct (and it works like expected) if you do
\override StaffGroup.StaffGrouper.staff-staff-spacing.padding = 30
like I wrote. But only (!) if your grouping context is a StaffGroup. In
case you have a PianoStaff or a ChoirStaff or anything else, you need to
override the property of that context. I.e.
\override PianoStaff.StaffGrouper.staff-staff-spacing.padding = 30
and the like.
There is a context hierarchy in LilyPond: A lower level context (e.g.
Voice) can be inside a staff, which can be inside a staff group, which
can be inside a score. Of course more complex nesting is possible.
The important thing for you is: The inner contexts inherit (take the
overrides) from the outer contexts. In your case, if you override the
StaffGrouper of the Score, that overrides the spacing for any
StaffGrouper in the Score. If you override the spacing for the
StaffGroup (and similar), only this kind of group is affected and if you
do so in the \with statement, only this particular context is affected.

Here is an example showing some possible overrides:

\version 2.18.2

\layout {
   % no effect because there is no StaffGroup
   % only PianoStaff and ChoirStaff
   \override StaffGroup.StaffGrouper.staff-staff-spacing.padding = 60
   % this works for the piano staff (upper group)
   \override PianoStaff.StaffGrouper.staff-staff-spacing.padding = 15
   % this works for all groups but the PianoStaff has more specific
   % settings which are used instead
   \override Score.StaffGrouper.staff-staff-spacing.padding = -2
   \override Score.StaffGrouper.staff-staff-spacing.basic-distance = 0
}

  
   \new PianoStaff 
 \new Staff { a }
 \new Staff { b }
   
   \new ChoirStaff 
 \new Staff { c }
 \new Staff { d }
   
   \new PianoStaff \with {
 % this override only affects this second piano staff
 % overriding the Score and PianoStaff overrides from
 % the layout block above
 \override StaffGrouper.staff-staff-spacing.padding = 4
   } 
 \new Staff { e }
 \new Staff { f }
   
  

Don't hesitate to ask again if things are still unclear.

Cheers,
Joram



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


Re: Time signature style with note in the denominator

2015-03-12 Thread Pierre Perol-Schneider
Hi Gilberto,

Try :

\version 2.19.15

#(define-public (format-time-sig-note grob)
   (let* ((frac (ly:grob-property grob 'fraction))
  (num (if (pair? frac) (car frac) 4))
  (den (if (pair? frac) (cdr frac) 4))
  (m
   (markup #:override '(baseline-skip . 0.5)
 #:center-column (#:number (number-string num)
   #:override '(style . default)
   ;; her comes the flag:
   #:override '(flag-style .
modern-straight-flag)
   #:note (number-string den)
  DOWN
 (grob-interpret-markup grob m)))

%%%

\relative c' {
  \override Staff.Flag.stencil = #modern-straight-flag
  \override Staff.TimeSignature.stencil = #format-time-sig-note
  \time 3/8
  \autoBeamOff
  c8 c8 c8
}


Cheers,
Pierre

2015-03-11 13:52 GMT+01:00 Gilberto Agostinho gilbertohasn...@gmail.com:

 Hello LilyPonders,

 Could someone please give me a hand? I want to use the following snippet
 (from: http://lsr.di.unimi.it/LSR/Item?id=642), but I'd like that the
 notes
 in the denominator to use the straight-modern-flag similarly to the notes
 of
 the score:

 \version 2.19.15

 #(define-public (format-time-sig-note grob)
(let* ((frac (ly:grob-property grob 'fraction))
   (num (if (pair? frac) (car frac) 4))
   (den (if (pair? frac) (cdr frac) 4))
   (m (markup #:override '(baseline-skip . 0.5)
  #:center-column (#:number (number-string num)
#:override '(style .
 default)
#:note (number-string den)
 DOWN
  (grob-interpret-markup grob m)))

 %%%

 \relative c' {
   \override Staff.Flag.stencil = #modern-straight-flag
   \override Staff.TimeSignature.stencil = #format-time-sig-note
   \time 3/8
   \autoBeamOff
   c8 c8 c8
 }

 This code above produces:
 http://lilypond.1069038.n5.nabble.com/file/n172947/03.png

 Any help is very much appreciated.

 Best,
 Gilberto



 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/Time-signature-style-with-note-in-the-denominator-tp172947.html
 Sent from the User mailing list archive at Nabble.com.

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

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


Re: path to lilypond executable

2015-03-12 Thread Urs Liska

Am 12.03.2015 um 08:58 schrieb and...@andis59.se:

On 2015-03-12 08:29, Urs Liska wrote:



Could anybody please tell me what

\version 2.18.2

#(display (car (command-line)))

displays on Windows (i.e. how the string is formatted)?


Using Frescobaldi

C:\lilypond-2-18-2-1\usr\bin\lilypond-windows.exe



Thanks. Fortunately the respected result :-)

Urs


// Anders




--
Urs Liska
www.openlilylib.org

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


Re: path to lilypond executable

2015-03-12 Thread Urs Liska

Am 12.03.2015 um 09:11 schrieb Johan Vromans:

On Thu, 12 Mar 2015 08:29:33 +0100
Urs Liska u...@openlilylib.org wrote:


Am 12.03.2015 um 01:14 schrieb Mattes:

Hmm,  are you looking for the path to the current lilypond executable
or the current lilypond input file?
For the first '(car (command-line))'  might be all you need.


Yes, this is what I'm looking for, thank you.


Please be aware that on vanilla *ix systems this only works if the program
is executed via a PATH search.

E.g., if lilypond is in /usr/bin:

   cd /tmp
   lilypond   -- /usr/bin/lilypond
   cd /usr/bin
   ./lilypond   -- ./lilypond



OK, this means if the result points to in the current dir then I 
should prepend it with the current dir (which is easily possible with 
the tools I already have).


But I couldn't verify this actually.
I have a binary release (on Debian), installed through the install 
script. The executable is in ~/lilypond/usr/bin/lilypond (where the 
lilypond path is actually a symlink).


I get
= /home/uliska/lilypond/usr/bin/lilypond
with each of the following:

cd ~
lilypond test-script.ly
cd ~/bin
lilypond test-script.ly
cd ~/lilypond/usr/bin
lilypond test-script.ly

I'm happy that the result points to the actual lily executable and not 
to the wrapper script in ~/bin.
I don't have a package installation, so I don't know if that would 
return different reults.

Could someone please try this out for me?

Thank you
Urs



-- Johan

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




--
Urs Liska
www.openlilylib.org

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


Re: path to lilypond executable

2015-03-12 Thread Noeck
Hi Urs,

 I get
 = /home/uliska/lilypond/usr/bin/lilypond
 with each of the following:
 
 cd ~
 lilypond test-script.ly
 cd ~/bin
 lilypond test-script.ly
 cd ~/lilypond/usr/bin
 lilypond test-script.ly

The difference was whether you use path search or not:
lilypond (execute it wherever it is found)
or
./lilypond (execute this file here)

so this should make a difference:
cd ~/lilypond/usr/bin
./lilypond test-script.ly

Cheers,
Joram

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


Re: path to lilypond executable

2015-03-12 Thread Wilbert Berendsen
Op Thu, 12 Mar 2015 09:11:33 +0100
Johan Vromans jvrom...@squirrel.nl schreef:

 Please be aware that on vanilla *ix systems this only works if the
 program is executed via a PATH search.
 
 E.g., if lilypond is in /usr/bin:
 
   cd /tmp
   lilypond   -- /usr/bin/lilypond
   cd /usr/bin
   ./lilypond   -- ./lilypond

If I run simply lilypond, (car (command-line)) also just yields
'lilypond'. (while lilypond resides in /usr/local/bin on my system)

You could read PATH of course and decude where lilypond is found.

But you could always ask LilyPond for its datadir, it always returns
the absolute path to the ly, svg, ps, scm etc files.

#(display (ly:get-option 'datadir))



-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: path to lilypond executable

2015-03-12 Thread Urs Liska

Am 12.03.2015 11:40, schrieb Wilbert Berendsen:

But you could always ask LilyPond for its datadir, it always returns
the absolute path to the ly, svg, ps, scm etc files.

#(display (ly:get-option 'datadir))

Thank you very much, this is even closer to what I really want, namely 
the fonts dir, which is inside that :-)


Best
Urs

--
Urs Liska
u...@openlilylib.org


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


Re: path to lilypond executable

2015-03-12 Thread Urs Liska

Am 12.03.2015 15:38, schrieb Noeck:

I assume python has a function abspath or similar.

os.path.abspath


Yes, but I'm looking for a Scheme solution (which I now have).

--
Urs Liska
u...@openlilylib.org


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


convert-ly adding linefeeds / carriage return

2015-03-12 Thread stephan.patter...@videotron.ca
Wilbert,

Thanks for your help. I should have tried that before posting. It turns out 
that the problem is with Frescobaldi. Running convert-ly from the command-line 
works fine, no carriage return and/or linefeed added.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: path to lilypond executable

2015-03-12 Thread Johan Vromans
On Thu, 12 Mar 2015 12:30:15 +0100
Urs Liska u...@openlilylib.org wrote:

 Am 12.03.2015 11:40, schrieb Wilbert Berendsen:
  But you could always ask LilyPond for its datadir, it always returns
  the absolute path to the ly, svg, ps, scm etc files.
 
  #(display (ly:get-option 'datadir))
 
 Thank you very much, this is even closer to what I really want, namely 
 the fonts dir, which is inside that :-)

This is a reminder to all of us that it is usually best to ask what you are
looking for :) .

-- Joahn

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


Re: path to lilypond executable

2015-03-12 Thread Johan Vromans
On Thu, 12 Mar 2015 10:38:20 +0100
Urs Liska u...@openlilylib.org wrote:

 OK, this means if the result points to in the current dir then I 
 should prepend it with the current dir (which is easily possible with 
 the tools I already have).

To be more precise: when the result is not an absolute path name (i.e.,
does not start with a / ) then it must be resolved from the perspective of
the current directory. I assume python has a function abspath or similar.

 I get
 = /home/uliska/lilypond/usr/bin/lilypond
 with each of the following:
 
 cd ~
 lilypond test-script.ly
 cd ~/bin
 lilypond test-script.ly
 cd ~/lilypond/usr/bin
 lilypond test-script.ly

You probably do not have . in your PATH, or it does not precede
/home/uliska/lilypond/usr/bin/. Try e.g.

env PATH=.:$PATH lilypond test-script.ly

-- Johan

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


Re: path to lilypond executable

2015-03-12 Thread Noeck
 I assume python has a function abspath or similar.
os.path.abspath

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


Re: Tweak Down causes extra space

2015-03-12 Thread Thomas Morley
2015-03-12 22:08 GMT+01:00 Thomas Morley thomasmorle...@gmail.com:


 2015-03-12 20:35 GMT+01:00 Craig Dabelstein craig.dabelst...@gmail.com:


 Hi Lilyponders,

 Has anyone run into this before.

 When including a Da Capo markup at the end of a file, if it sits above
 the staff it is fine, but when I uncomment the \tweak direction #DOWN
 command it moves the marking below the staff but adds a heap of  extra
 space. Please see the attached file.

 This has been driving me crazy. I'm sure there is a simple fix that I've
 overlooked.

 Craig


 It's caused by \markLengthOn in your global-variable: The spacing-wish of
 RehearsalMark and Dynamic conflict.


I did some more investigation and filed a bug-report. It's not the
Dynamic/RehearsalMark conflict, but \markLengthOn itself.

http://lilypond.1069038.n5.nabble.com/markLengthOn-fails-if-MetronomeMark-RehearsalMark-direction-is-DOWN-td173039.html


Cheers,
  Harm

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


Re: [savannah-help-public] Google Code will be no more at 2016-01-25

2015-03-12 Thread Werner LEMBERG

 How many of those issues are the sort that affect users every second
 Tuesday after a a blue moon versus critical bugs?

I don't understand what you are trying to ask.  Please have a look at 

  https://code.google.com/p/lilypond/issues/list

to see how we are collecting reports.  Note that we discourage Joe
User from generating issues; instead, we have bugmeisters who take
care of properly generating entries.


Werner

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


Re: [savannah-help-public] Google Code will be no more at 2016-01-25

2015-03-12 Thread Werner LEMBERG

 However, one extremely important feature is sorely missing from
 Savannah's bug tracker: the ability to directly display images,
 [...]  Are there plans to implement image support?

 Realistically, no.

Hmm.  Perhaps it's time to open an issue in FusionForge (at least I
assume that the Savane installation on Savannah will eventuall move to
FusionForge).

 I noticed google provides some tools to export the issues as a file.
 Perhaps there could be a way to take their output, and import it
 into savannah (generating the proper structures and items in the
 database).  I'm guessing this will not be trivial, but if there's
 interest in working on that, I'll can assist from the Savannah side.

Thanks in advance for the offer.  IMHO, since we are forced to migrate
to another site, we have to immediately start with evaluating our
options.


Werner

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


Postsctipt arrows

2015-03-12 Thread Andrew Bernard
Greetings list,

I want to make many different types of arrows using PostScript. The following 
function from the Adobe Blue Book works very nicely for what I need. It’s quite 
general.

The question is, how do I incorporate something of this level of complexity 
this into a form where it can be invoked with \postscript in a \markup block?

%!PS-Adobe-3.0
/arrowdict 14 dict def arrowdict begin
/mtrx matrix def end
/arrow
{ arrowdict begin
/headlength exch def /halfheadthickness exch 2 div def /halfthickness exch 2 
div def
/tipy exch def /tipx exch def
/taily exch def /tailx exch def
/dx tipx tailx sub def
/dy tipy taily sub def
/arrowlength dx dx mul dy dy mul add
sqrt def
/angle dy dx atan def
/base arrowlength headlength sub def
/savematrix mtrx currentmatrix def
tailx taily translate angle rotate
0 halfthickness neg moveto
base halfthickness neg lineto base halfheadthickness neg lineto arrowlength 0 
lineto
base halfheadthickness lineto base halfthickness lineto
0 halfthickness lineto
closepath
savematrix setmatrix end
} def

An example of use in raw PostScript:

newpath
318 340 72 340 10 30 72 arrow
fill

Andrew




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


Re: [savannah-help-public] Google Code will be no more at 2016-01-25

2015-03-12 Thread Werner LEMBERG

 Patches are always welcomed, but I do not know if anyone is
 interested in hacking on the current php code to add such a
 feature.
 
 Right, I'm not exactly interested, but if that single feature
 makes the difference between lilypond moving to savannah or
 somewhere, I'd at least try to look at it.

I would be glad if we could use Savannah since I don't like github's
workflow very much.  BTW, while github is able to display images, you
can't have any non-image attachments, which is very annoying.

 Of course it would be great if someone from lilypond was willing.

It seems that FusionForge (the successor of Savane) is written in PHP,
which is unfortunately a programming language I don't know at all...

 Does google do anything to filter out virus-y images?  Since they
 are so commonly used as a carrier for bad things.  I'm not sure how
 to even begin on that problem.  And spammers signing up for savannah
 is a known and continuing problem.

My suggestion is to use netpbm programs to filter everything, e.g.

  jpegtopnm  input.jpg | pnmtojpeg  output.jpg
  pngtopnm  input.png | pnmtopng  output.png

(with some sensible command line options).  This should ensure that
the images are not malformed.

 I gather lilypond wants a web interface, not a mail interface,
 though?

Yes, I think so.


Werner

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


Re: convert-ly adding linefeeds / carriage return

2015-03-12 Thread Wilbert Berendsen
Op Thu, 12 Mar 2015 09:19:35 -0400
stephan.patter...@videotron.ca stephan.patter...@videotron.ca
schreef:

 Thanks for your help. I should have tried that before posting. It
 turns out that the problem is with Frescobaldi. Running convert-ly
 from the command-line works fine, no carriage return and/or linefeed
 added.

thanks, added as
https://github.com/wbsoft/frescobaldi/issues/649


-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Copying metronome marks to multiple \StaffGroup's

2015-03-12 Thread Kieren MacMillan
Hi Xavier,

 Actually it should be done easily by adding Metronome_mark_engraver
 to the StaffGroup.

I find it about the same amount of work — but far more flexible — to add a new 
context.

 Unfortunately there is a bug in LilyPond and it does not work.
 https://code.google.com/p/lilypond/issues/detail?id=2199

And that, too.  ;)

Cheers,
Kieren.
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


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


Re: Tweak Down causes extra space

2015-03-12 Thread Jim Long
We may be at cross purposes if you're creating score-oriented
music.  I generally create lead sheets.  But no matter.

I can understand your question, but will you eventually be
generating single parts from your score?  Would you not then
WANT to have the D.C. included in every part?  \global helps
you there, compared to having to manually insert the D.C.
markup into each instrument part when you go to produce
individual parts.

If Harm's solution works for you, that's what I would use.
However, I would still recommend putting all rehearsal marks
(including the D.C.) into the global music variable, so that both
your full score and your individual parts will have identical
rehearsal marks.

Jim


On Thu, Mar 12, 2015 at 08:37:13PM +, Craig Dabelstein wrote:
 Hi Jim,
 
 When I put in the Da Capo as a text markup in the global section, it ends
 up appearing on every staff, rather than just the bottom one, whereas when
 it is in as a rehearsal mark it only appears once like it should.
 
 How do you overcome this? See attached file.
 
 Craig
 
 
 On Fri, 13 Mar 2015 at 06:25 Craig Dabelstein craig.dabelst...@gmail.com
 wrote:
 
  Hi Jim,
 
  Thanks for your quick response. I'll look into your solution now.
 
  Craig
 
 
 
 
  On Fri, 13 Mar 2015 at 06:23 Jim Long lilyp...@umpquanet.com wrote:
 
  Hi, Craig.
 
  Just for a different perspective, I always put form-related marks
  like D.C., D.S., Segnos, Codas, Fines, etc. in the global section.
  Since they (almost always) need to be in the same location for all
  parts, it makes the most sense to me to put them there once, and
  then use the \global variable in each part to make sure that all
  parts are consistent.
 
  That said, I'm attaching a diff to your original file that shows
  how I would do what you're trying to accomplish.  I, too, have
  seen that \marks will sometimes distort the musical spacing, but
  except for lots of fiddling with X-extents and offsets, I don't
  know how to do anything about it.
 
  My approach uses TextScript markup objects instead of RehearsalMark
  objects.  I hope it will give you some ideas about alternative
  solutions to your problem.
 
  Jim
 
 
 
  On Thu, Mar 12, 2015 at 07:35:44PM +, Craig Dabelstein wrote:
   Hi Lilyponders,
  
   Has anyone run into this before.
  
   When including a Da Capo markup at the end of a file, if it sits above
   the staff it is fine, but when I uncomment the \tweak direction #DOWN
   command it moves the marking below the staff but adds a heap of  extra
   space. Please see the attached file.
  
   This has been driving me crazy. I'm sure there is a simple fix that I've
   overlooked.
  
   Craig
  
  
  
  *Craig Dabelstein*
e:craig.dabelst...@gmail.com
http://www.facebook.com/craig.dabelstein
   http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en
 
 
   ___
   lilypond-user mailing list
   lilypond-user@gnu.org
   https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 



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


Re: Tweak Down causes extra space

2015-03-12 Thread Craig Dabelstein
Hi Jim,

When I put in the Da Capo as a text markup in the global section, it ends
up appearing on every staff, rather than just the bottom one, whereas when
it is in as a rehearsal mark it only appears once like it should.

How do you overcome this? See attached file.

Craig


On Fri, 13 Mar 2015 at 06:25 Craig Dabelstein craig.dabelst...@gmail.com
wrote:

 Hi Jim,

 Thanks for your quick response. I'll look into your solution now.

 Craig




 On Fri, 13 Mar 2015 at 06:23 Jim Long lilyp...@umpquanet.com wrote:

 Hi, Craig.

 Just for a different perspective, I always put form-related marks
 like D.C., D.S., Segnos, Codas, Fines, etc. in the global section.
 Since they (almost always) need to be in the same location for all
 parts, it makes the most sense to me to put them there once, and
 then use the \global variable in each part to make sure that all
 parts are consistent.

 That said, I'm attaching a diff to your original file that shows
 how I would do what you're trying to accomplish.  I, too, have
 seen that \marks will sometimes distort the musical spacing, but
 except for lots of fiddling with X-extents and offsets, I don't
 know how to do anything about it.

 My approach uses TextScript markup objects instead of RehearsalMark
 objects.  I hope it will give you some ideas about alternative
 solutions to your problem.

 Jim



 On Thu, Mar 12, 2015 at 07:35:44PM +, Craig Dabelstein wrote:
  Hi Lilyponders,
 
  Has anyone run into this before.
 
  When including a Da Capo markup at the end of a file, if it sits above
  the staff it is fine, but when I uncomment the \tweak direction #DOWN
  command it moves the marking below the staff but adds a heap of  extra
  space. Please see the attached file.
 
  This has been driving me crazy. I'm sure there is a simple fix that I've
  overlooked.
 
  Craig
 
 
 
 *Craig Dabelstein*
   e:craig.dabelst...@gmail.com
   http://www.facebook.com/craig.dabelstein
  http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en


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




Da Capo test file.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tweak Down causes extra space

2015-03-12 Thread Thomas Morley
2015-03-12 20:35 GMT+01:00 Craig Dabelstein craig.dabelst...@gmail.com:


 Hi Lilyponders,

 Has anyone run into this before.

 When including a Da Capo markup at the end of a file, if it sits above
 the staff it is fine, but when I uncomment the \tweak direction #DOWN
 command it moves the marking below the staff but adds a heap of  extra
 space. Please see the attached file.

 This has been driving me crazy. I'm sure there is a simple fix that I've
 overlooked.

 Craig


It's caused by \markLengthOn in your global-variable: The spacing-wish of
RehearsalMark and Dynamic conflict.

How about:

daCapo = {
  \once
  \override Score.RehearsalMark #'self-alignment-X = #RIGHT
  \once
  \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
  \markLengthOff
  \tweak direction #DOWN
  \mark
  \markup {
%% maybe add:
\fontsize #-2
\italic Da Capo
  }
  \markLengthOn
}


HTH,
  Harm
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Tweak Down causes extra space

2015-03-12 Thread Craig Dabelstein
Hi Lilyponders,

Has anyone run into this before.

When including a Da Capo markup at the end of a file, if it sits above
the staff it is fine, but when I uncomment the \tweak direction #DOWN
command it moves the marking below the staff but adds a heap of  extra
space. Please see the attached file.

This has been driving me crazy. I'm sure there is a simple fix that I've
overlooked.

Craig



   *Craig Dabelstein*
 e:craig.dabelst...@gmail.com
 http://www.facebook.com/craig.dabelstein
http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en


Da Capo test file.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Google Code will be no more at 2016-01-25

2015-03-12 Thread Federico Bruni
Il giorno gio 12 mar 2015 alle 21:08, Abel Cheung 
abelche...@gmail.com ha scritto:

Time to start think about migrating issue tracker to somewhere else,
especially when Lilypond has a huge project issues list, and storage
is a dire requirement. It would take some time to make sure new issue
tracker works properly afterwards.

http://google-opensource.blogspot.de/2015/03/farewell-to-google-code.html


The deadline is actually closer, 24th of August:

March 12, 2015 - New project creation disabled.
August 24, 2015 - The site goes read-only. You can still checkout/view 
project source, issues, and wikis.
January 25, 2016 - The project hosting service is closed. You will be 
able to download a tarball of project source, issues, and wikis. These 
tarballs will be available throughout the rest of 2016.





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


Re: Tweak Down causes extra space

2015-03-12 Thread Jim Long
Hi, Craig.

Just for a different perspective, I always put form-related marks
like D.C., D.S., Segnos, Codas, Fines, etc. in the global section.
Since they (almost always) need to be in the same location for all
parts, it makes the most sense to me to put them there once, and
then use the \global variable in each part to make sure that all
parts are consistent.

That said, I'm attaching a diff to your original file that shows
how I would do what you're trying to accomplish.  I, too, have
seen that \marks will sometimes distort the musical spacing, but 
except for lots of fiddling with X-extents and offsets, I don't
know how to do anything about it.

My approach uses TextScript markup objects instead of RehearsalMark
objects.  I hope it will give you some ideas about alternative
solutions to your problem.

Jim



On Thu, Mar 12, 2015 at 07:35:44PM +, Craig Dabelstein wrote:
 Hi Lilyponders,
 
 Has anyone run into this before.
 
 When including a Da Capo markup at the end of a file, if it sits above
 the staff it is fine, but when I uncomment the \tweak direction #DOWN
 command it moves the marking below the staff but adds a heap of  extra
 space. Please see the attached file.
 
 This has been driving me crazy. I'm sure there is a simple fix that I've
 overlooked.
 
 Craig
 
 
 
*Craig Dabelstein*
  e:craig.dabelst...@gmail.com
  http://www.facebook.com/craig.dabelstein
 http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en


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

--- testfile.ly.orig2015-03-12 13:06:16.0 -0700
+++ testfile.ly 2015-03-12 13:17:01.0 -0700
@@ -1,17 +1,7 @@
 \version 2.18.2
 \language english
 
-daCapo = {
-  \once
-  \override Score.RehearsalMark #'self-alignment-X = #RIGHT
-  \once
-  \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
-  %\tweak direction #DOWN
-  \mark
-  \markup {
-\italic Da Capo
-  }
-}
+daCapo = \markup { \italic Da Capo }
 
 global = {
   \markLengthOn
@@ -29,7 +19,8 @@
   \mark TRIO (ad lib.)
   \key g \major
   \repeat volta 2 {
-s2*8 
+s2*7 
+s4 s4_\daCapo
   }
 }
 
@@ -64,7 +55,6 @@
 c8 c d4 |
 b8 c a d |
 g,8\ff b16 a g8 r |
-\daCapo
   }
 }
 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Frescobaldi] Re: ANN: Frescobaldi 2.18

2015-03-12 Thread Davide Liessi

Il 12/03/15 01.06, MarcM ha scritto:

i just updated from MacPort but it installed 2.17.2 instead of 2.18.


Il 12/03/15 01.42, safvet ha scritto:

Likewise updated yesterday and received 2.17.2.


There's nothing wrong with this: MacPorts still provides 2.17.2.

I usually manage to have Frescobaldi updated in a couple of days, but it 
is important to note that I cannot commit directly to MacPorts 
repository, so any change I submit needs to be reviewed and applied by a 
developer with commit rights, who in most cases is a volunteer, working 
on MacPorts in the spare time.


This time, due to unexpected circumstances (problems with the patch I 
submitted, problems with the SVN repository, personal problems of the 
developer who took charge of my patch), some important changes to the 
portfile for python-poppler-qt4 (a dependency of Frescobaldi) required 
longer than usual to be reviewed (they've been accepted only yesterday).


Today I'm going to upload the 2.18 update: I hope it will be accepted in 
the usual short time.



Also, for the developers, it appears that the pre-build .dmg version of
Frescobaldi opens correctly with the full set of windows, but the version
built from MacPorts will launch and show the splash, but one has to click
the dock icon again to get the full window set.


Although this is a known issue
(see https://github.com/wbsoft/frescobaldi/issues/428),
I didn't know that the pre-built application is not affected.
Thanks for reporting.

Unfortunately I'm not able to reproduce it consistently on my machine, 
but this new piece of information could indeed help a lot.


Best wishes.
Davide

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


Re: Tweak Down causes extra space

2015-03-12 Thread Craig Dabelstein
Hi Jim,

Thanks for your quick response. I'll look into your solution now.

Craig




On Fri, 13 Mar 2015 at 06:23 Jim Long lilyp...@umpquanet.com wrote:

 Hi, Craig.

 Just for a different perspective, I always put form-related marks
 like D.C., D.S., Segnos, Codas, Fines, etc. in the global section.
 Since they (almost always) need to be in the same location for all
 parts, it makes the most sense to me to put them there once, and
 then use the \global variable in each part to make sure that all
 parts are consistent.

 That said, I'm attaching a diff to your original file that shows
 how I would do what you're trying to accomplish.  I, too, have
 seen that \marks will sometimes distort the musical spacing, but
 except for lots of fiddling with X-extents and offsets, I don't
 know how to do anything about it.

 My approach uses TextScript markup objects instead of RehearsalMark
 objects.  I hope it will give you some ideas about alternative
 solutions to your problem.

 Jim



 On Thu, Mar 12, 2015 at 07:35:44PM +, Craig Dabelstein wrote:
  Hi Lilyponders,
 
  Has anyone run into this before.
 
  When including a Da Capo markup at the end of a file, if it sits above
  the staff it is fine, but when I uncomment the \tweak direction #DOWN
  command it moves the marking below the staff but adds a heap of  extra
  space. Please see the attached file.
 
  This has been driving me crazy. I'm sure there is a simple fix that I've
  overlooked.
 
  Craig
 
 
 
 *Craig Dabelstein*
   e:craig.dabelst...@gmail.com
   http://www.facebook.com/craig.dabelstein
  http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en


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


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


Re: Scheme functions with #:

2015-03-12 Thread Andrew Bernard
Large thanks! I would never have found this.

Now I also see that #: terms are guile keyword syntax.

Andrew


On 13 March 2015 at 10:52:49, David Nalesnik (david.nales...@gmail.com) wrote:


Try here:

http://lilypond.org/doc/v2.19/Documentation/extending/markup-construction-in-scheme

--David 

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


Re: Pedal line staff sepation

2015-03-12 Thread Andrew Bernard
Thanks Trevor, this is great.

Andrew

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


Re: Google Code will be no more at 2016-01-25

2015-03-12 Thread Paul Morris
So that's what's behind the export to github button that appeared on google
code today.  The end of an era...

Looks like google can export all issue data to a JSON file, so that's
encouraging:
http://code.google.com/p/support-tools/wiki/IssueExporterTool

Just thinking out loud in terms of images, I wonder if GNU MediaGoblin might
help?
http://mediagoblin.org/

Maybe just some way to automate posting images to a MediaGoblin instance
with links to them appearing in the bug/issue tracker?  (Barring more
elaborate integration efforts...)  It looks like MediaGoblin is written in
python, and they probably have some way of dealing with the virus and spam
problems.

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Google-Code-will-be-no-more-at-2016-01-25-tp173015p173036.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Graphical operators in markup

2015-03-12 Thread Paul Morris
Andrew Bernard wrote
 I am trying to use postscript in markup blocks. I see snippets using such
 things as \translate and \scale, which I need, along with all the other
 plane transformation operators. Where is the documentation for these
 operators? I have looked everywhere to no avail. Using 2.19.16.

You'll find \scale here, among some other related things:
http://lilypond.org/doc/v2.19/Documentation/notation/graphic

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Graphical-operators-in-markup-tp173031p173037.html
Sent from the User mailing list archive at Nabble.com.

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


Re: [savannah-help-public] Google Code will be no more at 2016-01-25

2015-03-12 Thread Werner LEMBERG

 Issues:
 Savannah supports web-based 'trackers' (for bugs, supports, tasks,
 etc.), for example:
   https://savannah.nongnu.org/bugs/?group=lwip
 and also using a DebBugs server, for example:
   http://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs

However, one extremely important feature is sorely missing from
Savannah's bug tracker: the ability to directly display images, which
is of extreme importance for an application like lilypond, where
subtle details in the rendering results together with its real-world
templates are discussed.  Are there plans to implement image support?

 We can try to work with project administrators on importing existing
 issues, but that will require some effort.

Right now, lilypond has more than 4000 issues...


Werner

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


Re: Tweak Down causes extra space

2015-03-12 Thread Craig Dabelstein
Thanks to you both. I have it sorted now.

Craig


On Fri, 13 Mar 2015 at 07:39 Jim Long lilyp...@umpquanet.com wrote:

 We may be at cross purposes if you're creating score-oriented
 music.  I generally create lead sheets.  But no matter.

 I can understand your question, but will you eventually be
 generating single parts from your score?  Would you not then
 WANT to have the D.C. included in every part?  \global helps
 you there, compared to having to manually insert the D.C.
 markup into each instrument part when you go to produce
 individual parts.

 If Harm's solution works for you, that's what I would use.
 However, I would still recommend putting all rehearsal marks
 (including the D.C.) into the global music variable, so that both
 your full score and your individual parts will have identical
 rehearsal marks.

 Jim


 On Thu, Mar 12, 2015 at 08:37:13PM +, Craig Dabelstein wrote:
  Hi Jim,
 
  When I put in the Da Capo as a text markup in the global section, it
 ends
  up appearing on every staff, rather than just the bottom one, whereas
 when
  it is in as a rehearsal mark it only appears once like it should.
 
  How do you overcome this? See attached file.
 
  Craig
 
 
  On Fri, 13 Mar 2015 at 06:25 Craig Dabelstein 
 craig.dabelst...@gmail.com
  wrote:
 
   Hi Jim,
  
   Thanks for your quick response. I'll look into your solution now.
  
   Craig
  
  
  
  
   On Fri, 13 Mar 2015 at 06:23 Jim Long lilyp...@umpquanet.com wrote:
  
   Hi, Craig.
  
   Just for a different perspective, I always put form-related marks
   like D.C., D.S., Segnos, Codas, Fines, etc. in the global section.
   Since they (almost always) need to be in the same location for all
   parts, it makes the most sense to me to put them there once, and
   then use the \global variable in each part to make sure that all
   parts are consistent.
  
   That said, I'm attaching a diff to your original file that shows
   how I would do what you're trying to accomplish.  I, too, have
   seen that \marks will sometimes distort the musical spacing, but
   except for lots of fiddling with X-extents and offsets, I don't
   know how to do anything about it.
  
   My approach uses TextScript markup objects instead of RehearsalMark
   objects.  I hope it will give you some ideas about alternative
   solutions to your problem.
  
   Jim
  
  
  
   On Thu, Mar 12, 2015 at 07:35:44PM +, Craig Dabelstein wrote:
Hi Lilyponders,
   
Has anyone run into this before.
   
When including a Da Capo markup at the end of a file, if it sits
 above
the staff it is fine, but when I uncomment the \tweak direction
 #DOWN
command it moves the marking below the staff but adds a heap of
 extra
space. Please see the attached file.
   
This has been driving me crazy. I'm sure there is a simple fix that
 I've
overlooked.
   
Craig
   
   
   
   *Craig Dabelstein*
 e:craig.dabelst...@gmail.com
 http://www.facebook.com/craig.dabelstein
http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en
  
  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
  
  



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


Re: Copying metronome marks to multiple \StaffGroup's

2015-03-12 Thread Xavier Scheuer
On 11 March 2015 at 19:40, Kieren MacMillan kieren_macmil...@sympatico.ca
wrote:

 Hi,

 Search for “ScoreMarks” or “MarkLine” in the archives and snippets.
 There are lots of discussions about this.

Hi,

Actually it should be done easily by adding Metronome_mark_engraver
to the StaffGroup.

Unfortunately there is a bug in LilyPond and it does not work.
https://code.google.com/p/lilypond/issues/detail?id=2199

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: path to lilypond executable

2015-03-12 Thread Urs Liska



Am 12.03.2015 um 10:59 schrieb Noeck:

Hi Urs,


I get
= /home/uliska/lilypond/usr/bin/lilypond
with each of the following:

cd ~
lilypond test-script.ly
cd ~/bin
lilypond test-script.ly
cd ~/lilypond/usr/bin
lilypond test-script.ly

The difference was whether you use path search or not:
lilypond (execute it wherever it is found)
or
./lilypond (execute this file here)

so this should make a difference:
cd ~/lilypond/usr/bin
./lilypond test-script.ly


Ah, now I see.
Yes, it does make a difference:

GNU LilyPond 2.19.16
warning: not relocating, no 2.19.16/ or current/ found under 
/shared/software/lilyponds/2.19.16/usr/bin/share/lilypond/

ERROR: In procedure primitive-load-path:
ERROR: Unable to find file lily.scm in load path

which is due to the load script that doesn't set the paths when the 
executable is done directly.


when I run this from ~/bin (i.e. locally calling the wrapper script) 
everything's fine again because the wrapper script sets the actual path 
to the executable.


So it seems I don't have to consider this as an issue.

Thanks for the feedback
Urs


Cheers,
Joram

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



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


Re: convert-ly adding linefeeds / carriage return

2015-03-12 Thread Wilbert Berendsen
Op Wed, 11 Mar 2015 20:16:21 -0400
stephan.patter...@videotron.ca stephan.patter...@videotron.ca
schreef:

 I have just upgraded to the latest Lilypond, version 2.19.16. I'm
 using Frescobaldi 2.18 on Windows 8.1.
 
 
 Running convert-ly on any of my Lilypond scores, I find that carriage
 returns and/or linefeeds get added to each line.

Please try this also outside of Frescobaldi. Then we can see if it is a
Frescobaldi bug (i.e. it reads the output back in an incorrect way) or
a convert-ly bug.



-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: [savannah-help-public] Google Code will be no more at 2016-01-25

2015-03-12 Thread Shane Brandes
How many of those issues are the sort that affect users every second
Tuesday after a a blue moon versus critical bugs?

Shane

On Thu, Mar 12, 2015 at 6:11 PM, Werner LEMBERG w...@gnu.org wrote:

 Issues:
 Savannah supports web-based 'trackers' (for bugs, supports, tasks,
 etc.), for example:
   https://savannah.nongnu.org/bugs/?group=lwip
 and also using a DebBugs server, for example:
   http://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs

 However, one extremely important feature is sorely missing from
 Savannah's bug tracker: the ability to directly display images, which
 is of extreme importance for an application like lilypond, where
 subtle details in the rendering results together with its real-world
 templates are discussed.  Are there plans to implement image support?

 We can try to work with project administrators on importing existing
 issues, but that will require some effort.

 Right now, lilypond has more than 4000 issues...


 Werner

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

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


Re: Scheme functions with #:

2015-03-12 Thread David Nalesnik
Hi Andrew,

On Thu, Mar 12, 2015 at 6:50 PM, Andrew Bernard andrew.bern...@gmail.com
wrote:

 In some Scheme code I find functions prefaced with #:, such as #:roman,
 #:translate, and so on. What is this syntax? How does one find where such
 items are defined? Maybe I am no longer any good at finding things, but I
 have looked everywhere.


Try here:

http://lilypond.org/doc/v2.19/Documentation/extending/markup-construction-in-scheme

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


Re:Tweak Down causes extra space

2015-03-12 Thread Stephen MacNeil
How is this


\version 2.18.2

\language english


daCapo = {

%\once

%\override Score.RehearsalMark #'self-alignment-X = #RIGHT

\once

\override Score.RehearsalMark #'self-alignment-X = #0

\once

\override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible

\tweak direction #DOWN

\mark

\markup {

\hspace #-11

\italic Da Capo

}

}


global = {

\markLengthOn

\time 2/4

\key d \major


 \repeat volta 2 {

s2*8

}

\mark \default

\repeat volta 2 {

s2*8

}

\once \override Score.RehearsalMark #'self-alignment-X = #LEFT

\mark TRIO (ad lib.)

\key g \major

\repeat volta 2 {

s2*8

}

}


piccoloNotes = \transpose c c'' {

\relative c' {

\transposition c''

\clef treble


 a8(\f fs) a( fs) |

d'8(\sf a) a4 |

d8( cs) b-. a-. |

g8 fs e4 |

a8( fs) a( fs) |

d'8(\sf a) a4 |

d8( cs) b-. a-. |

gs8 b a4 |


 e8( a) a4\sf |

fs8( a) a4\sf |

g8-. a-. b-. cs-. |

d8( a) fs4 |

e8( a) a4\sf |

fs8( a) a4\sf |

\grace { a16 } g8-. fs-. g-. e-. |

d8-. d'-. d-. r |


 r4 r8 b\p |

c8 c d4 |

b8 b d4 |

a8\ff a16 b a8 d, |

r4 r8 b'\p |

c8 c d4 |

b8 c a d |

g,8\ff b16 a g8 r |

\daCapo

}

}


\score {

\new Staff = Piccolo



\global

\piccoloNotes



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


Re: Tweak Down causes extra space

2015-03-12 Thread Craig Dabelstein
Thanks Stephen.

I'll try it out and compare.

Craig

On Fri, 13 Mar 2015 at 09:06 Stephen MacNeil classicalja...@gmail.com
wrote:

 How is this


 \version 2.18.2

 \language english


 daCapo = {

 %\once

 %\override Score.RehearsalMark #'self-alignment-X = #RIGHT

 \once

 \override Score.RehearsalMark #'self-alignment-X = #0

 \once

 \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible

 \tweak direction #DOWN

 \mark

 \markup {

 \hspace #-11

 \italic Da Capo

 }

 }


 global = {

 \markLengthOn

 \time 2/4

 \key d \major


  \repeat volta 2 {

 s2*8

 }

 \mark \default

 \repeat volta 2 {

 s2*8

 }

 \once \override Score.RehearsalMark #'self-alignment-X = #LEFT

 \mark TRIO (ad lib.)

 \key g \major

 \repeat volta 2 {

 s2*8

 }

 }


 piccoloNotes = \transpose c c'' {

 \relative c' {

 \transposition c''

 \clef treble


  a8(\f fs) a( fs) |

 d'8(\sf a) a4 |

 d8( cs) b-. a-. |

 g8 fs e4 |

 a8( fs) a( fs) |

 d'8(\sf a) a4 |

 d8( cs) b-. a-. |

 gs8 b a4 |


  e8( a) a4\sf |

 fs8( a) a4\sf |

 g8-. a-. b-. cs-. |

 d8( a) fs4 |

 e8( a) a4\sf |

 fs8( a) a4\sf |

 \grace { a16 } g8-. fs-. g-. e-. |

 d8-. d'-. d-. r |


  r4 r8 b\p |

 c8 c d4 |

 b8 b d4 |

 a8\ff a16 b a8 d, |

 r4 r8 b'\p |

 c8 c d4 |

 b8 c a d |

 g,8\ff b16 a g8 r |

 \daCapo

 }

 }


 \score {

 \new Staff = Piccolo

 

 \global

 \piccoloNotes

 

 }


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

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


Re: [savannah-help-public] Google Code will be no more at 2016-01-25

2015-03-12 Thread Karl Berry
Patches are always welcomed, but I do not know if anyone is
interested in hacking on the current php code to add such a feature.

Right, I'm not exactly interested, but if that single feature makes
the difference between lilypond moving to savannah or somewhere, I'd
at least try to look at it.  Of course it would be great if someone from
lilypond was willing.

Does google do anything to filter out virus-y images?
Since they are so commonly used as a carrier for bad things.
I'm not sure how to even begin on that problem.  And spammers signing up
for savannah is a known and continuing problem.

Another possibility is to work on DebBugs, adding a feature to show
(some) attachments inline.

Presumably that could be done now with each individual's mail reader.
I gather lilypond wants a web interface, not a mail interface, though?

karl

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


Graphical operators in markup

2015-03-12 Thread Andrew Bernard
I am trying to use postscript in markup blocks. I see snippets using such 
things as \translate and \scale, which I need, along with all the other plane 
transformation operators. Where is the documentation for these operators? I 
have looked everywhere to no avail. Using 2.19.16.

While we are here, I am looking for a function to draw postscript arrows. If 
anybody has such, I would be most appreciative. I think it would be good to 
have a very general and flexible arrow library in lilypond.

Thanks!

Andrew



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


Scheme functions with #:

2015-03-12 Thread Andrew Bernard
In some Scheme code I find functions prefaced with #:, such as #:roman, 
#:translate, and so on. What is this syntax? How does one find where such items 
are defined? Maybe I am no longer any good at finding things, but I have looked 
everywhere.

Andrew



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


Re: Bug in articulate.ly

2015-03-12 Thread Flaming Hakama by Elaine
 From: Simon Albrecht simon.albre...@mail.de
 Subject: Re: Bug in articulate.ly

  Another example is that you could indicate tempo rubato and then
  specify as interpretation one of the many possible actual tempo(s) that
  would be used for rendering the MIDI.
 If I may chime in with my opinion on this: there may be some point in
 translating articulations into midi, but tempo rubato is in itself meant
 to be subjective and thus marks the point where a human performer cannot
 and must not be replaced by a machine. Thus I find the sketched approach
 more than a little absurd, if you permit the remark.


Permit me to suggest that you lower your standards.

The practical reality is that, even in a human performance, a passage
marked rubato will actually take a specific, measurable amount of time.

If one's purpose is to render MIDI that approximates such a performance,
you can choose, as an editor/interpreter, to instruct the MIDI output to
consume that amount of time.  I agree that adding randomness into this
definition probably does not achieve much.

But it is absolutely useful to tweak MIDI output.  There is a great deal of
useful difference between some control and none, even if the results are
far from passing a Turing test.



 It?s neither
 possible, nor rewarding, nor even desirable to substitute real music
 making by electronic simulation, (at least for most kinds of music, and
 certainly every music which can be reasonably typeset with lilypond
 belongs in this category).


Well, in the 21st century, computers have pretty much become instruments in
their own right.

Which is to say, lilypond can be a way to control such an instrument.

It is probably the case the vast majority of the music people hear in film
 tv scores with orchestral instruments is played on virtual
instruments.  Composers end up actually writing more for those instruments
(playing to their strengths, avoiding their weaknesses) than with actual
acoustic instruments and performers in mind.

So, I think that lilypond being able to control virtual instruments is a
pretty practical goal.


Yours,

David Elaine Alt
415 . 341 .4954   *Confusion is
highly underrated*
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: path to lilypond executable

2015-03-12 Thread Urs Liska



Am 12.03.2015 um 01:14 schrieb Mattes:
  
Am Mittwoch, 11. März 2015 21:29 CET, Urs Liska u...@openlilylib.org schrieb:
  

Sorry, but I don't seem to be able to find the right search terms ...

How would I retrieve the path to the currently executed LilyPond from
Scheme?

Hmm,  are you looking for the path to the current lilypond executable or the
current lilypond input file?
For the first '(car (command-line))'  might be all you need.

  HTH Ralf Mattes


Yes, this is what I'm looking for, thank you.

Could anybody please tell me what

\version 2.18.2

#(display (car (command-line)))

displays on Windows (i.e. how the string is formatted)?

Thanks
Urs




TIA
Urs

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






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