X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Foutput-tex.scm;h=9068f5b9373df6a743c9aa37b707a91223d8c098;hb=9f3572d98bb948c9689cd1f75401a029451fa001;hp=3a3e023ebe77e302b0c65341a7763cc7ce91cb65;hpb=04265f11d1f21416ccebd2dcaa1d903dc781b36e;p=lilypond.git diff --git a/scm/output-tex.scm b/scm/output-tex.scm index 3a3e023ebe..9068f5b937 100644 --- a/scm/output-tex.scm +++ b/scm/output-tex.scm @@ -3,7 +3,7 @@ ;;;; source file of the GNU LilyPond music typesetter ;;;; ;;;; (c) 1998--2006 Jan Nieuwenhuizen -;;;; Han-Wen Nienhuys +;;;; Han-Wen Nienhuys ;; The public interface is tight. @@ -98,8 +98,8 @@ (ly:warning (_ "can't find ~a in ~a" name font)) "")))) -(define (dashed-line thick on off dx dy phase) - (embedded-ps (list 'dashed-line thick on off dx dy phase))) +(define (dashed-line thick on off dx dy) + (embedded-ps (list 'dashed-line thick on off dx dy))) (define (zigzag-line centre? zzw zzh thick dx dy) (embedded-ps (list 'zigzag-line centre? zzw zzh thick dx dy))) @@ -173,8 +173,8 @@ (if (procedure? point-and-click) (let* ((cause (ly:grob-property grob 'cause)) - (music-origin (if (ly:stream-event? cause) - (ly:event-property cause 'origin))) + (music-origin (if (ly:music? cause) + (ly:music-property cause 'origin))) (location (if (ly:input-location? music-origin) (ly:input-file-line-column music-origin)))) (if (pair? location)