Re: More spacing troubles.

2018-07-15 Thread Hwaen Ch'uqi
Greetings Andrew,

Thank you so much for slogging through my code and for the solution!

Hwaen Ch'uqi


On 7/16/18, Andrew Bernard  wrote:
> Hi Hwaen,
>
> \fill-line spreads out text evenly spaced across a line. You don't need it.
> Also, if you want to specify indents, one way to do so is to use the text
> on a line with \line. Try something like your modified example below. [You
> could have made it much more minimal.]
>
> Andrew
>
> 
> \version "2.19.82"
>
> \markuplist {
>   \line \bold {
> Course Work and Expectations:
>   }
>   \vspace #1
>   \hspace #6 \wordwrap-string #"Each week, there will be a
> lecture/discussion at Hochstein.  Feel free to ask questions!"
>
>   \vspace #1
>   \line {
> \hspace #6 \wordwrap-string #"Homework will consist of listening
> to music, practicing basic music theory skills, and dabbling a bit in
> writing down your own musical ideas."
>   }
>
> }
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: More spacing troubles.

2018-07-15 Thread Andrew Bernard
Hi Hwaen,

\fill-line spreads out text evenly spaced across a line. You don't need it.
Also, if you want to specify indents, one way to do so is to use the text
on a line with \line. Try something like your modified example below. [You
could have made it much more minimal.]

Andrew


\version "2.19.82"

\markuplist {
  \line \bold {
Course Work and Expectations:
  }
  \vspace #1
  \hspace #6 \wordwrap-string #"Each week, there will be a
lecture/discussion at Hochstein.  Feel free to ask questions!"

  \vspace #1
  \line {
\hspace #6 \wordwrap-string #"Homework will consist of listening
to music, practicing basic music theory skills, and dabbling a bit in
writing down your own musical ideas."
  }

}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond fails after system upgrade.

2018-07-15 Thread Pierre Perol-Schneider
Hi Peter,
This happend if the pdf is open when trying to compile (Windows).
Close the pdf and it should compile.
Cheers,
Pierre


2018-07-16 7:26 GMT+02:00 Urs Liska :

>
>
> Am 16. Juli 2018 02:37:27 MESZ schrieb Peter Terpstra <
> peter.terpst...@gmail.com>:
> >
> >Dear people,
> >Upgraded my the pc to opensuse leap 15.
> >
> >On many documents (not all) i get now this error:
> >warning:
> >`(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00
> >-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
> >-sOutputFile=./Etude-nr.8.pdf -c.setpdfwrite -fEtude-nr.8.ps)'
> >failed (256)
> >
> >fatal error: failed files: "Etude-nr.8.ly"
> >
> >Any advice would be great, thanks in advance!
>
> How did you install LilyPond (package manager or download?), how is it
> invoked?
>
> >
> >Peter
> >
> >
> >___
> >lilypond-user mailing list
> >lilypond-user@gnu.org
> >https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond fails after system upgrade.

2018-07-15 Thread Urs Liska



Am 16. Juli 2018 02:37:27 MESZ schrieb Peter Terpstra 
:
>
>Dear people,
>Upgraded my the pc to opensuse leap 15.
>
>On many documents (not all) i get now this error:
>warning:
>`(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00
>-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
>-sOutputFile=./Etude-nr.8.pdf -c.setpdfwrite -fEtude-nr.8.ps)'
>failed (256)
>
>fatal error: failed files: "Etude-nr.8.ly"
>
>Any advice would be great, thanks in advance!

How did you install LilyPond (package manager or download?), how is it invoked?

>
>Peter
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: http://lilypond.org/help-us.html afunctional

2018-07-15 Thread Graham Percival
On Thu, Jul 05, 2018 at 08:49:12PM +0200, David Kastrup wrote:
> Graham Percival  writes:
> > I suspect that the issue is that we only want a string in the form
> > "2.19", and it was easier to create such a string by concatenating
> > MAJOR_VERSION and MINOR_VERSION, instead of taking VERSION_STABLE
> > of "2.19.65" and removing the final ".xy"
> 
> Hm.  I've done a change using VERSION_DEVEL locally but I am not sure
> whether there is one valid strategy for both development and stable
> releases.
> 
> I am not sure I understand the problem.

Sorry, I'm not certain if this is still an issue.  Here's the
problem as I recall it.

1) The regular MAJOR_VERSION / MINOR_VERSION / PATCH_LEVEL points
to the *next* lilypond release in git master.  This is so that if
a developer compiles the binary, there's a distinction between
  ./lilypond --version
and
  lilypond --version

(assuming that she has an officially released lilypond in her
$PATH).


2) Pages like
  http://lilypond.org/unix.html
  http://lilypond.org/development.html
are generated from
  Documentation/web/download.itexi
  Documentation/web/community.itexi
from git master.  These need to point to the latest *released*
versions, not the "n+1" version that one gets from compiling.

To see exactly how VERSION_STABLE and VERSION_DEVEL are used,
$ git grep versionStable -- Documentation/web
$ git grep versionDevel -- Documentation/web


Cheers,
- Graham

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


More spacing troubles.

2018-07-15 Thread Hwaen Ch'uqi
Greetings All,

I return with another spacing question, this time horizontal. Below is
the code for part of a syllabus. The result is that single lines of
text are properly indented, but none of the wrapped strings correctly
indent. I must be missing something fundamental here, but I cannot
figure it out.

\version "2.19.82"

\paper {
  top-margin = 1\in
  bottom-margin = 1\in
  left-margin = .75\in
  right-margin = .75\in
  tagline = ##f
}

\markuplist {
  \fill-line \abs-fontsize #16 \bold {
"Beginning Again: Course Syllabus"
  }
  \vspace #1
  \draw-hline
  \vspace #1
  \fill-line \abs-fontsize #12 \italic {
" " "Hochstein School of Music and Dance, Summer, 2018"
  }
  \vspace #2
  \line \abs-fontsize #12 \bold {
Meeting Times:
  }
  \vspace #1
  \line {
\hspace #6 Tuesdays, 6-7 PM July 17 through August 14
  }
  \vspace #2
  \line \bold {
Instructor:
  }
  \vspace #1
  \line {
\hspace #6 Hwaen Ch'uqi
  }
  \vspace #1
  \line {
\hspace #6 E-mail: 
  }
  \vspace #1
  \line {
\hspace #6 Tel: 
  }
  \vspace #2
  \line \bold {
Materials:
  }
  \vspace #1
  \line {
\hspace #6 Collect the handouts in a folder and bring them to
class each week.
  }
  \vspace #1
  \fill-line {
 \hspace #6 \wordwrap-string #"Watch for weekly emails with the
listening assignments.  Use the links to YouTube videos, or look up
the pieces on Classical Archives"
  }
  \vspace #2
  \line \bold {
Course Work and Expectations:
  }
\vspace #1
  \fill-line {
\hspace #6 \wordwrap-string #"Each week, there will be a
lecture/discussion at Hochstein.  Feel free to ask questions!"
  }
  \vspace #1
  \fill-line {
\hspace #6 \wordwrap-string #"Homework will consist of listening
to music, practicing basic music theory skills, and dabbling a bit in
writing down your own musical ideas."
  }
  \vspace #1
  \fill-line {
\hspace #6 \wordwrap-string #"There is no grade for this course,
but homework will be corrected and given back to you with feedback.
Enjoy what you are learning through the course!  Do not worry if you
must hand in incomplete homework if you can't finish the homework in a
week."
  }
  \vspace #2
  \line \bold {
Absences:
  }
}

Thank you in advance.

Hwaen Ch'uqi

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond fails after system upgrade.

2018-07-15 Thread Knut Petersen

Am 16.07.2018 um 02:37 schrieb Peter Terpstra:

Upgraded my the pc to opensuse leap 15.

On many documents (not all) i get now this error:
warning:
`(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
-sOutputFile=./Etude-nr.8.pdf -c.setpdfwrite -fEtude-nr.8.ps)'
failed (256)


Which version of lilypond and ghostscript?

   lilypond --version
   gs --version


Execute

   lilypond --ps --pdf Etude-nr.8.ly
   gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
-sOutputFile=./Etude-nr.8.pdf -c.setpdfwrite -fEtude-nr.8.ps

to get the error messages from ghostscript.

Knut
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about baseline-skip.

2018-07-15 Thread Hwaen Ch'uqi
Greetings Torsten,

Thank you so much for the explanation AND for the examples, despite my
lack of a minimal example. It was most helpful.

Hwaen Ch'uqi


On 7/14/18, Torsten Hämmerle  wrote:
> Hi Hwaen,
>
> I get your point (although a minimal example for demonstration purposes
> would have helped).
>
> In a 20 pt score, the default font size will be 11 pt and the default
> baseline-skip will be 3 staff spaces (set in paper-defaults-init.ly).
> Within a \wordwrap block (or anything comparable), this baseline-skip will
> apply.
>
>
> Between two \markup blocks, however, there will be no baseline-skip at all:
> these boxes will just be stacked on top of each other with no padding at
> all. This becomes apparent when enclosing the markup blocks in boxes:
>
> %%
> \version "2.19.82"
>
> \paper { line-width = #70 }
>
> \markup \override #'(box-padding . 0) \column {
>   \box \wordwrap {
> To be, or not to be, that is the question:
> Whether ’tis nobler in the mind to suffer
>   }
>   \box \wordwrap {
> The slings and arrows of outrageous fortune,
> Or to take Arms against a Sea of troubles,
> And by opposing end them: to die, to sleep
>   }
>   \box \wordwrap {
> No more; and by a sleep, to say we end
> the heart-ache, and the thousand natural shocks
> that Flesh is heir to?
>   }
> }
> %
>
> 
>
> The boxes stick together without any space between them.
> The distance between the last line of the second box and the first line of
> the third box is a bit wider, but only because of the descender ("p") in the
> last line of the second box.
>
>
> To avoid this unwanted effect (for text paragraphs, it might be desirable
> for graphic elements), you might use \markuplist instead of \markup:
>
> %
> \version "2.19.82"
>
> \paper { line-width = #70 }
>
> \markuplist {
>   \wordwrap-lines {
> To be, or not to be, that is the question:
> Whether ’tis nobler in the mind to suffer
>   }
>   \wordwrap-lines {
> The slings and arrows of outrageous fortune,
> Or to take Arms against a Sea of troubles,
> And by opposing end them: to die, to sleep
>   }
>   \wordwrap-lines {
> No more; and by a sleep, to say we end
> the heart-ache, and the thousand natural shocks
> that Flesh is heir to?
>   }
> }
> %
>
> 
>
> HTH,
> Torsten
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond fails after system upgrade.

2018-07-15 Thread Ben

On 7/15/2018 8:37 PM, Peter Terpstra wrote:

Dear people,
Upgraded my the pc to opensuse leap 15.

On many documents (not all) i get now this error:
warning:
`(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
-sOutputFile=./Etude-nr.8.pdf -c.setpdfwrite -fEtude-nr.8.ps)'
failed (256)

fatal error: failed files: "Etude-nr.8.ly"

Any advice would be great, thanks in advance!

Peter




Hi Peter,

I believe that's a Ghostscript error of some kind, along with the PDF 
output. I remember seeing a thread on something like this similar issue 
in the past, but I can't locate it now...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond fails after system upgrade.

2018-07-15 Thread Peter Terpstra


Dear people,
Upgraded my the pc to opensuse leap 15.

On many documents (not all) i get now this error:
warning:
`(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
-sOutputFile=./Etude-nr.8.pdf -c.setpdfwrite -fEtude-nr.8.ps)'
failed (256)

fatal error: failed files: "Etude-nr.8.ly"

Any advice would be great, thanks in advance!

Peter


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lining Numerals

2018-07-15 Thread Torsten Hämmerle
Yes, the font-features property may contain a list of open type font
features, why shouldn't it be possible to set "lnum", "tnum", or "pnum"
instead of "onum"?

You can even use "frac" for fractional numbers etc. if the font supports it.

All the best,
Torsten




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

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lining Numerals

2018-07-15 Thread NagyMusic
Hello!
Is it possible to set the lining numerals option when using a text font
that displays the old style numerals by default, but includes open type
features and variants?

Thank you!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hacker Warning

2018-07-15 Thread Michael Hendry
> On 13 Jul 2018, at 16:34, Karlin High  wrote:
> 
> On 7/13/2018 10:27 AM, Michael Hendry wrote:
>> I have taken steps to improve the security of my passwords.
> 
> I'd be lost without a password manager. Quite a few to choose from, I can 
> think of 1Password, Dashlane, Encryptr, KeePass, LastPass... various 
> architectures and business models among them.
> 
> Managing many hundreds of unique random passwords used from various locations 
> and devices gets pretty impractical any other way.


PS see: 
https://techcrunch.com/2018/07/12/ransomware-technique-uses-your-real-passwords-to-trick-you/

What is described here is precisely the message I received, with my password 
for a couple of sites replaced by “X”.

If the theory that this has resulted from a corporate break-in is true, it is 
odd that the email arrived on a day when I’d accessed two rarely-used sites 
which shared the same password.

Michael




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Some openLilyLib packages/modules open for testing

2018-07-15 Thread Jan-Peter Voigt
Hi Urs,

Am 13.07.2018 um 17:59 schrieb Urs Liska:
> In recent weeks (as you'll have noticed) I had the wonderful opportunity
> to work on it on a partially paid basis: I had to implement some
> functionality and was in essence paid to work on that for 7x8 hours.
> What had to be created amounted to "half" an openLilyLib package, so I
> decided to aim at the whole thing, working of course more than these
> seven full days but also achieving substantially more. But maybe most
> important is that I managed to write comprehensive manuals along the
> way. They are authored in Markdown (which is good) but so far only work
> in a Markdown=>Pandoc=>LuaLaTeX=>PDF chain (which is less good because
> it should also be possible to produce HTML sites). But they do exist,
> and if the list rules allow you will see them attached to this post.
> 

just a thought on the toolchain:
http://pandoc.org/lua-filters.html
The usage of a pandoc-lua-filter *might* help to create an html-version
including the lilypond-snippets.

Best
Jan-Peter

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I use \tag? (lyuser: message 5 of 20)

2018-07-15 Thread Simon Albrecht

On 15.07.2018 16:38, Trevor wrote:

From: lyuser.theg...@spamgourmet.com
To: lilypond-user@gnu.org
Sent: 15/07/2018 15:19:54
Subject: Re: How do I use \tag? (lyuser: message 5 of 20)


Hello Trevor


bla = -\markup { Bla }

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f ^\tag #'a \bla % (1)
}

\keepWithTag #'a \melody

\removeWithTag #'a \melody

Hopefully this works in 2.18 too.


Yes, it works :) Thank you! Could you please point me to the
documentation of the '-' that you used instead of my '^'? (Or explain it
to me)?

I would like to understand the difference, not just copy/paste it...


The three direction indicators, ^, - and _ , are explained here:
http://lilypond.org/doc/v2.19/Documentation/notation/direction-and-placement 



The main problem with your original post was not using a "^" instead 
of a "-", but not

having a direction indicator of any sort before the \markup command.


Markus, I was going to direct you to the learning manual in order to get 
a systematic grasp of the fundamental concepts, and indeed that is the 
best you can do to avoid problems like this: read it carefully, and 
probably more than once. 



However, it seems that this is a rare blind spot in the LM: the function 
of the - is explained for fingering and articulations, briefly mentioned 
for tweaks on articulations, but not mentioned for text scripts. That 
should probably get a tracker issue, shouldn’t it?


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re[2]: How do I use \tag? (lyuser: message 5 of 20)

2018-07-15 Thread Trevor

From: lyuser.theg...@spamgourmet.com
To: lilypond-user@gnu.org
Sent: 15/07/2018 15:19:54
Subject: Re: How do I use \tag? (lyuser: message 5 of 20)


Hello Trevor


bla = -\markup { Bla }

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f ^\tag #'a \bla % (1)
}

\keepWithTag #'a \melody

\removeWithTag #'a \melody

Hopefully this works in 2.18 too.


Yes, it works :) Thank you! Could you please point me to the
documentation of the '-' that you used instead of my '^'? (Or explain 
it

to me)?

I would like to understand the difference, not just copy/paste it...


The three direction indicators, ^, - and _ , are explained here:
http://lilypond.org/doc/v2.19/Documentation/notation/direction-and-placement

The main problem with your original post was not using a "^" instead of 
a "-", but not

having a direction indicator of any sort before the \markup command.

Trevor


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I use \tag? (lyuser: message 5 of 20)

2018-07-15 Thread lyuser . thegrue
Hello Trevor

> bla = -\markup { Bla }
> 
> melody = \relative c'' {
>   c4 d e f ^\bla
>   c4 d e f ^\tag #'a \bla % (1)
> }
> 
> \keepWithTag #'a \melody
> 
> \removeWithTag #'a \melody
> 
> Hopefully this works in 2.18 too.

Yes, it works :) Thank you! Could you please point me to the
documentation of the '-' that you used instead of my '^'? (Or explain it
to me)?

I would like to understand the difference, not just copy/paste it...

Thanks again,
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re[2]: How do I use \tag?

2018-07-15 Thread Trevor



Maybe slightly simpler:

\version "2.19.82"

bla = -\markup { Bla }

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f ^\tag #'a \bla % (1)
  c4 d e f ^\tag #'a \bla % (2)
  c4 d e f ^\tag #'a \bla % (3)
}

\keepWithTag #'a \melody

\removeWithTag #'a \melody

Hopefully this works in 2.18 too.

Trevor

-- Original Message --
From: "Pierre Perol-Schneider" 
To: lyuser.theg...@spamgourmet.com
Cc: "Lilypond-User Mailing List" 
Sent: 15/07/2018 13:39:55
Subject: Re: How do I use \tag?


Hi, Does this help ?

\version "2.18.2"

bla = \markup{Bla}

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f \tag #'a {<>^\bla} % (1)
  c4 d e f \tag #'a {<>^\bla} % (2)
  c4 d e f \tag #'a {<>^\bla} % (3)
}

\keepWithTag #'a \melody

\removeWithTag #'a \melody

Cheers,
Pierre

2018-07-15 14:29 GMT+02:00  :

Hello!

Here on the list you showed me that I can better re-use my 
lilypond-code
by using \tag s. Wonderful :) It's only - I don't understand how. 
given

this very simple piece of code:

\version "2.18.2"

bla = \markup{Bla}

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f \tag #'a {^\bla} % (1)
  c4 d e f \tag #'a ^{\bla} % (2)
  c4 d e f ^\tag #'a {\bla} % (3)
}

\score {
\new Staff { \melody }
}




I get these errors:

Processing `/home/markus/chor/lilypond/tags.ly '
Parsing...
/home/markus/chor/lilypond/tags.ly:7:22: error: syntax error, 
unexpected '^'

  c4 d e f \tag #'a {
 ^\bla} % (1)
/home/markus/chor/lilypond/tags.ly:7:23: warning: Ignoring non-music
expression
  c4 d e f \tag #'a {^
  \bla} % (1)
/home/markus/chor/lilypond/tags.ly:8:22: error: syntax error, 
unexpected '{'

  c4 d e f \tag #'a ^
 {\bla} % (2)
/home/markus/chor/lilypond/tags.ly:8:23: warning: Ignoring non-music
expression
  c4 d e f \tag #'a ^{
  \bla} % (2)
/home/markus/chor/lilypond/tags.ly:9:23: warning: Ignoring non-music
expression
  c4 d e f ^\tag #'a {
  \bla} % (3)
/home/markus/chor/lilypond/tags.ly:9:13: error: post-event expected
  c4 d e f ^
\tag #'a {\bla} % (3)
/home/markus/chor/lilypond/tags.ly:13:5: error: errors found, ignoring
music expression

\new Staff { \melody }
fatal error: failed files: "/home/markus/chor/lilypond/tags.ly 
"



As you see, I'm more or less guessing around. I somehow expected (1) 
to
work and really can't see what to do. Could you give me a hint, 
please?


--
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user 






___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How do I use \tag?

2018-07-15 Thread Pierre Perol-Schneider
Hi, Does this help ?

\version "2.18.2"

bla = \markup{Bla}

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f \tag #'a {<>^\bla} % (1)
  c4 d e f \tag #'a {<>^\bla} % (2)
  c4 d e f \tag #'a {<>^\bla} % (3)
}

\keepWithTag #'a \melody

\removeWithTag #'a \melody

Cheers,
Pierre

2018-07-15 14:29 GMT+02:00 :

> Hello!
>
> Here on the list you showed me that I can better re-use my lilypond-code
> by using \tag s. Wonderful :) It's only - I don't understand how. given
> this very simple piece of code:
>
> \version "2.18.2"
>
> bla = \markup{Bla}
>
> melody = \relative c'' {
>   c4 d e f ^\bla
>   c4 d e f \tag #'a {^\bla} % (1)
>   c4 d e f \tag #'a ^{\bla} % (2)
>   c4 d e f ^\tag #'a {\bla} % (3)
> }
>
> \score {
> \new Staff { \melody }
> }
>
>
>
>
> I get these errors:
>
> Processing `/home/markus/chor/lilypond/tags.ly'
> Parsing...
> /home/markus/chor/lilypond/tags.ly:7:22: error: syntax error, unexpected
> '^'
>   c4 d e f \tag #'a {
>  ^\bla} % (1)
> /home/markus/chor/lilypond/tags.ly:7:23: warning: Ignoring non-music
> expression
>   c4 d e f \tag #'a {^
>   \bla} % (1)
> /home/markus/chor/lilypond/tags.ly:8:22: error: syntax error, unexpected
> '{'
>   c4 d e f \tag #'a ^
>  {\bla} % (2)
> /home/markus/chor/lilypond/tags.ly:8:23: warning: Ignoring non-music
> expression
>   c4 d e f \tag #'a ^{
>   \bla} % (2)
> /home/markus/chor/lilypond/tags.ly:9:23: warning: Ignoring non-music
> expression
>   c4 d e f ^\tag #'a {
>   \bla} % (3)
> /home/markus/chor/lilypond/tags.ly:9:13: error: post-event expected
>   c4 d e f ^
> \tag #'a {\bla} % (3)
> /home/markus/chor/lilypond/tags.ly:13:5: error: errors found, ignoring
> music expression
>
> \new Staff { \melody }
> fatal error: failed files: "/home/markus/chor/lilypond/tags.ly"
>
>
> As you see, I'm more or less guessing around. I somehow expected (1) to
> work and really can't see what to do. Could you give me a hint, please?
>
> --
> Markus Grunwald
> https://www.the-grue.de/~markus/markus_grunwald.gpg
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How do I use \tag?

2018-07-15 Thread lyuser . thegrue
Hello!

Here on the list you showed me that I can better re-use my lilypond-code
by using \tag s. Wonderful :) It's only - I don't understand how. given
this very simple piece of code:

\version "2.18.2"

bla = \markup{Bla}

melody = \relative c'' {
  c4 d e f ^\bla
  c4 d e f \tag #'a {^\bla} % (1)
  c4 d e f \tag #'a ^{\bla} % (2)
  c4 d e f ^\tag #'a {\bla} % (3)
}

\score {
\new Staff { \melody }
}




I get these errors:

Processing `/home/markus/chor/lilypond/tags.ly'
Parsing...
/home/markus/chor/lilypond/tags.ly:7:22: error: syntax error, unexpected '^'
  c4 d e f \tag #'a {
 ^\bla} % (1)
/home/markus/chor/lilypond/tags.ly:7:23: warning: Ignoring non-music
expression
  c4 d e f \tag #'a {^
  \bla} % (1)
/home/markus/chor/lilypond/tags.ly:8:22: error: syntax error, unexpected '{'
  c4 d e f \tag #'a ^
 {\bla} % (2)
/home/markus/chor/lilypond/tags.ly:8:23: warning: Ignoring non-music
expression
  c4 d e f \tag #'a ^{
  \bla} % (2)
/home/markus/chor/lilypond/tags.ly:9:23: warning: Ignoring non-music
expression
  c4 d e f ^\tag #'a {
  \bla} % (3)
/home/markus/chor/lilypond/tags.ly:9:13: error: post-event expected
  c4 d e f ^
\tag #'a {\bla} % (3)
/home/markus/chor/lilypond/tags.ly:13:5: error: errors found, ignoring
music expression

\new Staff { \melody }
fatal error: failed files: "/home/markus/chor/lilypond/tags.ly"


As you see, I'm more or less guessing around. I somehow expected (1) to
work and really can't see what to do. Could you give me a hint, please?

-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user