Menu

#2093 Doc: NR alternativeNumberingStyle (fix issue 2059) needs to be documented

Verified
nobody
None
Documentation
2012-01-17
2011-12-10
Anonymous
No

Originally created by: *anonymous

Originally created by: colingh...@gmail.com
Originally owned by: pkx1...@gmail.com

A new feature "Bar numbering of alternatives" was added by the fix for issue 2059:

https://code.google.com/p/lilypond/issues/detail?id=2059

Xavier Scheuer posted, requesting that this new feature be documented.

http://article.gmane.org/gmane.comp.gnu.lilypond.bugs/30730

Copy of Xavier's posting follows:

On 7 December 2011 23:44, Carl Sorensen <c_sorensen <at> byu.edu> wrote:
>
> This should become a new issue, type Documentation.
>
> Thanks,

The use of this

  \set Score.alternativeNumberingStyle = #'number

or

  \set Score.alternativeNumberingStyle = #'numbers-with-letters

(from the fix of issue 2059 "Bar numbering of alternatives"
https://code.google.com/p/lilypond/issues/detail?id=2059
http://codereview.appspot.com/5440049 )

deserves an explanation (as a snippet) in the notation reference,
NR 1.4.1 Long repeats  and maybe a cross-reference in  NR 1.2.5 Bars >
Bar numbers

and this new feature deserves an entry in 'Documentation/changes.tely'
IMHO

Thank you!

Cheers,
Xavier

Related

Issues: #2059
Issues: #2121

Discussion

  • Google Importer

    Google Importer - 2011-12-18

    Originally posted by: pkx1...@gmail.com

    Can someone enlighten me what \set Score.alternativeNumberingStyle = #'number does?

    I've tried the two options on some scores I have and can see what \set Score.alternativeNumberingStyle = #'numbers-with-letters does, but not #'number.

    James

     
  • Google Importer

    Google Importer - 2011-12-18

    Originally posted by: pkx1...@gmail.com

    Issue 2121 has been merged into this issue.

     
  • Google Importer

    Google Importer - 2011-12-29

    Originally posted by: pkx1...@gmail.com

    Xavier, see comment #1 above. I cannot see what

    \set Score.alternativeNumberingStyle = #'number

    does over the default (or is this the default?) as I can see what
    \set Score.alternativeNumberingStyle = #'numbers-with-letters does

    So I am stuck knowing if I need to add just the #'numbers-with-letters does or both and if both what does #'numbers do?

     
  • Google Importer

    Google Importer - 2011-12-30

    Originally posted by: x.sche...@gmail.com

    Hi James,

    Actually I simply copied the commands that were given by Mike in the
    French users mailing list:
    http://lilypond-french-users.1298960.n2.nabble.com/Repetitions-volta-et-numeros-de-mesure-tp7036772p7062089.html

    But IIUC Mike's explanations and AFAICS in the regression test
    "input/regression/bar-number-volta-repeat.ly"
    with  \set Score.alternativeNumberingStyle = #'number  the bars in the
    alternatives will have the _same number_ (e.g. "4", "5" in the first
    alternative, "4", "5" in the second one and "6" after the alternatives).
    This is different from the default in the sense that the measures within
    alternatives will have the same number, whereas with the default the
    numbers will simply increase, i.e. "4", "5" in the first alternative,
    "6", "7" in the second one and "8" after the alternatives (for the same
    input).  Is it clearer?

    With  \set Score.alternativeNumberingStyle = #'numbers-with-letters
    the measures will have the same number but with a letter suffix
    different in each alternative, e.g. "4a", "5a" in the first alternative,
    "4b", "5b" in the second one, etc.

     
  • Google Importer

    Google Importer - 2011-12-30

    Originally posted by: pkx1...@gmail.com

    Xavier,

    Thanks that does help, in fact I had just finished a frivolous composition for the accordion where I use (excessive) \repeat volta constructs, and now I can see the differences of the two styles vs default.

    #'numbers creates some odd looking bar numberings depending on the \breaks (i.e 3, 6, 9, 8, 11, 10 etc.) on the piece but logically it all works. The #'numbers-with-letters is much clearer in this case (kind of - i.e 3, 6, 9a, 8b, 11a, 10b etc.).

    Personally that would drive me mad in a long piece, but hey!

    Summary: Doc: NR alternativeNumberingStyle (fix issue 2059) needs to be documented
    Owner: pkx1...@gmail.com
    Status: Started

     
  • Google Importer

    Google Importer - 2011-12-31

    Originally posted by: pkx1...@gmail.com

    Doc: NR added snippet for Alt Bar Numbering

    Tracker item 2093

    Added snippet showing #'numbers and #'numbers-with-letters tweak.

    Added to NR in two places (Bar Numbers 1.2.5 and Long Repeats 1.4.1)
    as a user would probably look for it in either place.

    Updated changes.tely

    http://codereview.appspot.com/5507043

    Labels: Patch-new

     
  • Google Importer

    Google Importer - 2012-01-01

    Originally posted by: lilypond...@gmail.com

    Patchy the autobot says: lilypond-book.py: error: file not found: alternative-bar-numbering.ly

    Labels: Patch-needs_work

     
  • Google Importer

    Google Importer - 2012-01-02

    Originally posted by: PhilEHol...@googlemail.com

    The patchy problem was from my LSR changes, not this patch.

    Labels: -Patch-needs_work Patch-review

     
  • Google Importer

    Google Importer - 2012-01-02

    Originally posted by: gra...@percival-music.ca

    that patch, as posted on codereview, will not compile.

    James needs to work on a separate branch, put that commit in, then run makelsr locally.  If he's not independently skilled on branches, then we could consider this blocked on issue 2100.

    Labels: -Patch-review Patch-needs_work

     
  • Google Importer

    Google Importer - 2012-01-02

    Originally posted by: pkx1...@gmail.com

    Yes I realised that when I looked again at the patch.

    I did makelsr.py to test it compiled, but figured that reviewing such a patch 'visually' might be tedious if there are lots of other files changed.

    But I meant to post the next patch identical as the initial but with makelsr.py 'on top' (if you see what I mean) so I could push it (and patchy would not complain).

    I just forgot that second part.

    I'll re-do it tomorrow.

     
  • Google Importer

    Google Importer - 2012-01-03

    Originally posted by: pkx1...@gmail.com

    Doc: NR added snippet for Alt Bar Numbering

    Tracker item 2093

    Added snippet showing #'numbers and #'numbers-with-letters tweak.

    Added to NR in two places (Bar Numbers 1.2.5 and Long Repeats 1.4.1)
    as a user would probably look for it in either place.

    Updated changes.tely

    http://codereview.appspot.com/5507043

    Labels: Patch-new

     
  • Google Importer

    Google Importer - 2012-01-03

    Originally posted by: pkx1...@gmail.com

    Doc: NR added snippet for Alt Bar Numbering

    Tracker item 2093

    Added snippet showing #'numbers and #'numbers-with-letters tweak.

    Added to NR in two places (Bar Numbers 1.2.5 and Long Repeats 1.4.1)
    as a user would probably look for it in either place.

    Updated changes.tely

    http://codereview.appspot.com/5507043

     
  • Google Importer

    Google Importer - 2012-01-03

    Originally posted by: lilypond...@gmail.com

    Patchy the autobot says: LGTM.

    Labels: Patch-review

     
  • Google Importer

    Google Importer - 2012-01-03

    Originally posted by: ColinPKC...@gmail.com

    (No comment was entered for this change.)

    Labels: -Patch-review Patch-countdown

     
  • Google Importer

    Google Importer - 2012-01-05

    Originally posted by: ColinPKC...@gmail.com

    Counted down to 20120105, please push.

    Labels: -Patch-countdown Patch-push

     
  • Google Importer

    Google Importer - 2012-01-05

    Originally posted by: pkx1...@gmail.com

         Fri, 6 Jan 2012 06:13:18 +0000 (06:13 +0000)
    commit    [r1951544570757b9e98fc693977f820f105233498]

    James

    Labels: -Patch-push
    Status: Fixed

     
  • Google Importer

    Google Importer - 2012-01-17

    Originally posted by: Elu...@gmail.com

    (No comment was entered for this change.)

    Status: Verified

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.