Author: jeanluc.thiebaut
Description:
<score> \version "2.14" { \override NoteHead #'color = #red g'4 } </score>
<score> { \override NoteHead #'color = #'(1 0 0) %red g'4 } </score>
Version: unspecified
Severity: normal
OS: Linux
Platform: PC
• bzimport | |
Dec 16 2013, 9:34 AM |
F9513790: kji70sq2.png | |
Sep 13 2017, 11:35 PM |
Author: jeanluc.thiebaut
Description:
<score> \version "2.14" { \override NoteHead #'color = #red g'4 } </score>
<score> { \override NoteHead #'color = #'(1 0 0) %red g'4 } </score>
Version: unspecified
Severity: normal
OS: Linux
Platform: PC
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add option to use `-dsafe` argument in Lilypond command | mediawiki/extensions/Score | master | +10 -3 |
rESCR extension-Score | |||
rESCR8db2ac5cf0a9 Run lilypond from inside firejail |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T60526 Score: Colors names (e.g. #red) are not recognized | |||
Resolved | Ebe123 | T171372 Find alternative to safe mode in Lilypond |
jeanluc.thiebaut wrote:
Sorry unexpected return save it before ending...
I've tried this with fhe EN and FR wikisource sandbox,
OS Linux ; Firefox 24
In the first sequence, "#red" is unknown
error reported :
.../file.ly:14:32: error: GUILE signaled an error for the expression beginning here
\override NoteHead #'color = # red
Interpreting music...
warning: type check for color' failed; value #<unspecified>' must be of type `color'
It can be circumvented via the second sequence
( \override NoteHead #'color = #'(1 0 0) )
This is valid for any color.
Change 370306 had a related patch set uploaded (by Ebe123; owner: Ebe123):
[mediawiki/extensions/Score@master] Run lilypond from inside firejail
Change 370306 merged by jenkins-bot:
[mediawiki/extensions/Score@master] Add option to use -dsafe argument in Lilypond command
Resolved with safe mode deactivated.
<score> { \override NoteHead #'color = #red g'4 } </score>
I submitted the merge request https://gitlab.com/lilypond/lilypond/-/merge_requests/285 for this.