Richard Robinson wrote:

>On Wed, Aug 13, 2003 at 12:25:19AM -0400, Tom Keays wrote:
>>
>> The system Phil proposes below wouldn't work at all for me.  That is to say,
>> I know I wouldn't use it even if he went to the trouble to implement it.
>>
>> > I think, therefore, that I can only support them if they are placed
>> > immediately adjacent to the tune to which they apply - either immediately
>> > before the X:, or at the end of the tune before the blank line which
>> > indicates its end.
>
>Umm. Somebody's already mentioned the TuneFinder here, haven't they ?
>And it's a point - An app that picks selections of tunes out of an abc
>file would treat the 2 cases differently, no ?
>
>%%newpage
>X:1
>T:What ?
>K:C
>aaa aaa|]
>
>and the parser kicks in at the X: and the tune is extracted starting
>with the X:, the %%newpage isn't part of the tune. But
>
>X:1
>T:What ?
>K:C
>aaa aaa|]
>%%newpage
>
>and the parser stops on the blank line, the %%newpage is extracted as part
>of the tune. I'm not sure this is desirable behaviour ?
>
>It runs into a much more general question, actually - if you re-order
>tunes in an ABc file, how do you handle any interposed non-ABC text,
>where should it go ? I don't think there's a clean answer to this.

I think you are right.  BarFly doesn't re-order the original file though,
it just pulls the tunes out for printing in the specified order, ignoring
the interstitial text.  You can always read the text, and if you want you
can print the contents of the file as text.  Since BarFly's editor can
handle embedded pictures, I could also at some point add a command which
would replace the abc tunes with pictures, leaving the interstitial text
between them.  Printing that would be a nightmare though.

On the whole though I think that forced pagebreaks and other such printing
options are better handled outside of the abc in my case.  Perhaps I could
add a symbol to the index to indicate that this tune should start a new page.
If the index was sorted differently that tune would still carry the mark,
so it would be obvious to the user.

Phil Taylor


To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to