Re: Defining custom symbols

2018-04-16 Thread Andrew Bernard
Hi Robert, Hmm. I have played around with this a bit. I think if you are using safe mode of necessity then you simply can't use lilypond for this use case. Sooner or later you have to mix Lilypond and Scheme, and it is forbidden in safe mode. Transforming the code for the cut from the repo in que

Ottava mark: edge dashed line

2018-04-16 Thread foxfanfare
Hi everyone, I cannot figure why I cannot change the ottava mark as I'd like. I am interested in using a dashed line, but also for the right edge, as shown in this exemple: http://lilypond.org/doc/v2.18/Documentation/snippets-big-page.html#text-ottava-text

Re: Ottava mark: edge dashed line

2018-04-16 Thread foxfanfare
Oh, I just found a clue to do that: \version "2.19.80" \relative c' { \override Staff.OttavaBracket.stencil = #ly:line-spanner::print \override Staff.OttavaBracket.bound-details = #`((left . ((Y . 0) ; Change the integer here (attach-dir . ,LEFT) (padding .

Different time signature on different staff

2018-04-16 Thread Ming Tsang
Dear ponders, My code did not produce the expecting of time 6/8 on the first staff. What shall I code to correct this. Thanks, Ming Sent from Mail for Windows 10 the-spirit-of-life_test.ly Description: Binary data ___ lilypond-user mailing list l

Re: Different time signature on different staff

2018-04-16 Thread Brian Barker
At 11:17 16/04/2018 -0400, Ming Tsang wrote: My code did not produce the expecting of time 6/8 on the first staff. What shall I code to correct this. See "Different time signatures with equal-length measures" and "Different time signatures with unequal-length measures" under "Polymetric notat

SVG enormous fonts issue

2018-04-16 Thread Robert Hickman
Fonts in SVG do not seem to respect font sizes, see attached SVG, for me this displays with enormous fonts that go off the top of the page. It works as intended in the PDF back end. \version "2.18.2" \include "larsen-symbols.ily" \header { tagline = "" % removed } \header {tagline = ""} {

Re: Different time signature on different staff

2018-04-16 Thread Knut Petersen
Hi Ming! My code did not produce the expecting of time 6/8 on the first staff. What shall I code to correct this. After reading the manual location pointed out by Brian you might have a look at my edition of Hugo Distles polymetric "Er ist's". PDF

Re: SVG enormous fonts issue

2018-04-16 Thread Robert Hickman
This issue seems to be Firefox specific. Other SVG examples, such as those on w3schools, do not exhibit this issue in firefox. On 16 April 2018 at 16:58, Robert Hickman wrote: > Fonts in SVG do not seem to respect font sizes, see attached SVG, for me > this displays with enormous fonts that go o

Re: SVG enormous fonts issue

2018-04-16 Thread Noeck
Your svg looks fine here. Tested with firefox, thunderbird, eog on Ubuntu. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: SVG enormous fonts issue

2018-04-16 Thread Robert Hickman
At least for now I'm giving up on this and using png images, if it isn't displaying dependably for me it probably won't for some percentage of my site users. Probably fixable with CSS but I can't be bothered to mess with it, this has already taken way too long. -- Seems to be related to firefox f

Re: SVG enormous fonts issue

2018-04-16 Thread Malte Meyn
Am 16.04.2018 um 18:27 schrieb Noeck: Your svg looks fine here. Tested with firefox, thunderbird, eog on Ubuntu. Looks good for my eom (the MATE equivalent of eog) but not for my firefox (59.0.1) on Manjaro. ___ lilypond-user mailing list lilypo

Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Robert Hickman
So far I have the result attached, which is close to what I want, but I haven't found a clear example of how to get the two text annotations to align vertically. I'd also like to move both up a bit. If possible I also want to pad the gap between the first note and the bar, so it is the same as the

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Simon Albrecht
On 16.04.2018 20:05, Robert Hickman wrote: So far I have the result attached, which is close to what I want, but I haven't found a clear example of how to get the two text annotations to align vertically. Try overriding TextScript.staff-padding – which will also move them up at appropriate va

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Malte Meyn
Am 16.04.2018 um 20:39 schrieb Simon Albrecht: On 16.04.2018 20:05, Robert Hickman wrote: So far I have the result attached, which is close to what I want, but I haven't found a clear example of how to get the two text annotations to align vertically. Try overriding TextScript.staff-padding

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Robert Hickman
\omit Staff.TimeSignature Works correctly, I found variations on the following with google, which was giving a syntax error: \context { \Staff \omit TimeSignature} I'm finding it quite difficult to find out how to do what I want to do with lilypond. On 16 April 2018 at 19:43, Malte Meyn wro

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Simon Albrecht
On 16.04.2018 20:50, Robert Hickman wrote: \omit Staff.TimeSignature Works correctly, I found variations on the following with google, which was giving a syntax error: \context { \Staff \omit TimeSignature } I'm finding it quite difficult to find out how to do what I want to do with lilypon

Re: Ottava mark: edge dashed line

2018-04-16 Thread Thomas Morley
2018-04-16 13:17 GMT+02:00 foxfanfare : > Hi everyone, > > I cannot figure why I cannot change the ottava mark as I'd like. > > I am interested in using a dashed line, but also for the right edge, as > shown in this exemple: > http://lilypond.org/doc/v2.18/Documentation/snippets-big-page.html#text-

Re: Ottava mark: edge dashed line

2018-04-16 Thread Noeck
Nice. I still thought that this is impossible as it was some time ago (3 years?). Is it feasible to align the dots (if I set the dash length to 0) such that there is exactly one dot in the top right corner? I.e. start the horizontal dotted line from the right end? Then it would be perfect. Joram

Re: Ottava mark: edge dashed line

2018-04-16 Thread Thomas Morley
2018-04-16 22:07 GMT+02:00 Noeck : > Nice. I still thought that this is impossible as it was some time ago (3 > years?). > > Is it feasible to align the dots (if I set the dash length to 0) such > that there is exactly one dot in the top right corner? I.e. start the > horizontal dotted line from th

Re: SVG enormous fonts issue

2018-04-16 Thread Henning Hraban Ramm
Am 2018-04-16 um 18:27 schrieb Noeck : > Your svg looks fine here. > Tested with firefox, thunderbird, eog on Ubuntu. Also fine with Preview on OSX 10.9 Greetlings, Hraban --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net ___ lilypond-user

Re: Ottava mark: edge dashed line

2018-04-16 Thread Noeck
Am 16.04.2018 um 22:32 schrieb Thomas Morley: > If you use dotted-lines the result could be: Thanks. The dotted-line sounds better than a dashed-line with dash-fraction zero. But the output seems to be the same and the issue in the top-right corner, too. The dots are not aligned. It just depends

Re: Ottava mark: edge dashed line

2018-04-16 Thread Thomas Morley
2018-04-16 22:42 GMT+02:00 Noeck : > > > Am 16.04.2018 um 22:32 schrieb Thomas Morley: >> If you use dotted-lines the result could be: > > Thanks. The dotted-line sounds better than a dashed-line with > dash-fraction zero. But the output seems to be the same and the issue in > the top-right corner,

Re: Ottava mark: edge dashed line

2018-04-16 Thread foxfanfare
Noeck wrote > Thanks. The dotted-line sounds better than a dashed-line with > dash-fraction zero. But the output seems to be the same and the issue in > the top-right corner, too. The dots are not aligned. It just depends on > how long the line is. I don't understand your issue, for me it looks gr

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread foxfanfare
Robert Hickman wrote > Works correctly, I found variations on the following with google, which > was > giving a syntax error: > > \context { \Staff \omit TimeSignature} If I understood correctly, this syntax is good, but works for the layout block as a "global" preset. \omit Staff.TimeSignature

Re: Ottava mark: edge dashed line

2018-04-16 Thread Noeck
Am 16.04.2018 um 23:00 schrieb Thomas Morley: > Again, I can see misaligned dots with evince but _not_ with Foxit Reader. > A pdf-viewer artefact? Hi Harm, I think have a slight misunderstanding here. I don’t think it is primarily a viewer artifact. IIUC, the horizontal dots are aligned on the

Re: Ottava mark: edge dashed line

2018-04-16 Thread foxfanfare
Noeck wrote > As I said, I think it’s a question where the line starts: on the left or > on the right and then it’s kind of luck how they meet in the corner. I see what your means. But even if the line started on right, you'll get the same problem at the left then no? The distance from the "8" tex

Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Peter Crighton
Hello all, my question is not exclusive to LilyPond, but I hope you can enlighten me anyway. I am transcribing a song in D Mixolydian and am wondering which key signature to notate it in – d \mixolydian (because that is the mode it is in) or d \major (because a D major chord clearly is the tonic

Re: Ottava mark: edge dashed line

2018-04-16 Thread Thomas Morley
2018-04-16 23:31 GMT+02:00 foxfanfare : > Noeck wrote >> As I said, I think it’s a question where the line starts: on the left or >> on the right and then it’s kind of luck how they meet in the corner. > > I see what your means. I don't. Though, there were other cases where I noticed similar. Thus

Re: Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Thomas Morley
2018-04-16 21:18 GMT+02:00 Peter Crighton : > Hello all, > > my question is not exclusive to LilyPond, but I hope you can enlighten me > anyway. > > I am transcribing a song in D Mixolydian and am wondering which key > signature to notate it in – d \mixolydian (because that is the mode it is > in)

Re: Ottava mark: edge dashed line

2018-04-16 Thread Carl Sorensen
On 4/16/18, 3:31 PM, "foxfanfare" wrote: Noeck wrote > As I said, I think it’s a question where the line starts: on the left or > on the right and then it’s kind of luck how they meet in the corner. I see what your means. But even if the line started on right, you'll get the

Re: Ottava mark: edge dashed line

2018-04-16 Thread Noeck
I will read your mail and the ottava code tomorrow. For the time being here is what I see (the differing dot spacing is due to my settings and not of concern here). ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listin

Re: Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread David Kastrup
Peter Crighton writes: > Hello all, > > my question is not exclusive to LilyPond, but I hope you can enlighten me > anyway. > > I am transcribing a song in D Mixolydian and am wondering which key > signature to notate it in – d \mixolydian (because that is the mode it is > in) or d \major (becaus

Re: Ottava mark: edge dashed line

2018-04-16 Thread Thomas Morley
2018-04-16 23:45 GMT+02:00 Carl Sorensen : > On 4/16/18, 3:31 PM, "foxfanfare" wrote: > > Noeck wrote > > As I said, I think it’s a question where the line starts: on the left or > > on the right and then it’s kind of luck how they meet in the corner. > > I see what your means. But

Re: Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Hans Åberg
> On 16 Apr 2018, at 21:18, Peter Crighton wrote: > > I am transcribing a song in D Mixolydian and am wondering which key signature > to notate it in – d \mixolydian (because that is the mode it is in) or d > \major (because a D major chord clearly is the tonic of the song). I’d rather > nota

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Thomas Morley
2018-04-16 23:23 GMT+02:00 foxfanfare : > *OMG, my first comment which isn't aimed to ask for help but "try" to help > someone else :-) lol More seriously, your help is very appropriated! Best, Harm ___ lilypond-user mailing list lilypond-user@gnu.

Re: Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Al Rushing
The music is forced to have one sharp or it will be unreadable to musicians. I would say suppress the key name. Musicians know what key it is in already. Al. Original message From: Peter Crighton Date: 4/16/18 2:36 PM (GMT-08:00) To: LilyPond User Mailing List Subject:

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Thomas Morley
2018-04-17 0:24 GMT+02:00 Thomas Morley : > 2018-04-16 23:23 GMT+02:00 foxfanfare : > >> *OMG, my first comment which isn't aimed to ask for help but "try" to help >> someone else :-) > > lol > > More seriously, your help is very appropriated! Forgive me, this should read "very appreciated" Non-na

RE: Different time signature on different staff

2018-04-16 Thread Ming Tsang
Brian, Thank you for pointing me to NR. I have been search LSR and found nothing. I will study the NR. Ming Sent from Mail for Windows 10 From: Brian Barker Sent: April 16, 2018 11:49 AM To: lilypond-user@gnu.org Cc: Ming Tsang Subject: Re: Different time signature on different staff At 11:17 1

RE: Different time signature on different staff

2018-04-16 Thread Ming Tsang
Knut, Thank you for the sample PDF and ly source. http://lilybin.com/94hi4y/1 Question: how to align bar lines for the above lilybin sample. Ming Sent from Mail for Windows 10 From: Knut Petersen Sent: April 16, 2018 12:07 PM To: Ming Tsang; lilypond-user@gnu.org Subject: Re: Different time si

Re: Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Torsten Hämmerle
Peter Crighton wrote > I am transcribing a song in D Mixolydian > [...] > in this case it is a pop song Hi Peter, Even if my opinion may differ from the general opinion here, I think that in popular music, one would use standard D major key signature. Reason: Two sharps clearly show D major tonic

Re:Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Flaming Hakama by Elaine
> > Original message > From: Peter Crighton > Date: 4/16/18 2:36 PM (GMT-08:00) > To: LilyPond User Mailing List > Subject: Key signatures in modes other than Ionian & Aeolian > > Hello all, > > my question is not exclusive to LilyPond, but I hope you can enlighten me > anyway.

Properties outside of scores

2018-04-16 Thread Emilio Millan
This one's a little odd, I admit, but it would come in handy to me. Suppose I had two markup blocks at the top level of a document--i.e., not in a score. Is there a way to set something like a context property outside the markup blocks but used inside them? Here's a contrived pseudo-example: \se

Re: Consistent vertical alignment of annotations, disable time signiture

2018-04-16 Thread Andrew Bernard
Hi Robert, As I mentioned and others have said, there is no substitute for studying the NR and the Learning Manual, in detail, exhaustively. It's a powerful program with enormous control, unlike typical GUI programs. It's no different to learning to play tin whistle. Nobody would expect to learn i

Re: Properties outside of scores

2018-04-16 Thread Andrew Bernard
Hi Emilio, Something like this can be adapted to your need? Andrew \version "2.19.81" % simple debug print #(define (dbg . args) "Simple debug console print." (cond ((not (null? args)) (display (car args)) (display " ") (apply dbg (cdr args))) (else (newline))

Re: Different time signature on different staff

2018-04-16 Thread Knut Petersen
Hi Ming! Question: how to align bar lines for the above lilybin sample. Well, as long as your MelodyA starts with \partial 8 \time 6/8 and your MelodyB starts with \partial 4 \time 4/4, bars will never happen at the same moment in time and thus bars will not be aligined ... Knut _

Re: Key signatures in modes other than Ionian & Aeolian

2018-04-16 Thread Lukas-Fabian Moser
Am 17.04.2018 um 01:24 schrieb Torsten Hämmerle: Even if my opinion may differ from the general opinion here, I think that in popular music, one would use standard D major key signature. Reason: Two sharps clearly show D major tonic and the characteristic mixo tone C (flat seventh) stands out in