[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Special character in text problem
From: |
Ralph Palmer |
Subject: |
Special character in text problem |
Date: |
Mon, 30 May 2011 08:55:43 -0400 |
Greetings, LilyPonders -
I'm working on a transcription, and I'm running into a text problem. I need to include a couple of paragraphs, including a quotation, and the name Bartok is included. I cannot figure out how to include the accent on the "o". Here's what I've tried (I'm attaching a PDF of the result, as well as the .ly file):
%%%%%%%%% Begin Snippet %%%%%%%%%
\version "2.12.3"
test =
\relative c' {
a a a a
}
\paper {
ragged-last-bottom = ##t
ragged-right = ##f
}
\book {
%%%%%%%% \markuplines with justified-lines and no quotes no spec char %%%%%%%%
\markuplines {
\justified-lines {
Whatever you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough.
}
}
\score {
\test
}
%%%%%%%% \markup-lines with \justified-lines and quotes no spec char %%%%%%%%
%%%% does not wrap %%%%
\markuplines {
\justified-lines {
"Whatever you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough."
}
}
\score {
\test
}
%%%%%% DOES NOT WORK %%%%%%%
%{
%%%%%%%% \markup-lines with \justified-lines and no quotes spec char (no sep)%%
\markuplines {
\justified-lines {
Whatever Bart\ ##x00F3k you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough.
}
}
%}
%%%%% DOES NOT WORK %%%%%
%{
%%%% \markup-lines with \justified-lines and no quotes spec char ( sep)%%
\markuplines {
\justified-lines {
Whatever Bart \ ##x00F3 k you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough.
}
}
%}
%%%% \markup \justify-string quotes no spec char %%%%
\markup {
\justify-string #"Whatever you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough."
}
\score {
\test
}
%%%% \markup \justify-string quotes spec char %%%%
%%%% spaces around \char ##x00F3 seem to make no difference. %%%
%%%% spec char is printed, but with spaces around it, and wordwrap stops %%%
\markup {
\justify-string #"Whatever Bart" \char ##x00F3 "k you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough."
}
\score {
\test
}
%%%% \markup \wordwrap-string quotes spec char %%%%
%%%% spaces around \char ##x00F3 seem to make no difference. %%%
%%%% spec char is printed, but with spaces around it, and wordwrap stops %%%
\markup {
\wordwrap-string #"Whatever Bart" \char ##x00F3 "k you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough."
}
\score {
\test
}
%%%% \markup \fill-line \justify-string with quotes spec char %%%%
\markup {
\fill-line{
\override #'(line-width . 60)
\justify-string #"Whatever Bart" \char ##x00F3 "k you want to do will probably make sense. What if we do something like this? I think we need even more text. I hope this will be enough."
}
}
\score {
\test
}
}
%%%%%%% End Snippet %%%%%
Can anyone suggest how I can get the text to wrap, include the special character, and *not* have spaces preceding and following the special character? I've tried all the searches I could think of in the documentation, the Snippet Repository, and the list archives.
I appreciate your time and attention,
Ralph
--
Ralph Palmer
Montague City, MA
USA
address@hidden
test-2.pdf
Description: Adobe PDF document
test-2.ly
Description: Binary data
- Special character in text problem,
Ralph Palmer <=