Page MenuHomePhabricator

Score: Cannot use \italic and other \markup commands in \header
Open, Needs TriagePublic

Description

See this page, where \italic, \hspace and \super are unknown.

It's three valid formatting markups according the LilyPond documentation.

Event Timeline

This appears to be a limitation of LilyPond's safe mode (that should be fixed upstream):

root@55a4870d30ad:/# lilypond --ps --loglevel=ERROR wawikisource.ly 
root@55a4870d30ad:/# echo $?
0
root@55a4870d30ad:/# lilypond --ps -dsafe --loglevel=ERROR wawikisource.ly 
wawikisource.ly:5:5: error: unknown escaped string: `\italic'
    
    \italic {Musique et paroles de N.{
wawikisource.ly:6:7: error: unknown escaped string: `\hspace'
      
      \hspace #-1.5 \super as
wawikisource.ly:6:15: error: not a markup
      \hspace 
              #-1.5 \super as
wawikisource.ly:6:21: error: unknown escaped string: `\super'
      \hspace #-1.5 
                    \super as
fatal error: failed files: "wawikisource.ly"
Legoktm renamed this task from Some escaped strings are not recognized in Score to Score: Cannot use \italic and other \markup commands in \header.Aug 24 2021, 8:08 PM
Legoktm moved this task from Backlog to Reported Upstream on the Upstream board.