Context question

2022-09-11 Thread John Schlomann
Can someone please explain why the following won't work. I want get the current moment at the end of the music expression. Is this not a valid thing to do? Or perhaps I don't know how to specify the context. This code gives an unbound variable error. \version "2.22.2" \score { \relative

RE: Markup command in wrapped text

2022-05-31 Thread John Schlomann
Thank you, Jean. I'm not sure where I got tripped up. Perhaps I need a brain transplant. John -Original Message- From: Jean Abou Samra Sent: Tuesday, May 31, 2022 4:43 PM To: John Schlomann ; lilypond-user@gnu.org Subject: Re: Markup command in wrapped text Le 31/05/2022 à 23:36, John

RE: Markup command in wrapped text

2022-05-31 Thread John Schlomann
Kastrup Sent: Tuesday, May 31, 2022 4:42 PM To: John Schlomann Cc: lilypond-user@gnu.org Subject: Re: Markup command in wrapped text "John Schlomann" writes: > How can I define a block of wordwrap (or justified) text that includes > commands such as \italic or \bold? I've don

Markup command in wrapped text

2022-05-31 Thread John Schlomann
How can I define a block of wordwrap (or justified) text that includes commands such as \italic or \bold? I've done some searching and tried various things, all to no avail. Thank for any help, John

RE: Inputting music in parts

2022-01-06 Thread John Schlomann
Paulo, It seems like what you have is the right approach. How much simpler could it be? AFAIK \alternative is only useful with \repeat volta. Of course, you'd leave off the backslashes when defining the variables. John -Original Message- From: lilypond-user

RE: Accidental placement with simultaneous music

2021-02-22 Thread John Schlomann
arker > Sent: Sunday, February 21, 2021 10:39 AM > To: lilypond-user@gnu.org > Subject: Re: Accidental placement with simultaneous music > > At 09:11 21/02/2021 -0600, John Schlomann wrote: > >I'm probably missing a simple fix for this. In the following example > >the na

Accidental placement with simultaneous music

2021-02-21 Thread John Schlomann
I'm probably missing a simple fix for this. In the following example the natural sign on the f4 in the first voice is placed to the left of the a4 in the second voice. I can't seem to find a way to fix this. Or is this considered acceptable? The other accidentals in the measure are correct.

RE: Markup in scheme

2020-11-01 Thread John Schlomann
Thank you, Martin and Harm. You gave me the understanding I needed. John > -Original Message- > From: Thomas Morley [mailto:thomasmorle...@gmail.com] > Sent: Saturday, October 31, 2020 1:47 PM > To: John Schlomann > Cc: lilypond-user > Subject: Re: Markup in scheme &g

Markup in scheme

2020-10-31 Thread John Schlomann
In the following snippet, the first markup works fine. The second gives no errors, but outputs nothing. Why does the scheme version not work? \version "2.20.0" \markup{"First markup"} #(markup #:line (#:simple "Second markup")) Thanks, John

RE: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread John Schlomann
Ah, thank you much. John > -Original Message- > From: Thomas Morley [mailto:thomasmorle...@gmail.com] > Sent: Saturday, October 17, 2020 3:14 PM > To: John Schlomann > Cc: David Kastrup; Jean Abou Samra; Matthew Fong; lilypond-user > Subject: Re: Scheme help req

RE: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread John Schlomann
Harm, You used a function or macro called add-text. I can't seem to find it in any LilyPond or Guile manual. What is that? John > -Original Message- > From: lilypond-user [mailto:lilypond-user- > bounces+jschlomann=wideopenwest@gnu.org] On Behalf Of Thomas > Morley > Sent:

RE: Strange error from define-syntax

2020-05-28 Thread John Schlomann
define-macro works perfectly for me, even though the Guile manual seems to somewhat disparage its use. Thank you, David. John > -Original Message- > From: David Kastrup [mailto:d...@gnu.org] > Sent: Thursday, May 28, 2020 2:02 PM > To: John Schlomann > Cc: 'Lilypond-Us

RE: Strange error from define-syntax

2020-05-28 Thread John Schlomann
11:54 AM > To: John Schlomann > Cc: 'Lilypond-User Mailing List' > Subject: Re: Strange error from define-syntax > > "John Schlomann" writes: > > > Dear Ponders & Schemers, > > > > > > > > I wanted to try creating a simple Scheme ma

Strange error from define-syntax

2020-05-28 Thread John Schlomann
Dear Ponders & Schemers, I wanted to try creating a simple Scheme macro. I've never done this before, so I may well be going about it all wrong, but the error I get doesn't make sense. Here is a minimal non-working example: \version "2.20.0" #(use-modules (ice-9 syncase))

RE: Getting started with Scheme

2020-05-23 Thread John Schlomann
Paul, I'm a Windows 10 user. (I'm hoping to get my Linux system rebuilt one of these days.) I currently use LilyPond 2.20.0. My GUILE_LOAD_PATH is set the same as yours (C:\Program Files (x86)\LilyPond\usr\share\guile\1.8). It's defined under "user variables", if that matters. For most

RE: Running convert-ly on WIndows

2020-04-16 Thread John Schlomann
; From: Michael Gerdau [mailto:m...@qata.de] > Sent: Thursday, April 16, 2020 4:09 AM > To: John Schlomann; lilypond-user@gnu.org > Subject: Re: Running convert-ly on WIndows > > Hi John, > > I don't have this problem. > > > I've just installed 2.20.0 on Windows 10

Running convert-ly on WIndows

2020-04-15 Thread John Schlomann
Dear Ponders, I'm sure this has been addressed before, but I can't seem to find the answer. I've just installed 2.20.0 on Windows 10. I've been using 2.18.2. When I try to run convert-ly I get an error from line 61: Import lilylib as ly No module named lilylib Maybe I'm

RE: Syllable count

2018-02-19 Thread John Schlomann
I had been looking for something specific to lyrics, which is maybe why I didn't find it. This is exactly what I need. Thank you, Harm. John -Original Message- From: Thomas Morley [mailto:thomasmorle...@gmail.com] Sent: Monday, February 19, 2018 4:05 PM To: John Schlomann Cc: lilypond

Syllable count

2018-02-19 Thread John Schlomann
Dear LilyPond experts, Given a definition of some lyrics, such as lyr = \lyricmode { Here some lyr -- ics } Is there any way to get a count of the syllables, in this case 4? Thank you, John ___ lilypond-user mailing list

RE: org babel and lilypond

2017-12-25 Thread John Schlomann
I’m just curious, what would be the advantages of Org Babel over the LilyPond mode that comes with LilyPond? John From: lilypond-user [mailto:lilypond-user-bounces+jschlomann=wideopenwest@gnu.org] On Behalf Of Henrik Frisk Sent: Sunday, December 24, 2017 12:57 PM To:

RE: Problem with conditionals in \layout

2017-12-03 Thread John Schlomann
n > Cc: John Schlomann; lilypond-user@gnu.org > Subject: Re: Problem with conditionals in \layout > > Carl Sorensen <c_soren...@byu.edu> writes: > > > From: John Schlomann <jschlom...@wideopenwest.com> > > Date: Friday, December 1, 2017 at 1:02 PM &

RE: Problem with conditionals in \layout

2017-12-01 Thread John Schlomann
of this code. Am I still doing something wrong here? From: Carl Sorensen [mailto:c_soren...@byu.edu] Sent: Friday, December 01, 2017 5:32 PM To: John Schlomann; lilypond-user@gnu.org Subject: Re: Problem with conditionals in \layout From: John Schlomann <jsch

Problem with conditionals in \layout

2017-12-01 Thread John Schlomann
I'm have a problem including conditionals in a \layout block. The following code results in error, "syntax error, unexpected OUTPUT_DEF_IDENTIFIER". \version "2.18.2" #(define conditionalTimeSignature (if #t #{ \layout { \context {

RE: Counter in a repeat

2017-07-28 Thread John Schlomann
Hmmm. Maybe I looked right past the simple solution. Wouldn't be the first time. Thanks, I'll try this. John > -Original Message- > From: David Kastrup [mailto:d...@gnu.org] > Sent: Friday, July 28, 2017 4:26 PM > To: John Schlomann > Cc: lilypond-user@gnu.org > Su

RE: Counter in a repeat

2017-07-28 Thread John Schlomann
on the screen. That's more suited to the print version. John > -Original Message- > From: David Kastrup [mailto:d...@gnu.org] > Sent: Friday, July 28, 2017 12:04 PM > To: John Schlomann > Cc: lilypond-user@gnu.org > Subject: Re: Counter in a repeat > > &

Counter in a repeat

2017-07-28 Thread John Schlomann
Hello Everyone, I'd like to maintain a counter that can track the current number of passes through a repeat, something like this: \version "2.18.2" rpt-number = 0 % Initialize the counter { \repeat unfold 3 { #(set! rpt-number (1+ rpt-number)) % Increment the counter c'4 e'4

Grouping lyrics stanzas in scheme

2017-01-30 Thread John Schlomann
Given two are more stanzas of lyrics, such as verseA = \lyricmode { First verse } verseB = \lyricmode { Second verse } I need to do the following statement in scheme: fullLyrics = { verseA verseB } This statement seems to work as written. However, I need to do it