LEFT | RIGHT |
1 ;;;; This file is part of LilyPond, the GNU music typesetter. | 1 ;;;; This file is part of LilyPond, the GNU music typesetter. |
2 ;;;; | 2 ;;;; |
3 ;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> | 3 ;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> |
4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 ;;;; | 5 ;;;; |
6 ;;;; LilyPond is free software: you can redistribute it and/or modify | 6 ;;;; LilyPond is free software: you can redistribute it and/or modify |
7 ;;;; it under the terms of the GNU General Public License as published by | 7 ;;;; it under the terms of the GNU General Public License as published by |
8 ;;;; the Free Software Foundation, either version 3 of the License, or | 8 ;;;; the Free Software Foundation, either version 3 of the License, or |
9 ;;;; (at your option) any later version. | 9 ;;;; (at your option) any later version. |
10 ;;;; | 10 ;;;; |
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 | 868 |
869 (let ((text (ly:grob-property grob 'text))) | 869 (let ((text (ly:grob-property grob 'text))) |
870 | 870 |
871 (grob-interpret-markup grob (if (string? text) | 871 (grob-interpret-markup grob (if (string? text) |
872 (make-tied-lyric-markup text) | 872 (make-tied-lyric-markup text) |
873 text)))) | 873 text)))) |
874 | 874 |
875 (define-public ((grob::calc-property-by-copy prop) grob) | 875 (define-public ((grob::calc-property-by-copy prop) grob) |
876 (ly:event-property (event-cause grob) prop)) | 876 (ly:event-property (event-cause grob) prop)) |
877 | 877 |
| 878 (define-public ((grob::calc-property-by-grob-copy prop) grob) |
| 879 (let ((cause (ly:grob-property grob 'cause))) |
| 880 (if (grob::is-live? cause) |
| 881 (ly:grob-property cause prop) |
| 882 '()))) |
| 883 |
878 | 884 |
879 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 885 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
880 ;; fret boards | 886 ;; fret boards |
881 | 887 |
882 (define-public (fret-board::calc-stencil grob) | 888 (define-public (fret-board::calc-stencil grob) |
883 (grob-interpret-markup | 889 (grob-interpret-markup |
884 grob | 890 grob |
885 (make-fret-diagram-verbose-markup | 891 (make-fret-diagram-verbose-markup |
886 (ly:grob-property grob 'dot-placement-list)))) | 892 (ly:grob-property grob 'dot-placement-list)))) |
887 | 893 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 (list))))) | 1042 (list))))) |
1037 | 1043 |
1038 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1044 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1039 ;; laissez-vibrer tie | 1045 ;; laissez-vibrer tie |
1040 ;; | 1046 ;; |
1041 ;; needed so we can make laissez-vibrer a pure print | 1047 ;; needed so we can make laissez-vibrer a pure print |
1042 ;; | 1048 ;; |
1043 (define-public (laissez-vibrer::print grob) | 1049 (define-public (laissez-vibrer::print grob) |
1044 (ly:tie::print grob)) | 1050 (ly:tie::print grob)) |
1045 | 1051 |
LEFT | RIGHT |