Wilbert Berendsen <wbs...@xs4all.nl> writes:

> a first release of the command-line ly tool with the Python ly library
> is out:

Yay!

Given a (section of) .ly with barchecks and line number comments, e.g.

  d16  c8.~  c4  r2   |  % 9
  \bar "||"
  R1  |  % 10
  R1  |  % 10
  R1  |  % 12
  e4  e8  e16  f16~  f8.  c16  f8  e8   |  % 13

can ly recalculate the line numbers? For example, in Emacs, select a
section and then

  C-u M-| ly "renumber;start=8"

would result in

  d16  c8.~  c4  r2   |  % 8
  \bar "||"
  R1  |  % 9
  R1  |  % 10
  R1  |  % 11
  e4  e8  e16  f16~  f8.  c16  f8  e8   |  % 12

-- Johan

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to