|
From: | Jonathan Gregory |
Subject: | Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?) |
Date: | Sun, 20 Aug 2023 09:47:09 -0300 |
User-agent: | mu4e 1.9.0; emacs 29.1 |
On 20 Aug 2023, Ihor Radchenko wrote:
Jonathan Gregory <jgrg@autistici.org> writes:ob-doc-lilypond.html looks good, but I changed lilypond.org in: https://git.sr.ht/~bzg/worg/commit/6b9da77c8078be183971575fdc79d402bf6184c2- b c d e + b4 c d eIs there any specific reason for this change?
This is to ensure that the notes use the correct duration in arrange-mode. 4 is the default duration and is carried over until a new value is added, in this case c1. 1 is then carried over making all subsequent "e"s have a value of 1, which is incorrect.
#+begin_src lilypond { b c c c c1 } #+end_src #+begin_src lilypond { e e e e f1 } #+end_srcIn basic-mode it makes no difference, but that's assuming the default value never changes. BTW I prefer inline-mode over basic-mode, but I'll leave that for a future time.
-- Jonathan
[Prev in Thread] | Current Thread | [Next in Thread] |