Skip to content

v0.10.0

Pre-release
Pre-release

Choose a tag to compare

@lbssousa lbssousa released this 18 Jun 11:08
· 25 commits to main since this release
5039cf1

Added

  • New validation rule nabc-space-in-code (warning, auto-fixable): flags whitespace inside NABC code blocks, which Gregorio 6.2.0 renders incorrectly. The autofix removes the spaces.
  • New validation rule bar-mixed-with-notes (warning, auto-fixable): flags GABC bar symbols (,, ;, :, ::) appearing in the same group as melody notes. Custos, line-break markers, and clef changes alongside bars are accepted. The autofix splits the group so each bar is isolated: (fg,hi) → (fg) (,) (hi).
  • New validation rule line-break-not-at-end (warning, auto-fixable): flags any non-whitespace content appearing after a line-break marker (z, Z, z+, z-, Z+, Z-) in a note group. z0 (auto-custos) is not treated as a line break. Two fix strategies:
    • Bar-only groups: lb marker moved to end — (z,) → (,z).
    • Note groups with melody notes: group split at first lb — (fg z h) → (fg z) (h).

Fixed

  • Parser: <v>...</v> and <alt>...</alt> blocks in syllable text no longer cause ( inside to be mis-parsed as a note-group delimiter.
  • Parser: syllables whose text is entirely verbatim no longer trigger false positives in text-markup validation rules (duplicate-syllable-center, unmatched-center-close, etc.).
  • Parser: note attributes with nested brackets ([nv:\cmd[opt]{arg}]) are now parsed correctly using bracket-depth counting.