[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: strange problem of variable definition and more error messages
From: Mats Bengtsson <mats.bengtsson () ee ! kth ! se>
Date: 2008-04-28 8:59:18
Message-ID: 481591E6.8030806 () ee ! kth ! se
[Download RAW message or body]
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
> lilypond-user@gnu.org
> 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: mats.bengtsson@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=============================================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic