Re: -dpreview cuts off vertically?

2012-11-19 Thread Eluze


Am 19.11.2012 04:14, schrieb Curt:

While running a batch job to generate several chords, I found that some of them
cut off the top improperly.  For example, here is bdim7.ly  .
   Yet, it seems to look fine for amin7.ly .  These were
generated from --png -dpreview .  The source for the two files is below.  Is
this a bug?  This was using 2.16.0 - I checked the change log for 2.16.1 and
didn't see anything that would imply it has since been fixed.  The cutoff seems
to happen with several other chords with a top note of D.


bdim7.ly :

\version "2.16.00"
\include "english.ly "
\paper{
indent=0\mm
line-width=120\mm
oddFooterMarkup=##f
oddHeaderMarkup=##f
bookTitleMarkup = ##f
scoreTitleMarkup = ##f
}
\score {
\new Staff \with {
  \clef bass
  \remove Time_signature_engraver
  }
  {
  \key c \major
  1
  }
  \layout {}
  \midi {
  \context {
  \Score \with
  \settingsFrom { \tempo 4=120 }
  }
  }
}




thanks for your report, Curt!

it was added to the tracker as 
https://code.google.com/p/lilypond/issues/detail?id=2968&thanks=2968&ts=1353317512


Eluze

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


Bleeding off Staff

2012-11-19 Thread Mark Stephen Mrotek
Hello!

 

Thanks  to all who replied to my inquiry with the solution. Moving the " [ "
restored the break.

 

Mark Stephen Mrotek

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


lyrics-lyrics extra spacing

2012-11-19 Thread Stjepan Horvat
hi guys..
is there a way to get extra spacing between lyrics (verses).
i would want to make extra space so a person could translate a text (verse)
by hand. i'm using the \addlyrics command.

thanks.

-- 
*Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje.
Izreke 12:18*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: convert-ly 2.17.6 does nothing

2012-11-19 Thread Wim van Dommelen
(Sorry for the late response, your email was unfortunately caught by  
my junk-email detector)


Hi Joram,

Frescobaldi sure can execute the program executable files from any of  
the locations. If you go to the configure menu and look into the  
section of configuring Lilypond you will see there is a possibility to  
set the locations of the executables (of lilypond, convert-ly and  
lilypond-book). Test it by putting in something else (try /usr/bin/ 
ddate or /usr/bin/less, or any other harmless command, remember what  
you do so you can revert it). In the conversation window in  
Frescobaldi you will then probably see an error-message associated  
with the command. That proves it executed another executable.


Be aware if you specify more then one version of Lilypond here,  
Frescobaldi will notice and search for an matching executable. Guard  
the version numbers reported to be sure. Your conclusion is definitely  
wrong, I repeat: check the paths!


Regards,
Wim.




On 17 Nov 2012, at 14:58 , Noeck wrote:




Am 16.11.2012 23:42, schrieb Wim van Dommelen:

Hi Noeck,

I think that problem does point you really to the paths configured.

Check (on Linux or OSX, sorry I don't use Wxx for this) these
command-line commands:

$ which lilypond
$ which convert-ly
$ lilypond --version
$ convert-ly --version

(Wxx doesn't know the "which" commands, but should produce output  
with

the --version switches)

Check for consistency in paths, versions, etc. Match it with what
Frescobaldi tells you (menu settings -- configure Frescobaldi).

If the convert-ly (menu Lilypond -- source -- etc.) stays greyed out,
check if you did not already convert it (once is enoough!), next run
should produce a window stating this file is already up-to-date,
Frescobaldi might also puts some comments in your file to remember  
this.

Try setting the version-number in the file to something else.

Regards,
Wim.
(mail me the output if you have troubled interpreting)



Thanks, but that's not directly the problem, because it doesn't occur
with the lilypond version from the package repositories (ubuntu).
So "which" surely points me to that one installed in /usr/bin. But the
other two installations don't work.

I looked at it a bit more closely and there are some things I don't
understand:

I have three versions 2.14 (from the repository), 2.16 and 2.17 (from
the website):
2.142.162.17
installed in/usr/bin/home/.../sw/lilypond2.1x
convert-ly  is a py-script  is a link to lilypond-wrapper.python

This lilypond-wrapper then calls another convert-ly, which is then a
python script.

This led me to the conclusion that the "executables" in bin cannot be
used in Frescobaldi, but the ones in lilypond/usr/bin have to be used.
But that doesn't work either.

Cheers,
Joram


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


Re: convert-ly 2.17.6 does nothing

2012-11-19 Thread Federico Bruni
Hi Wilm

I think that Joram is right.

2012/11/19 Wim van Dommelen 

> Be aware if you specify more then one version of Lilypond here,
> Frescobaldi will notice and search for an matching executable. Guard the
> version numbers reported to be sure. Your conclusion is definitely wrong, I
> repeat: check the paths!


Do you have v2.17.6 or later installed?
Please set it as default and then try to convert the file linked here (last
comment):
https://github.com/wbsoft/frescobaldi/issues/90

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


Re: convert-ly 2.17.6 does nothing

2012-11-19 Thread Noeck
Hi Wim,

Am 19.11.2012 14:32, schrieb Wim van Dommelen:
> there is a possibility to set the locations of the executables 
That's what I did from the start. It works for 2.14.2 and 2.16.0 (and it
tells you during conversion if that executable is not at the given path,
in case you have misspelled it). But Frescobaldi does not harmonize with
version 2.17.6 of lilypond.
My thoughts about the python-wrapper was not the cause, that's right.

> I repeat: check the paths!
I repeat: I did.

Cheers,
Joram

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


Re: Variable names?

2012-11-19 Thread Christopher R. Maden

On 11/18/2012 05:26 PM, David Kastrup wrote:

At the current point of time, the rule is that "alphabetic" is a-z,
A-Z, and _any_ non-ASCII character.  This is a bit excessive, but
short of a reliable "is a letter" test, this was easiest to
implement.


Getting off-topic for -user, but...  Most programming languages that can 
process Unicode text have class tests that should simplify letter-ness. 
 (The superscript characters ¹²³ etc. do not have this property.) 
Guile has the char-alphabetic? predicate; see https://www.gnu.org/software/guile/manual/html_node/Characters.html >, 
at least as of 2.0.


~Chris
--
Chris Maden, text nerd  http://crism.maden.org/ >
 “Always remember where you came from, and honor your ancestry,
  But don’t be afraid to defy anyone who would tell you what to be.”
  — Chris Vaughan, “Freedom”
GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9  A210 4A51 DBAC 5C5C 3D5E

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


Re: lyrics-lyrics extra spacing

2012-11-19 Thread Thomas Morley
2012/11/19 Stjepan Horvat :
> hi guys..
> is there a way to get extra spacing between lyrics (verses).
> i would want to make extra space so a person could translate a text (verse)
> by hand. i'm using the \addlyrics command.

Hi Stjepan,

how about

\version "2.16.0"

\layout {
\context {
\Lyrics
\override VerticalAxisGroup #'nonstaff-nonstaff-spacing =
   #'((basic-distance . 0)
  (minimum-distance . 5)  ;; <
more lower space
  (padding . 0.2)
  (stretchability . 0))
}
}

\relative c' {
\repeat unfold 20 { c4 d e f }
g1
}
\addlyrics {
\repeat unfold 20 { foo -- foo -- foo -- foo }
foo
}
\addlyrics {
\repeat unfold 20 { bar -- bar -- bar -- bar }
bar
}
\addlyrics {
\repeat unfold 20 { bla -- bla -- bla -- bla }
bla
}


Adjust minimum-distance to fit your needs.


HTH,
  Harm

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


Re: inline \prall

2012-11-19 Thread Thomas Morley
2012/11/19 Nick Payne :
> On 19/11/12 12:47, Paul wrote:
>
> I would like to set my prall on the right-hand side of my note, rather
> than above it.  (Per Baroque organ scores.)  Any ideas how to achieve
> this?
>
>
> Adaptation of http://lsr.dsi.unimi.it/LSR/Item?id=690
>
> %=
> \version "2.16.0"
>
> bprall =
> #(let ((finger (make-music 'FingeringEvent)))
>(set! (ly:music-property finger 'tweaks)
>  (acons 'text (markup #:fontsize 5 #:musicglyph "scripts.prallup")
> (ly:music-property finger 'tweaks)))
>finger)
>
> \relative c'' {
>   \set fingeringOrientations = #'(right)
>   \override Fingering #'minimum-X-extent = #'(1 . 2)
>   4 e8
> }
> %=

Hi Nick,

with 2.16.0 you could write it simpler:

hprall =
#(define-event-function (parser location)()
#{
\tweak #'minimum-X-extent #'(-2 . 2)
\tweak #'text \markup \fontsize #5 \musicglyph #"scripts.prallup" -0
#})

\relative c'' {
  \once \set fingeringOrientations = #'(right)
  4 e8
}


-Harm

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


specify MIDI channel?

2012-11-19 Thread Gerard McConnell
Hello,
I understand that I can send information to separate (sequential) MIDI
channels by using different staves.
Is it possible to specify a specific MIDI channel for a staff?
Thanks,
Gerard
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Variable names?

2012-11-19 Thread David Kastrup
"Christopher R. Maden"  writes:

> On 11/18/2012 05:26 PM, David Kastrup wrote:
>> At the current point of time, the rule is that "alphabetic" is a-z,
>> A-Z, and _any_ non-ASCII character.  This is a bit excessive, but
>> short of a reliable "is a letter" test, this was easiest to
>> implement.
>
> Getting off-topic for -user, but...  Most programming languages that
> can process Unicode text have class tests that should simplify
> letter-ness. (The superscript characters ¹²³ etc. do not have this
> property.) Guile has the char-alphabetic? predicate; see  https://www.gnu.org/software/guile/manual/html_node/Characters.html >,
> at least as of 2.0.

We are not using Guile 2.0 yet, and I doubt people would be happy about
an undiscussed change once we do.

-- 
David Kastrup


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


Re: lyrics-lyrics extra spacing

2012-11-19 Thread Stjepan Horvat
Thanks man..thats exactly what i was looking for..!


On Mon, Nov 19, 2012 at 9:33 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> 2012/11/19 Stjepan Horvat :
> > hi guys..
> > is there a way to get extra spacing between lyrics (verses).
> > i would want to make extra space so a person could translate a text
> (verse)
> > by hand. i'm using the \addlyrics command.
>
> Hi Stjepan,
>
> how about
>
> \version "2.16.0"
>
> \layout {
> \context {
> \Lyrics
> \override VerticalAxisGroup #'nonstaff-nonstaff-spacing =
>#'((basic-distance . 0)
>   (minimum-distance . 5)  ;; <
> more lower space
>   (padding . 0.2)
>   (stretchability . 0))
> }
> }
>
> \relative c' {
> \repeat unfold 20 { c4 d e f }
> g1
> }
> \addlyrics {
> \repeat unfold 20 { foo -- foo -- foo -- foo }
> foo
> }
> \addlyrics {
> \repeat unfold 20 { bar -- bar -- bar -- bar }
> bar
> }
> \addlyrics {
> \repeat unfold 20 { bla -- bla -- bla -- bla }
> bla
> }
>
>
> Adjust minimum-distance to fit your needs.
>
>
> HTH,
>   Harm
>



-- 
*Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje.
Izreke 12:18*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: parentesized trill note colliding with ties

2012-11-19 Thread Jeffrey Trevino
Thanks, Nathan,

The slurs look fine, and it's clear from the output that the parenthesized
trill note needs to go up higher. Maybe there is a way to do this with
padding or something else that will use Lilypond's automated spacing
correctly to move everything around without causing other collisions.

thanks for your advise,
Jeff

On Sat, Nov 17, 2012 at 6:28 AM, Nathan  wrote:

> On Fri, Nov 16, 2012 at 9:23 AM, Jeffrey Trevino <
> jeffrey.trevi...@gmail.com> wrote:
>
>> Hi there,
>>
>> I'm trying to get my parenthesized trill notes to stop colliding with
>> ties, and I think there are a couple things I can learn by solving this
>> problem.
>>
>> First, I can't tell why the collision is happening -- is there a best
>> practice for figuring out why elements collide?
>>
>> Second, I know that some collisions happen because of engraver order. Is
>> there a place I can look to see the default order of engravers, and how I
>> can change this order?
>>
>> If the collision should be avoided by changing padding, it looks like I
>> might want to add some overrides to the PitchedTrillEngraver's
>> TrillPitchGroup grob at the level of the voice context (according to the
>> Internals reference).
>>
>> thanks for taking a look,
>> Jeff
>>
>
> Here are two ways of fixing such collisions manually:
>
> \new Staff \relative c'' {
>   % Collision:
>   \pitchedTrill b1~\startTrillSpan d b1\stopTrillSpan
>
>   % Fixed by moving tie:
>   \once \override Tie #'Y-offset = #0.75
>   \pitchedTrill b1~\startTrillSpan d b1\stopTrillSpan
>
>   % Fixed by reshaping tie (2.16+):
>   \shape Tie #'((0 . 0.5) (0 . 0.75) (0 . 0.75) (0 . 0.5))
>   \pitchedTrill b1~\startTrillSpan d b1\stopTrillSpan
> }
>
> But it seems to me that you want an automated solution, so this probably
> isn't very helpful.
>
> Regards,
> Nathan
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【

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


Re: lyrics-lyrics extra spacing

2012-11-19 Thread Noeck


Am 19.11.2012 22:57, schrieb Stjepan Horvat:
> Thanks man..thats exactly what i was looking for..!
> 
> 
> On Mon, Nov 19, 2012 at 9:33 PM, Thomas Morley
> mailto:thomasmorle...@googlemail.com>>
> wrote:
> 
> 2012/11/19 Stjepan Horvat  >:
> > hi guys..
> > is there a way to get extra spacing between lyrics (verses).
> > i would want to make extra space so a person could translate a
> text (verse)
> > by hand. i'm using the \addlyrics command.
> 
> Hi Stjepan,
> 
> how about
> 
> \version "2.16.0"
> 
> \layout {
> \context {
> \Lyrics
> \override VerticalAxisGroup
> #'nonstaff-nonstaff-spacing =
>#'((basic-distance . 0)
>   (minimum-distance . 5)  ;; <
> more lower space
>   (padding . 0.2)
>   (stretchability . 0))
> }
> }
> 
> \relative c' {
> \repeat unfold 20 { c4 d e f }
> g1
> }
> \addlyrics {
> \repeat unfold 20 { foo -- foo -- foo -- foo }
> foo
> }
> \addlyrics {
> \repeat unfold 20 { bar -- bar -- bar -- bar }
> bar
> }
> \addlyrics {
> \repeat unfold 20 { bla -- bla -- bla -- bla }
> bla
> }
> 
> 
> Adjust minimum-distance to fit your needs.
> 
> 
> HTH,
>   Harm

Just because I wanted to test the new syntax introduced in 2.17:
It really works :) I am amazed by the short input code, just one line in
the layout block.

\version "2.17.6"
\layout {
\override Lyrics.VerticalAxisGroup.
nonstaff-nonstaff-spacing.minimum-distance = #5

}

\relative c' {
\repeat unfold 20 { c4 d e f }
g1
}
\addlyrics {
\repeat unfold 20 { foo -- foo -- foo -- foo }
foo
}
\addlyrics {
\repeat unfold 20 { bar -- bar -- bar -- bar }
bar
}
\addlyrics {
\repeat unfold 20 { bla -- bla -- bla -- bla }
bla
}

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


Re: Variable names?

2012-11-19 Thread Wim van Dommelen

On 19 Nov 2012, at 22:16 , David Kastrup wrote:


"Christopher R. Maden"  writes:


On 11/18/2012 05:26 PM, David Kastrup wrote:

At the current point of time, the rule is that "alphabetic" is a-z,
A-Z, and _any_ non-ASCII character.  This is a bit excessive, but
short of a reliable "is a letter" test, this was easiest to
implement.


Getting off-topic for -user, but...  Most programming languages that
can process Unicode text have class tests that should simplify
letter-ness. (The superscript characters ¹²³ etc. do not have this
property.) Guile has the char-alphabetic? predicate; see https://www.gnu.org/software/guile/manual/html_node/Characters.html  
>,

at least as of 2.0.


We are not using Guile 2.0 yet, and I doubt people would be happy  
about

an undiscussed change once we do.



I perfectly understand the concepts of code points and all the  
problems associated with it, have been a systems programmer part of my  
life. And there is a big difference in processing unicode characters  
as data on which the program does its job and a symbol. But towards  
what is accepted as "characters" to be to compose a variable name (or  
macro, or identifier) should be agreed upon. I don't mind either way,  
but what is stated and documented should in theory be followed.


My suggestions: 1. Document quick-and-dirty that although these  
characters do seem to work, usage is at your own risk, at least at  
this moment in the current (and upcoming) versions, and 2. Let's put  
it on the wishlist to properly support these, test it extensively! and  
upgrade the doc.s correspondingly.


And indeed avoid this kind of changes at once because when something  
breaks down people will be unhappy i.m.h.o.



--
David Kastrup


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



Regards,
Wim.




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


Re: barré variables and TextSpanner

2012-11-19 Thread Thomas Morley
2012/11/18 Federico Bruni :
> Il 18/11/2012 18:10, Thomas Morley ha scritto:
>
>> So see my own coding below.
>>
>> \version "2.16.0"
>>
>> barre =
>> #(define-music-function (parser location strg music)(string? ly:music?)
>> (let ((arg (string-append "B " strg)))
>>#{
>>   \override TextSpanner #'(bound-details left text) = $arg
>>
>>   #(let ((elts (ly:music-property music 'elements)))
>>(make-music 'SequentialMusic 'elements
>>   (append
>>  (list (make-music 'TextSpanEvent 'span-direction -1))
>>  (reverse (cdr (reverse elts)))
>>  (list (make-music 'TextSpanEvent 'span-direction 1))
>>  (list (last elts)
>>#}))
>>
>> \relative c' {
>>  \barre I { c4  d e f }
>>  \barre II { g a b c }
>> }
>
>
> Wonderful!
> It reduces the width of the lines in the input and it's also more
> user-friendly.
>
> Can you add it to the LSR?
> .. maybe you have to wait for the LSR to be upgraded to 2.16?
>
> I think that I'll use this snippet for a Mutopia file I'm updating to 2.16
>
> Best,
> --
> Federico

Hi Federico,

I made a template for creating a customized TextSpanner-function with
integrated \startTextSpan/\stopTextSpan-commands and added it to the
LSR:
http://lsr.dsi.unimi.it/LSR/Item?id=857
For 2.14.2 I used David Nalesnik's Code (linked in my previous mail).
For 2.16.0 I added my code above, commented.


Regards,
  Harm

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


Re: Tikz(or any) integration or drawing curved arrows

2012-11-19 Thread Stretto
Francisco Vila wrote
> 2012/11/17 Stretto <

> uiy12345@

> >:
>> Basically exactly what I said... I never said tikz couldn't use absolute
>> coordinates but it would not be fun to try and use to overlay graphics on
>> a
>> lilypond score. There would be a lot of trial and error, and given the
>> compilations times are not instant this would take quite a long time to
>> get
>> right... and then any change to the score would generally void the
>> results
>> and require starting over.
> 
> Respectfully: it seems you didn't read my email. I tried to explain
> that lilypond could export the coordinates to feed tikz with them. So,
> no trial+error.
> 
> Anyway, it's only an idea on how it possibly could be done.
> -- 
> Francisco Vila. Badajoz (Spain)
> www.paconet.org , www.csmbadajoz.com
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user


Respectfully, you don't seem to be reading my posts. I said lilypond could
export the coordinates in my 2nd post, the one you responded to. What you
fail to realize is that the whole point is for lilypond to be the one to
deal with the coordinates. Regardless of how you want to have this done, it
is pointless for the user to have to use absolute coordinates in his tikz
code because of the reasons I previously gave.

So, if you want lilypond to export a coordinate list(hopefully more than
just a list of numbers, as that will be damn near useless) or to use some
markup language build in to lilypond, it must be done by lilypond because
lilypond is the only one that knows the actual coordinates.

I proposed that lilypond handle it inside ly code because it can remove
several extra steps such as automatically adding the overlay and allowing
for inline markup code. One could allow for a second tikz code section which
works on "marked" elements.

If I have to use `\draw (3.2, 5.8) -- (1.8, 4.5);` to draw a line between
two elements in a lilypond score then I am using absolute coordinates and it
is the worse way to do it. There is no other way to do this AFAIK.

BUT if I can do `\draw (note1) -- (note2);` then I'm using nodes and it is
the preferred way. This is using aliases for the coordinates, in which case,
lilypond can take care of the mapping for us. If the actual coordinates
change then it won't affect our code as much.

The thing about using tikz markup inside lilypond is it also takes away the
issue of having to figure out how to name objects. If the notes are exported
as note1,.,note1934 then `\draw (note45) --(note47);` is no better than
using absolute coordinates. Any change in the score(adding a note) would
affect the tikz code just as it would affect absolute coordinates. So your
naming has to be design to be relatively coordinate free(such as
ScoreA.StaffA.Bar34.Beat2.Note2) which would, generally, only require
changing the Bar number for major inserts(still not the best way). Using
inline markup fixes that problem completely(but, then, of course, clutters
up the ly code with tikz markup).





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Tikz-or-any-integration-or-drawing-curved-arrows-tp136419p136580.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: lyrics-lyrics extra spacing

2012-11-19 Thread Thomas Morley
2012/11/19 Noeck :
[...]
> Just because I wanted to test the new syntax introduced in 2.17:
> It really works :) I am amazed by the short input code, just one line in
> the layout block.
>
> \version "2.17.6"
> \layout {
> \override Lyrics.VerticalAxisGroup.
> nonstaff-nonstaff-spacing.minimum-distance = #5

[...]

I used the full alist from IR 2.1.16 Lyrics
http://lilypond.org/doc/v2.17/Documentation/internals-big-page#lyrics
to make it possible to change some more settings (if wished) and added
it to a Lyrics-context.

More concise and only changing minimum-distance for v2.16.0 would result in:
\layout {
\override Lyrics.VerticalAxisGroup
  #'nonstaff-nonstaff-spacing #'minimum-distance = #5
}

Thats quite short, too.

But you're right, I love the new syntax--possibilities, too.

Cheers,
  Harm

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


Re: Tikz(or any) integration or drawing curved arrows

2012-11-19 Thread Francisco Vila
2012/11/20 Stretto :
> Respectfully, you don't seem to be reading my posts. I said lilypond could
> export the coordinates in my 2nd post, the one you responded to. What you
> fail to realize is that the whole point is for lilypond to be the one to
> deal with the coordinates. Regardless of how you want to have this done, it
> is pointless for the user to have to use absolute coordinates in his tikz
> code because of the reasons I previously gave.
>
> So, if you want lilypond to export a coordinate list(hopefully more than
> just a list of numbers, as that will be damn near useless) or to use some
> markup language build in to lilypond, it must be done by lilypond because
> lilypond is the only one that knows the actual coordinates.
>
> I proposed that lilypond handle it inside ly code because it can remove
> several extra steps such as automatically adding the overlay and allowing
> for inline markup code. One could allow for a second tikz code section which
> works on "marked" elements.
>
> If I have to use `\draw (3.2, 5.8) -- (1.8, 4.5);` to draw a line between
> two elements in a lilypond score then I am using absolute coordinates and it
> is the worse way to do it. There is no other way to do this AFAIK.
>
> BUT if I can do `\draw (note1) -- (note2);` then I'm using nodes and it is
> the preferred way. This is using aliases for the coordinates, in which case,
> lilypond can take care of the mapping for us. If the actual coordinates
> change then it won't affect our code as much.

This all so far was in my idea of a workflow for tikz graphs on
lilypond scores. Marking points in the lilypond input, giving them
symbolic names, then using those names to let you make a graph using
tikz. I remember to have said absolute coordinates is not the problem
as long as you do not see them.

All extra steps can be done in a script. There is no need to force
lilypond to do all steps by itself; as lilypond is aware of the
coordinates and the names you chose for them, I imagined a little
intrusive way of doing it, is exporting all the names along with the
coordinates. Then an external latex file with the tikz graph could use
those coordinates, but you only refer to them by their names. The
script could compose the overlay for you. I think this could be a way
of achieving the goal with minimum changes to lilypond.

IMO doing everything inside of lilypond is not a good idea because
lilypond does not use latex for anything.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Fw: jianpu (numeric notes) lilypond transcribe?

2012-11-19 Thread MING TSANG
Hi, Lily users:

I forgot to include namer.ly.

Here is the lily code:
 
numbr = #(make-engraver (acknowledgers
((note-head-interface engraver grob source)
(let* (
(context (ly:translator-context engraver))
(tonic-pitch (ly:context-property context 'tonic))
(tonic-index (ly:pitch-notename tonic-pitch))
(event (ly:grob-property grob 'cause))
(grob-pitch (ly:event-property event 'pitch))
(grob-index (ly:pitch-notename grob-pitch))
(delta (modulo (- grob-index tonic-index) 7))
(name (list-ref '("1" "2" "3" "4" "5" "6" "7") delta))
(newgrob (ly:engraver-make-grob engraver 'TextScript event)))
(if (string= name "Hb")  (set! name "B"))
(set! (ly:grob-property newgrob 'text) name)
(set! (ly:grob-property newgrob 'direction) UP) 
 
Blessing in+,
Ming.

- Forwarded Message -
>From: MING TSANG 
>To: lilypond-usermailinglist  
>Sent: Saturday, November 17, 2012 4:48:37 PM
>Subject: jianpu (numeric notes) lilypond transcribe?
> 
>
>Hi, lilypond users:
>
>
>Is is possible for lilypond code to produce the jianpu (numeric notes) shown 
>on the .png file.   There is a namer.ly which will produce the jianpu, but the 
>numeric notes are not associated with quarter-note, half-note, eight-note and 
>differential octave. 
>
>
>Appreciate, if anyone had done this to share.
> 
>Blessing in+,
>ming.
>
>
><>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


roman numerals

2012-11-19 Thread Curt
Hi, what is the easiest way to notate a 
V/V (probably looks just like that)
viidim7/ii (a vii followed by a dim circle superscript and a 7 
superscript, then a slash then a ii)
iim7b5/vi? (either m7b5 superscript, or a half-dim circle superscript, 
then a slash then vi)

It doesn't look like chord mode likes it when I put i's and v's and I's and V's 
in there instead of note names.

I see the snippet here: http://lsr.dsi.unimi.it/LSR/Item?id=710 but am just 
curious if there is an easier way.

Two use cases: 
- I thought it might be nice to put chord qualities on a jazz lead for 
easier transposition, probably above the staff, above or alongside the existing 
chord symbols.
- I am wanting to simply batch-generate a whole mess of those symbols 
completely by themselves, with no staff or note above/below.

Thanks,
Curt


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


pitched trill spanner always displays accidental?

2012-11-19 Thread Jeffrey Trevino
Hi there,

Is it normal for the pitched trill spanner to always display an accidental
for its parenthesized pitch, even if the parenthesized pitch is natural and
doesn't need one? Is there a way to override this? I'm finding it immensely
frustrating to get at any of the attributes of this parenthesized note.

best,
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【

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