Re: Overlapping Characters in markup

2016-12-22 Thread Nathan Ho
On 2016-12-22 20:10, Br. Samuel Springuel wrote: If I wish to create a markup command that combines two characters from different fonts (the normal Roman font of the file and another font which provides special glyphs) in an overlapping fashion, how would I go about doing that? Thus far I have

Re: Overlapping Characters in markup

2016-12-22 Thread Vaughan McAlley
On 23 December 2016 at 15:10, Br. Samuel Springuel wrote: > If I wish to create a markup command that combines two characters from > different fonts (the normal Roman font of the file and another font which > provides special glyphs) in an overlapping fashion, how would I

Overlapping Characters in markup

2016-12-22 Thread Br. Samuel Springuel
If I wish to create a markup command that combines two characters from different fonts (the normal Roman font of the file and another font which provides special glyphs) in an overlapping fashion, how would I go about doing that? Thus far I have the following which has both characters, but no

Re: Any idea what this error message means?

2016-12-22 Thread David Wright
On Tue 20 Dec 2016 at 03:01:43 (-0700), ptoye wrote: > David Wright wrote > > At first glance, it looks as if the problem might be caused by the > > last line of lilypond/usr/bin/ps2pdfwr which looks like: > > > > exec "$GS_EXECUTABLE" $OPTIONS -q -P- -dNOPAUSE -dBATCH -sDEVICE=pdfwrite > >

Re: Is there a short way of forcing a particular octave?

2016-12-22 Thread David Wright
On Wed 21 Dec 2016 at 23:17:35 (-0500), Kieren MacMillan wrote: > Hi David, > > > Do you mean things like > > \relative { } > > ? > > Yes. > > Your example brings up another major limitation (IMO) to \relative mode: It > is essentially impossible to figure out at a quick glance

Re: Export to PNGs

2016-12-22 Thread David Wright
On Thu 22 Dec 2016 at 19:30:13 (+0100), Mirosław Doroszewski wrote: > Exporting to image file in LilyPond version 2.18.2. > > 1. Command line help tells that lilypond can export prints not only to > pdf but also to png format. > 2. Command line help does not tell how set resolution for image >

Re: Mutable pronouns in Lyrics

2016-12-22 Thread Br. Samuel Springuel
On 2016-12-21 11:58 PM, Vaughan McAlley wrote: ismale = ##f %gender = "m" % manually set to m(ale), f(emale), n(eutral) heshe = #(if ismale #{ he #} #{ she #}) hisher = #(if ismale #{ his #} #{ her #}) himher = #(if ismale #{ him #} #{ her #}) Hmm... Based on this idea I developed the

Re: Music functions and markup

2016-12-22 Thread Br. Samuel Springuel
On 2016-12-22 8:24 AM, Simon Albrecht wrote: hold = #(define-music-function (note) (ly:music?) (withMusicProperty 'duration (ly:make-duration -1 0) note)) This revised function works marvelously for me. I did have to look up the arguments to ly:make-duration in order to figure out

[no subject]

2016-12-22 Thread Mirosław Doroszewski
Exporting to image file in LilyPond version 2.18.2. 1. Command line help tells that lilypond can export prints not only to pdf but also to png format. 2. Command line help does not tell how set resolution for image format. I have found the setting in Learning help file. The setting is: "lilypond

Re: \draw-line with non-rounded cap

2016-12-22 Thread Simon Albrecht
On 22.12.2016 18:12, Simon Albrecht wrote: creating a front-end taking the same arguments as \draw-line, with the additional line-cap-style property: %%% \version "2.19.53" #(define-markup-command (path-draw-line In case it’s about not changing code and using the same command name,

Re: merge rests

2016-12-22 Thread MING TSANG
David, Thank you very much for the link.  I do a lilypund-convert and make it an .ily include file in my private include path. (I comment out the score code).   I include it to my existing lily file and it works very well. Thank you so much. Hope this snippet will become part of the lilypond

Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-22 Thread David Nalesnik
On Thu, Dec 22, 2016 at 9:01 AM, Alexander Kobel wrote: > On 2016-12-22 15:28, Kieren MacMillan wrote: >> >> Hi Alexander (et al.), >> >>> http://lsr.di.unimi.it/LSR/Item?id=336 >> >> >> Is this useful function part of the regular distro? > > > Not that I'm aware of. > >> If

Re: merge rests

2016-12-22 Thread David Nalesnik
Ming, On Thu, Dec 22, 2016 at 9:54 AM, MING TSANG wrote: > > Dear lilyponders, > > At this movement the merge rests (LSR=336) is for > "r" only, is it possible to adapt it also to merge "R" as well? > > Any help is appreciated. I don't know guile / scheme code. > > Merry

Re: \draw-line with non-rounded cap

2016-12-22 Thread Simon Albrecht
On 22.12.2016 17:43, Kieren MacMillan wrote: Hello all, Is there a way to use the built-in \draw-line markup command, but with a square cap and not the [lovely!] rounded cap default? Tried \override #'(line-cap-style . square), but that didn’t seem to work. If you specifically want to use

\draw-line with non-rounded cap

2016-12-22 Thread Kieren MacMillan
Hello all, Is there a way to use the built-in \draw-line markup command, but with a square cap and not the [lovely!] rounded cap default? Tried \override #'(line-cap-style . square), but that didn’t seem to work. Couldn’t find anything else in the documentation (2.19). Thanks, Kieren.

Re: Cannot adjust markup box position

2016-12-22 Thread Klaus Blum
Hi Javier, your score consists of (first) the chords (printed on top), (second) the notes (on bottom) to which the markup is attached. Thus, the box will always be located below the chords. Indeed, you can move it up like you did, but now the staff with notes and box takes up more space from

merge rests

2016-12-22 Thread MING TSANG
Dear lilyponders, At this movement the merge rests (LSR=336) is for "r" only, is it possible to adapt it also to merge "R" as well? Any help is appreciated. I don't know guile / scheme code. Merry Christmas and A Happy New Year.Ming

Re: Cannot adjust markup box position

2016-12-22 Thread Javier Mares Romero
Hi Pierre, Thank you, and my apologies, here is a tiny example of my problem http://www.lilybin.com/i8y3yx/1 I append the code: \score{ { << \chords { c2 g:sus4 } \relative c'' { a4^\markup{ \raise #5 \box{A} } e c8 e r4 } >> } \layout{} } On Thu, Dec 22, 2016 at 9:11 AM Pierre

Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-22 Thread Alexander Kobel
On 2016-12-22 15:28, Kieren MacMillan wrote: Hi Alexander (et al.), http://lsr.di.unimi.it/LSR/Item?id=336 Is this useful function part of the regular distro? Not that I'm aware of. If not, is there a technical reason why not None that I'm aware of. Unless you count the known

Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-22 Thread Kieren MacMillan
Hi Alexander (et al.), > http://lsr.di.unimi.it/LSR/Item?id=336 Is this useful function part of the regular distro? If not, is there a technical reason why not (i.e., not just “nobody’s submitted the patch yet”)? Thanks, Kieren. Kieren MacMillan, composer ‣

Re: Is there a short way of forcing a particular octave?

2016-12-22 Thread Kieren MacMillan
Hi again, >> I find \relative mode quite helpful in orchestral works because it lends >> itself very well to copy-n-paste octave doublings. Trying to do that in >> absolute mode and needing to edit tens of 's and ,s after you copy a >> line that needs to be transposed by an octave is quite

Re: Music functions and markup

2016-12-22 Thread Simon Albrecht
On 22.12.2016 00:51, Thomas Morley wrote: hold = #(define-music-function (note) (ly:music?) #{ \withMusicProperty #'duration ##{ \breve #} $note #}) Wow! Always so much to discover in LilyPond :-) And look how much the function definition can be simplified: hold =

Re: Vertical spacing titles and highest staff in LilyPond version 2.18.2.

2016-12-22 Thread Alexander Kobel
Hi Miroslaw, moving this from bug- to -user. On 2016-12-20 20:40, Mirosław Doroszewski wrote: 1. Only setting "title" in \header block is OK: when is set alone (without any other titles), necessary additional space between "title" and highest staff is automatically calculated. 2. But when

Re: Strange \key behaviour

2016-12-22 Thread Menu Jacques
Hello David, Oooops, hould have read the log in more detail, sorry… Thanks for your answer! JM > Le 22 déc. 2016 à 13:00, David Kastrup a écrit : > > Menu Jacques writes: > >> Hello folks, >> >> I typed \key twice inadvertently, as in: >> >> \version

Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-22 Thread Alexander Kobel
On 2016-12-21 18:50, Mirosław Doroszewski wrote: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2. http://lsr.di.unimi.it/LSR/Item?id=336 HTH, Alexander ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Strange \key behaviour

2016-12-22 Thread David Kastrup
Menu Jacques writes: > Hello folks, > > I typed \key twice inadvertently, as in: > > \version "2.19.44" > > { > \key c \major > \key b \major > \time 4/4 > \clef "treble" > gis'2. fis4 gis4 gis4 ais4 | % 2 > } > > and got the second \key being ignored it seems as a

Re: Music functions and markup

2016-12-22 Thread David Kastrup
Thomas Morley writes: > 2016-12-22 0:34 GMT+01:00 Klaus Blum : >> Attention, >> >> Thomas Morley-2 wrote >>> hold = #(define-music-function (note) (ly:music?) >>> #{ >>>$note \breve >>> #}) >> >> produces two notes: >> >> $note

Strange \key behaviour

2016-12-22 Thread Menu Jacques
Hello folks, I typed \key twice inadvertently, as in: \version "2.19.44" { \key c \major \key b \major \time 4/4 \clef "treble" gis'2. fis4 gis4 gis4 ais4 | % 2 } and got the second \key being ignored it seems as a result: Typing \clef of \time twice in a row doesn’t get such a

Re: Cannot adjust markup box position

2016-12-22 Thread Pierre Perol-Schneider
Hi Javier, Please send us a tiny example: http://lilypond.org/tiny-examples.html Cheers, PIerre 2016-12-22 1:52 GMT+01:00 Javier Mares Romero : > Hi all, > > I'm using \markup \box{Verse A} to label verses in a song. These labels > interfere with the position of