lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: python-ly 0.1 (the "ly" tool)


From: Johan Vromans
Subject: Re: ANN: python-ly 0.1 (the "ly" tool)
Date: Tue, 07 Jan 2014 08:40:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Wilbert Berendsen <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]