|
From: | Jacques Menu Muzhic |
Subject: | Re: XML import (WAS: A premiere by Daahoud Salim, typeset with LilyPond) |
Date: | Tue, 15 Aug 2017 20:25:43 +0200 |
Hello Francisco,
The same holds for \pointAndClickOff. I’ve written a bash/awk script to offset measures numbers, leading to: menu@macbookprojm > SubstractNFromLPEndOfLineBarNumbers -4 d2 d8 [ d8 e8 fis8 ] | % 2 g4. fis8 g4. a8 | % 3 bes1 | % 4 d,4. c8 d4. e8 | % 5 f2. r16 f16 [ es16 d16 ] \myBreak | % 6 c4. bes8 c4. d8 | % 7 es1 | % 8 g,4. fis8 g4. a8 | % 9 bes4. a8 bes4. c8 | \barNumberCheck #10 d2 d8 [ d8 e8 fis8 ] | % 6 g4. fis8 g4. a8 | % 7 bes1 | % 8 d,4. c8 d4. e8 | % 9 f2. r16 f16 [ es16 d16 ] \myBreak | % 10 c4. bes8 c4. d8 | % 11 es1 | % 12 g,4. fis8 g4. a8 | % 13 bes4. a8 bes4. c8 | \barNumberCheck # 14 menu@macbookprojm > Copy/paste the LP snippet, type some carriage returns followed by Ctrl-d, and copy the result back into your LP code. I guess Frescobaldi could provide such a tool to act upon the current text selection. Do you mean they’re attached to a rest? I get that frequently after scanning with PhotoScore Ultimate and exporting to MusicXML. Or have you experienced a thoroughly different phenomenon? The numerous decimal digits could easily be limited to 2 without a great loss IMHO. The various settings in \paper seem to come from the MusicXML data itself, and having them there makes it easy for the user to adapt them to what he needs. JM |
[Prev in Thread] | Current Thread | [Next in Thread] |