lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange problem of variable definition and more error messages


From: Mats Bengtsson
Subject: Re: strange problem of variable definition and more error messages
Date: Mon, 28 Apr 2008 10:59:18 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



hhpmusic wrote:

Hi,
I just finished typesetting one of my very early piece. I want to ease the writing when every time using Chinese font ile "simfang.ttf", so I put an override font-name line in "mydefs.ly". I have defined lots of things used very often in this file. But the log file says this override is wrong. When I used it from time to time in my input file, it's correct Please tell me how to do that?

Unfortunately, you cannot define a macro for the markup command in this way. Since the property setting should apply to the following markup, the macro has to
be implemented as a new markup command, using the programming interface:
#(define-markup-command (simfang layout props arg) (markup?)
(interpret-markup layout (prepend-alist-chain 'font-name "仿宋_GB2312" props) arg))


BTW, the log file gives a lot of warnings of "cannot find start of (de)crescendo", but all of my \cresc and \dim has corresponding \! signs. There is also a programming error for midi output, which confused me very much! Why?

I haven't had the time to investigate why this happens. I just noted that you get the same warnings also if you include the dynamics in a normal Voice context, so it's not the Dynamics context that's the culprit. Unfortunately, warnings like "cannot find start of (de)crescendo" usually
mean that the corresponding dynamics are lost in the output.

/Mats

SINCERELY
Haipeng



------------------------------------------------------------------------
免费鸡翅比萨天天抽 <http://popme.163.com/link/004062_0424_7216.html>
------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]