Alasdair McAndrew wrote:
... I have first and second time endings, after
which I need to start a repeat. But what is the correct syntax for this?
Repeats are signaled like this:
A B c d :|
^^\(repeat everything so far)
D E F G |: A B c d | c B A G :| F E D C |]
^^ ^^\_(repeat from '|:' to this point)
A B c d | c B A G :: F E D C :|
means
A B c d | c B A G |A B c d | c B A G | F E D C | F E D C |
A B c d |: c B A G :: F E D C :|
means
A B c d | c B A G | c B A G | F E D C | F E D C |
The source of confusion seems to be the use of [ and ] to mean a thick
bar
when used with | meaning a thin bar ('[|' and '|]' indicating structure
and
alternative 1st/2nd/... repeat boxes after a bar (|[1, |[2, etc.).
When it comes to signaling repeats, ABC doesn't care to depict how they
are displayed, i.e., it doesn't mimic printed music that closely. Only
the points where the repetition starts and/or ends are marked as needed
and the typesetting program does the rest. The repeat signs are:
Sign Meaning
|: you will repeat from this point on when you meet
repeat-back sign (':|' or '::')
:| repeat from the last '|:' or start over if
there is no last '|:'
:: repeat from the last '|:' or start over if
there is no last '|:' and come back to this
point when you see a repeat-back (':|' or '::')
You would profit by reading ABC's specifications (v.1.6 and the draft,
both
available at the ABC Homepage http://www.gre.ac.uk/~c.walshaw/abc/)
and
abcm2ps's documentation. If you installed one of Guido Gonzato's RPMs,
you should find it in your /usr/share/doc/abcm2ps-version directory
(including the draft). If for some reason you don't have the doc files,
it
is worthwhile to download the package again just to get them. They
explain
how to tweak your sources so that abcm2ps does things that ABC alone
can't.
Hope this clarifies.
Happy 2003!
Paulo
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html