retitle 562727 problem with gershayim (״) tag 562727 unreproducible thanks
On Sun, 27 Dec 2009, David Baron wrote: > Gershayim it is. So the mailer translated it to ". An actual > quotation inside Lilypond strings will of course mess up the string > delimitation and will usually crash it. \" can be used instead. > > Gershayim can be used as a single character and also as a diacritic and that > might be the problem (I think the keystrokes might be different, however). > Possibly another choice for the lone character would be appropriate or just > \" > (I have suggested that nted export such an inside quote this way since not > doing so crashes!). > > I enclose an nted file, that program's PDF output, and its Lilypond export > and > Lilypond's PDF output (-1 in filenames). The nted is correct (though Lilypond > would format the staves differently). The lilypond exported by nted is wrong. You've got elements which are not valid UTF8 in there, and the places where you want to use gershayim, you're not actually using it. The attached example (which isn't exactly correct, but I don't read/speak hebrew, so I can't be bothered to fix it) at least resolves these problems, and properly uses gershayim. Don Armstrong -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk http://www.donarmstrong.com http://rzlab.ucr.edu
\header { title = \markup \center-align {"פתחו לי"} subtitle = \markup \center-align {"תהלים קי"ח"} composer = "דוד הלוי" copyright = "© 2009 by David Baron טבת תש"ע" } #(set-default-paper-size "a4") StaffA = \new Staff \relative c' {\clef treble\key f \major \time 4/4 \repeat volta 2 { d4 e f2 | % 2 r8 a ~ a bes a ( g ) f4 | % 3 f g a r4 | % 4 d, e f2 | % 5 r8 a ~ a bes a ( g ) f4 } \alternative { { a g f r4 } { f g f r4 }} a g d r4 ^\markup {fine } \repeat volta 2 { | % 9 a' g8 a4 ( bes8 c4 ) | % 10 a g8 a4 ( bes8 c ) r8 | % 11 g4 g g2 | % 12 r4 f8 g4 a8 bes4 | % 13 a g8 a4 ( bes8 c4 ) | % 14 a g8 a4 ( bes8 c r8 ) | % 15 g4 g bes2 | % 16 r8 bes a g f4 r4 ^\markup {d.c al fine } } } \addlyrics { "פִּת" "חוֹ־" "לִי" " " "רֵי־" "צֶ" "דֶק" "אָ" "בֹא־" "בָם" "פִּת" "חוֹ־" "לִי" " ""רֵי־" "צֶ" "-" "דֶק" "אוֹ" "דֶה" "ק״ה" "אָ" "בֹא־" "בָם" "אוֹ" "דֶה" "ק״ה" "זֶה־" "הַ" "שַּׁ" "-" "עַר" "לַ" "הַ" "שֵׁם" "-" "-" "צַ" "דִּי" "קִיפ" "יָ" "בֹא" "וּ" "בוֹ" "זֶה־" "הַ" "שַּׁ" "-" "עַר" "לַ" "הַ" "שֵׁם" "-" "-" "צַ" "דִּי" "קִיפ" "יָ" "בֹא" "וּ" "בוֹ" } StaffAChords = \new ChordNames { \chordmode { \repeat volta 2 { d:m s s2 | % 2 a8:7 s s s s s d4:m | % 3 s c f s | % 4 d:m s s2 | % 5 a8:7 s s s s s s4 } \alternative { { d:m a:7 d:m s } { d:m s s s }} a:7 s d:m s \repeat volta 2 { | % 9 f s8 s4 s8 s4 | % 10 s s8 s4 s8 s s | % 11 c4 s s2 | % 12 s4 s8 s4 c8:7 s4 | % 13 f s8 s4 s8 s4 | % 14 s s8 s4 s8 s s | % 15 c4 s s2 | % 16 c8:7 s s s f4 s } } } \score { << << \StaffAChords >> \StaffA >> \layout { } }