Re: Exited with return code -1073741819

2020-03-04 Thread Samuel Burt
Thanks for the reply. Do you use a package manager (like pacman in msys) or
do you install from source?

Sam



On Wed, Mar 4, 2020 at 2:56 PM Michael Gerdau  wrote:

> > I've got a fairly complicated score (cross staff beams) that I've almost
> > finished, but if I add any additional music it throws this error code:
> >
> > Exited with return code -1073741819
>
> Seems you hit the infamous problem with 32bit Windows memory constraints.
> FWIW when I run it on Windows as is I have the same problem. However it
> works w/o problems in the Windows Linux SubSystem.
>
> I'll send you the PDF and also the long list of complaints/errors reported
> by LP in a separate mail to not fill the list archive.
>
> Kind regards,
> Michael
> --
> Michael Gerdau email: m...@qata.de
> GPG-keys available on request or at public keyserver
>


Re: Exited with return code -1073741819

2020-03-04 Thread Michael Gerdau
> I've got a fairly complicated score (cross staff beams) that I've almost
> finished, but if I add any additional music it throws this error code:
> 
> Exited with return code -1073741819

Seems you hit the infamous problem with 32bit Windows memory constraints. FWIW 
when I run it on Windows as is I have the same problem. However it works w/o 
problems in the Windows Linux SubSystem.

I'll send you the PDF and also the long list of complaints/errors reported by 
LP in a separate mail to not fill the list archive.

Kind regards,
Michael
-- 
Michael Gerdau email: m...@qata.de
GPG-keys available on request or at public keyserver



Centering a slur/tie over a syllable

2020-03-04 Thread Benjamin Bloomfield
I am trying to figure out a way to change the way centering a slur or tied
note above a syllable so that if the noteheads all fit within the width of
the syllable that they would be centered above it, and otherwise left
aligned.

I have changed the centering behavior before by putting
\override LyricText #'X-offset = #center-on-word
inside a Lyrics context, and defining center-on-word in scheme so that it
would measure the width of the syllable without any surrounding
punctuation.  However, for what I'm asking about right now, I will need to
also know the location of the final notehead attached to the syllable.  I
don't think there should be any cases of this, but if the final notehead
for the current syllable is on a different system, I would only want to
consider the last notehead on the current system.

Here is what I had for center-on-word:
#(define (center-on-word grob)
  (let* (
  (text (ly:grob-property-data grob 'text))
  (syllable (if (string? text) text ""))
  (word-position (if (integer? (string-skip syllable space-set))
(string-skip syllable space-set) 0))
  (word-end (if (integer? (string-skip-right syllable space-set)) (+
(string-skip-right syllable space-set) 1) (string-length syllable)))
  (preword (substring syllable 0 word-position))
  (word (substring syllable word-position word-end ))
  (preword-width (if (string? text) (width grob preword) 0))
  (word-width (if (string? text) (width grob word) (width grob text)))
  (notehead (ly:grob-parent grob X))
  (refp (ly:grob-common-refpoint notehead grob X))
  (note-extent (ly:grob-extent notehead refp X))
  (note-width (- (cdr note-extent) (car note-extent)))
)
(if (= -1 (ly:grob-property-data grob 'self-alignment-X))
  (- 0 preword-width)
  (- (/ (- note-width word-width) 2) preword-width)
)
  )
)

Any help is greatly appreciated.

Thanks,

*Benjamin Bloomfield*


Exited with return code -1073741819

2020-03-04 Thread Samuel Burt
Hi list.

I've got a fairly complicated score (cross staff beams) that I've almost
finished, but if I add any additional music it throws this error code:

Exited with return code -1073741819


I see people had problems in the past with the latest thread being 2018,
but I don't see that there is any definitive answer.

I'm using version "2.20.0" in Frescobaldi in Windows 10 (Version 10.0.18362
Build 18362).


Here's the link to my lilypond file. I'd really appreciate it if someone
could render it (or fail) and let me know if they have the same problem.


https://drive.google.com/file/d/1nU5DCEzSafdk93Lc-b3WGlA-Hh7btUsf/view?usp=sharing


Thanks!


Sam


Re: Using showStaffSwitch only for non-beamed notes

2020-03-04 Thread Gilberto Agostinho
Aaron Hill wrote
> Something like this might work

This works really great, Aaron! Thank you so much!

Best,
Gilberto 




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



Re: Using showStaffSwitch only for non-beamed notes

2020-03-04 Thread Gilberto Agostinho
Aaron Hill wrote
> Something like this might work

This works really great, Aaron! Thank you so much!

Best,
Gilberto 




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html