abc2svg
Check-in [02748e182d]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:core: fix: don't duplicate %%beginxxx when V: multi-voice Reported by Timm Reasbeck.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 02748e182d970e67b88fe8b06dffcd89ddb97082
User & Date: jef 2025-03-15 15:39:52.521
Context
2025-03-19
12:25
New release v1.22.26 ... (check-in: e0513b7b46 user: jef tags: trunk, v1.22.26)
2025-03-15
15:39
core: fix: don't duplicate %%beginxxx when V: multi-voice ... (check-in: 02748e182d user: jef tags: trunk)
2025-03-10
14:01
core: fix: crash when P: and no %%partname since commit [da1c73f48c] ... (check-in: b9e9f1a9b6 user: jef tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to core/tune.js.
1249
1250
1251
1252
1253
1254
1255


1256
1257
1258
1259
1260
1261
1262
// treat the %%beginxxx / %%endxxx sequences
// (possible hook)
Abc.prototype.do_begin_end = function(type,
			opt,
			text) {
	var i, j, action, s



	switch (type) {
	case "js":
		js_inject(text)
		break
	case "ml":
		if (cfmt.pageheight) {
			syntax(1, "Cannot have %%beginml with %%pageheight")







>
>







1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
// treat the %%beginxxx / %%endxxx sequences
// (possible hook)
Abc.prototype.do_begin_end = function(type,
			opt,
			text) {
	var i, j, action, s

	if (curvoice && curvoice.clone)
		do_cloning()
	switch (type) {
	case "js":
		js_inject(text)
		break
	case "ml":
		if (cfmt.pageheight) {
			syntax(1, "Cannot have %%beginml with %%pageheight")