[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LilyPond strings and \markup
From: |
Mark Polesky |
Subject: |
LilyPond strings and \markup |
Date: |
Sun, 16 Aug 2009 14:05:43 -0700 (PDT) |
\version "2.13.4"
%%%%%%%%%%%%
% QUESTION 1
% "quoted string" is STRING
strA = "quoted string"
% #"hash-quoted string" is SCM_TOKEN
strB = #"hash-quoted string"
% these are both 'unexpected STRING_IDENTIFIER's:
% \strA \strB
% Why isn't \strB an 'unexpected SCM_IDENTIFIER'?
%%%%%%%%%%%%
% QUESTION 2
% A valid LilyPond unquoted 'STRING':
% 1) must be entirely alphabetic, and
% 2) cannot be interpreted as a number, pitch, rest, or operator.
% So, without quotes, these are all invalid LilyPond 'STRING's:
% 3 f r + big-pr0bl3m!
% but \markup accepts all of these seamlessly:
\markup { 3 f r + n0-pr0bl3m! }
% It's as if, behind the scenes, the parser silently adds quotes.
% So how exactly does that happen? And does the parser read
% them as LilyPond 'STRING's or as a Scheme strings?
% Thanks!
% - Mark
- LilyPond strings and \markup,
Mark Polesky <=
- Re: LilyPond strings and \markup, Patrick McCarty, 2009/08/16
- Re: LilyPond strings and \markup, Joe Neeman, 2009/08/16
- Re: LilyPond strings and \markup, Carl Sorensen, 2009/08/17
- Re: LilyPond strings and \markup, Mark Polesky, 2009/08/17
- Re: LilyPond strings and \markup, Trevor Daniels, 2009/08/17
- Re: LilyPond strings and \markup, Joe Neeman, 2009/08/17
- Re: LilyPond strings and \markup, Graham Percival, 2009/08/17
- Re: LilyPond strings and \markup, Neil Puttock, 2009/08/17
- Re: LilyPond strings and \markup, Graham Percival, 2009/08/17