abc-include fails
The directives %%abc-include and I:abc-include seem to be implemented (in abc2xml.py), but fail badly (for me, at least). Any used of these directives causes havoc with the parser. For example:
stdin:33:16: error: Bad length
33 "_Rubato Intro"F2 {c}F3 FAB | B/c3/2 {e}c3 FAc | {Bc}B2 {c}B3 FAB | F8 |
^
stdin:33:22: error: Bad length
33 "_Rubato Intro"F2 {c}F3 FAB | B/c3/2 {e}c3 FAc | {Bc}B2 {c}B3 FAB | F8 |
^
stdin:33:31: error: Bad length divisor
33 "_Rubato Intro"F2 {c}F3 FAB | B/c3/2 {e}c3 FAc | {Bc}B2 {c}B3 FAB | F8 |
^
Also, a much more minor issue: The file location of the included .ABH file is not relative to the source file that issues the abc-include directive - I have to specify fully qualified path names.
Was this directive intended to be implemented? (For me, this is a key feature, since all my .abc files refer to a common .ABH that specifies layout, so I can accommodate many different output formats).
abc2xml is integrated from the tool developped by Wim Vree: https://wim.vree.org/svgParse/abc2xml.html Last version was recently added in the source. the only known limitation is %%abc-include. Allows you to include another .abc file. The included file, however, is not further checked for %%abc-include lines.
Can you provide an example?