Am Dienstag, 24. Juni 2008 schrieben Sie: > The following crashes my copy of Lilypond: > > \markuplines \column-lines \fontsize #-2
That \fontsize is the problem. If you remove it, everything works. The problem is that that command has the signature \fontsize #size markup The following list of lines is NOT a markup (but a list of markups!), thus the error. I'm not sure what is the correct way to change the font size of a markup list, but writing your own markup-list function (fontsize-lines, code taken from fontsize and adjusted to markup-lines) seems to do the trick.See the attached file. Maybe Nicolas can shed some more light on this issues? Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
#(define-markup-list-command (fontsize-lines layout props increment args) (number? markup-list?) "Add @var{increment} to the font-size for markup lines. Adjust baseline skip accordingly." (let ((entries (list (cons 'baseline-skip (* 2 (magstep increment))) (cons 'word-space (* 1 (magstep increment))) (cons 'font-size increment)))) (interpret-markup-list layout (cons entries props) args))) \markuplines \fontsize-lines #-2 { \line { [TANTALUS and PELOPS are whispering loudly.] } \line { \italic { "PELOPS: " } Father, I must speak with you in confidence. } \line { \italic { "TANTALUS: " } Yes. } \wordwrap-lines { Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text Long text ends here } \line { \italic { "TANTALUS: " } Wow… that sux. } }
fontsize_markuplines.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user