Obtain the number of notes and rests from "ly:music?" parameter passed to a function

2018-03-02 Thread Paolo Prete
Hello, in the snippet below how can I replace "4" (in the denominator of "\times") with the number of notes+rests (including "s") in $notes ? Thanks createTuplet = #(define-music-function (parser location notes) (ly:music?)#{  \times 2/4 $notes#}) {  \createTuplet {c' e' r g'}}

Re: Obtain the number of notes and rests from "ly:music?" parameter passed to a function

2018-03-02 Thread Thomas Morley-2
Paolo Prete wrote > Hello, > in the snippet below how can I replace "4" (in the denominator of > "\times") with the number of notes+rests (including "s") in $notes ? > Thanks > > > createTuplet = #(define-music-function (parser location notes) > (ly:music?)#{  \times 2/4 $notes#}) > { 

Re: Stem forced to be at the right (or left) of the notehead

2018-03-02 Thread Thomas Morley-2
Paolo Prete wrote > From what I see, the result of the snippet is that the notehead is moved, > but the stem remains fixed. Instead, I need that the notehead remains in > its position and the stem is placed on the right... > thanks for your help For unknown reasons I don't see your posts on the

Re: Stem forced to be at the right (or left) of the notehead

2018-03-02 Thread Paolo Prete
Thanks very much Il Venerdì 2 Marzo 2018 21:26, Thomas Morley-2 ha scritto: Paolo Prete wrote > From what I see, the result of the snippet is that the notehead is moved, > but the stem remains fixed. Instead, I need that the notehead remains in > its position

Re: Obtain the number of notes and rests from "ly:music?" parameter passed to a function

2018-03-02 Thread Paolo Prete
Meanwhile, I found a solution for my question, for anyone who could be interested: createTuplet = #(define-music-function (parser location notes) (ly:music?)(let  ((noteCount (length (extract-typed-music notes '(note-event event-chord rest-event skip-event  )   #{   \times #(cons 2

Re: Missing messages [was: Stem forced to be at the right (or left) of the notehead]

2018-03-02 Thread Brian Barker
At 22:46 02/03/2018 +0100, Thomas Morley wrote: Though, in the past, mails from Yahoo, distributed by the mailing-list, were put into my spam-folder by gmail. Obviously this changed 2 or 3 days ago. Now I receive nothing... You are lucky: my mail provider has been rigorously following the

Re: Display a cue clef like a regular clef after a line break

2018-03-02 Thread David Kastrup
Lucas Werkmeister writes: > Hi! > > Andrew, attached you’ll find a photograph of the score I’m trying to > reproduce (please excuse the quality) and a screenshot of what Lilypond > produces. > > David, apologies – I’m not very familiar with the difference between cue >

Re: Missing messages [was: Stem forced to be at the right (or left) of the notehead]

2018-03-02 Thread Thomas Morley
2018-03-02 22:26 GMT+01:00 Brian Barker : > At 13:25 02/03/2018 -0700, Thomas Morley wrote: >> >> Paolo Prete wrote >>> >>> ... >> >> >> For unknown reasons I don't see your posts on the mailing-list, ... > > > Neither do I. But I can help there: it's all down to

Re: Missing messages [was: Stem forced to be at the right (or left) of the notehead]

2018-03-02 Thread Paolo Prete
Hello.Thanks for reporting this issue.I had the same problem with other mailing lists.I don't see any other solution than changing the e-mail address, then... Il Venerdì 2 Marzo 2018 22:47, Thomas Morley ha scritto: 2018-03-02 22:26 GMT+01:00 Brian Barker

Re: Display a cue clef like a regular clef after a line break

2018-03-02 Thread David Kastrup
Lucas Werkmeister writes: > Hello, > > I am trying to transcribe a piano composition from the late 19th > century, staying as faithful to the original score as possible. At two > points in this score, the right hand is set in bass clef for two bars, > and one of those

Re: Display a cue clef like a regular clef after a line break

2018-03-02 Thread Lucas Werkmeister
[The email David’s responding to was rejected for the mailing list since the attachments were too large; you can find the images at https://imgur.com/a/jc6ga.] On 03.03.2018 01:11, David Kastrup wrote: > Lucas Werkmeister writes: > >> Hi! >> >> Andrew, attached you’ll

Re: Missing messages [was: Stem forced to be at the right (or left) of the notehead]

2018-03-02 Thread Brian Barker
At 13:25 02/03/2018 -0700, Thomas Morley wrote: Paolo Prete wrote ... For unknown reasons I don't see your posts on the mailing-list, ... Neither do I. But I can help there: it's all down to Domain-based Message Authentication, Reporting and Conformance (DMARC). This is a comparatively

Display a cue clef like a regular clef after a line break

2018-03-02 Thread Lucas Werkmeister
Hello, I am trying to transcribe a piano composition from the late 19th century, staying as faithful to the original score as possible. At two points in this score, the right hand is set in bass clef for two bars, and one of those sections is across a line break, similar to this tiny example:

Re: Display a cue clef like a regular clef after a line break

2018-03-02 Thread Andrew Bernard
Hi Lukas, Can you post an image of what you want? That would make it easier to help. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Missing messages [was: Stem forced to be at the right (or left) of the notehead]

2018-03-02 Thread Karlin High
Paolo Prete: Did you register for the lilypond-user mailing list? Or just for the Nabble site? -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Display a cue clef like a regular clef after a line break

2018-03-02 Thread Andrew Bernard
Try this: \override Clef.font-size = #-3 Adjust size to taste. Well worth spending the time to read and digest the material in the Internals section of the documentation. Look up Clef in the 'All layout objects' section, and then look at the bottom to see all the interfaces Clef implements, and

Re: Display a cue clef like a regular clef after a line break

2018-03-02 Thread Lucas Werkmeister
On 03.03.2018 02:06, Andrew Bernard wrote: > Try this: > > \override Clef.font-size = #-3 > > Adjust size to taste. > > Well worth spending the time to read and digest the material in the > Internals section of the documentation. Look up Clef in the 'All > layout objects' section, and then look at

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Urs Liska
Am 02.03.2018 um 09:41 schrieb Andrew Bernard: Hi Urs, Is the lilypond option eps-box-padding setting helpful at all? No, unfortunately not, I think. But this is also strange: as per http://lilypond.org/doc/v2.19/Documentation/usage/command_002dline-usage.en.html this adds a padding to

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Urs Liska
Am 02.03.2018 um 09:16 schrieb Andrew Bernard: Hi Urs, Forgive me if saying something you know, but just confirming that PostScript user space coordinate units are 1/72 inch. This is close to one point, but there is no universally accepted definition of one point. Some conventions use

Re: ScholarLy and Latex

2018-03-02 Thread Craig Dabelstein
Hi Urs, I hope you can understand these files. I think the report.sty file was borrowed from your Scores of Beauty post a long time ago (maybe). My problem is trying to get the content of the "message" field to be displayed. All the best, Craig On 1 March 2018 at 19:05, Urs Liska

Re: Including tweaks in a variable

2018-03-02 Thread David Kastrup
Simon Albrecht writes: > On 01.03.2018 17:51, Michael Stickles wrote: >> It was driving me crazy at first because it still wouldn't work, >> until I dug through the documentation a bit more and found that 2.18 >> and 2.19 have a slightly different syntax for the >>

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Andrew Bernard
Hi Urs, Is the lilypond option eps-box-padding setting helpful at all? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: A lovely segno sign

2018-03-02 Thread Simon Albrecht
> The text font in this edition is also lovely - I wonder if they were letter > punch forms? Certainly so. I don't think engraving text without punch forms was widely done in the 19th century -- except of course for title pages. Best, Simon ___

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Andrew Bernard
Hi Urs, Forgive me if saying something you know, but just confirming that PostScript user space coordinate units are 1/72 inch. This is close to one point, but there is no universally accepted definition of one point. Some conventions use 1/72.72 inches (!), for example. The information

Re: Display control points of a slur

2018-03-02 Thread Paolo Prete
I saw the Viemeo's video, but AFAIK Denemo doesn't work well in importing Lilypond's files. Then I wonder if a similar graphical tool is available for Frescobaldi or as a stand-alone application... Il Venerdì 2 Marzo 2018 15:28, Richard Shann ha scritto: On

Re: Display control points of a slur

2018-03-02 Thread Urs Liska
Am 02.03.2018 um 15:38 schrieb Paolo Prete: I saw the Viemeo's video, but AFAIK Denemo doesn't work well in importing Lilypond's files. I'm not sure what you're referring to here. Then I wonder if a similar graphical tool is available for Frescobaldi or as a stand-alone application...

SVG export failed w/ Gonville

2018-03-02 Thread takumi ikeda
%% Unfortunately, SVG exporting failed with Gonville font. I'd like to just report. (T.I) \version "2.19.61" \paper { #(define fonts (set-global-fonts #:music "gonville" ;"cannot find SVG font #f" ?? #:brace "gonville" #:factor (/ staff-height pt 20) )) } \new

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Alexander Kobel
Hi again, On 03/02/2018 03:10 PM, Urs Liska wrote: [...] First I thought this is the solution. Then the confusion came. But now I think again that it's the solution :-) I assume the difference between the BoundingBox and the HiResBoundingBox is exactly what I'm after. Unfortunately the box is

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Henning Hraban Ramm
Hi Urs et al., to add to the confusion, there’s also %%HiResBoundingBox that accepts floats. It’s defined in DCE (Document Comment Extensions), see http://wwwimages.adobe.com/content/dam/acom/en/devnet/actionscript/articles/5644.Comment_Ext.pdf

Display control points of a slur

2018-03-02 Thread Paolo Prete
Hello, is it possible to display (for example, with red color) the control points (bezier) of a Slur, so that it's easier to adjust them? Thanks___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Alexander Kobel
Hi Urs, some educated guessing (and hopefully another suggestion): On 03/01/2018 11:11 PM, Urs Liska wrote: Hi all, can anyone tell me *exactly* how the bounding box values are generated and especially rounded in LilyPond? What are they exactly referring to, the content *with* or *without*

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Urs Liska
Hi Alexander, Am 02.03.2018 um 11:35 schrieb Alexander Kobel: ... I'd be glad about any concrete information or other suggestions. Both slightly more concrete and another suggestion: wouldn't you be better off with using the high-resolution bounding box determined by GS from an actual

Re: Display control points of a slur

2018-03-02 Thread Richard Shann
On Fri, 2018-03-02 at 12:03 +, Paolo Prete wrote: > Thanks for your replies. > I wonder if is there also a graphic tool which I can use for > adjusting these control points by clicking on them with the mouse. > It would be very useful... Perhaps you didn't examine https://vimeo.com/64408182

Re: Display control points of a slur

2018-03-02 Thread Richard Shann
On Fri, 2018-03-02 at 11:17 +, Paolo Prete wrote: > Hello, > > is it possible to display (for example, with red color) the control > points (bezier) of a Slur, so that it's easier to adjust them? > There's code for Lilypond to show the control points - it's what's used by Denemo to give

Stem forced to be at the right (or left) of the notehead

2018-03-02 Thread Paolo Prete
hello,  how can I force the stem to be at the right of the notehead ? ThanksPaolo___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Display control points of a slur

2018-03-02 Thread Urs Liska
Am 2. März 2018 12:44:52 MEZ schrieb Urs Liska : > > >Am 2. März 2018 12:17:19 MEZ schrieb Paolo Prete >: >>Hello, >>is it possible to display (for example, with red color) the control >>points (bezier) of a Slur, so that it's easier to adjust them?

Flipping a note

2018-03-02 Thread Paolo Prete
I repost my previous question in a more generic way: is it possible to flip horizontally a note preserving the notehead in its original position?___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Display control points of a slur

2018-03-02 Thread Urs Liska
Am 2. März 2018 12:17:19 MEZ schrieb Paolo Prete : >Hello, >is it possible to display (for example, with red color) the control >points (bezier) of a Slur, so that it's easier to adjust them? >Thanks If you use Frescobaldi you can simply open the Layout Control tool, check

Re: Display control points of a slur

2018-03-02 Thread SoundsFromSound
Paolo Prete wrote > Hello, > is it possible to display (for example, with red color) the control points > (bezier) of a Slur, so that it's easier to adjust them? > Thanks In Frescobaldi you can do this, as well as display other important and helpful parameters. (See attached) control_points.png

Re: Stem forced to be at the right (or left) of the notehead

2018-03-02 Thread SoundsFromSound
Paolo Prete wrote > hello,  > how can I force the stem to be at the right of the notehead ? Hello, You can alter the stem / opposite side of notehead using this snippet: http://lsr.di.unimi.it/LSR/Item?id=861 stem_sides.png

Re: Stem forced to be at the right (or left) of the notehead

2018-03-02 Thread Paolo Prete
>From what I see, the result of the snippet is that the notehead is moved, but >the stem remains fixed. Instead, I need that the notehead remains in its >position and the stem is placed on the right... thanks for your help Il Venerdì 2 Marzo 2018 12:56, SoundsFromSound

Re: Display control points of a slur

2018-03-02 Thread Paolo Prete
Thanks for your replies.I wonder if is there also a graphic tool which I can use for adjusting these control points by clicking on them with the mouse.It would be very useful... Il Venerdì 2 Marzo 2018 13:01, Urs Liska ha scritto: Am 2. März 2018 12:44:52 MEZ

Re: Display control points of a slur

2018-03-02 Thread Richard Shann
On Fri, 2018-03-02 at 14:38 +, Paolo Prete wrote: > I saw the Viemeo's video, but AFAIK Denemo doesn't work well in > importing Lilypond's files. Yes, it wouldn't be practicable to import an entire LilyPond file as part of a workflow where the idea was to go back and forth from hand coding.

Re: Understanding the eps bounding box (rounding)

2018-03-02 Thread Urs Liska
Am 02.03.2018 um 16:02 schrieb Alexander Kobel: Hi again, On 03/02/2018 03:10 PM, Urs Liska wrote: [...] First I thought this is the solution. Then the confusion came. But now I think again that it's the solution :-) I assume the difference between the BoundingBox and the HiResBoundingBox