File: NumericTimeSig.scm

package info (click to toggle)
denemo 2.6.49-0.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 66,916 kB
  • sloc: ansic: 94,587; lisp: 38,713; xml: 22,675; python: 1,930; sh: 1,239; makefile: 642; yacc: 288; sed: 93
file content (15 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;;NumericTimeSig
(let ((tag "NumericTimeSig"))
	(if (d-Directive-timesig? tag)
		(d-DirectiveDelete-timesig tag)
		(begin
		  (d-DirectivePut-timesig-prefix tag "\\numericTimeSignature\n")
		  (d-DirectivePut-timesig-graphic tag "\nN\nDenemo\n12")
		  (d-DirectivePut-timesig-gy tag 0)
		  (d-DirectivePut-timesig-minpixels tag 30)))
		  
	(if (d-Directive-timesig? tag)
		(if (Timesignature?)
			(d-WarningDialog (_ "Time signatures will typeset as numeric from this moment in this movement"))
			(d-WarningDialog (_ "Time signatures will typeset as numeric in this movement")))
		(d-WarningDialog (_ "Removed numeric time signatures directive"))))