craigsapp/website-polish-scores

Show measure numbers at start of search match non-contiguous measure

craigsapp opened this issue · 0 comments

When the search zoom button is pressed on the work search panel, only measures containing matches are shown:

Screenshot 2024-01-23 at 20 24 35

The second measure's number should be displayed, which is 5 in this case.

The implementation will involve the Humdrum-to-MEI converter in verovio, and possibly the myank tool.

An interesting idea would be to add a gap between such measures, which is possible in verovio (maybe need or should place each contiguous measure in a separate <section> and displaying all of the multiple sections.