For the record, we have a rest-markup-command.
https://sourceforge.net/p/testlilyissues/issues/2966/
commit ffa21bb1a55d2436bb432c4dff7ec04df95dc6f0
Author: Thomas Morley <address@hidden>
Date: Wed Dec 5 01:56:11 2012 +0100
markup-commands rest-by-number and rest
Introduces two new markup-commands:
rest-by-number and rest
similiar to the existing note-by-number and note.
Two regression-tests for them are added.
See output of:
\markup
\override #'(word-space . 2)
\line { \rest #"1" \rest #"2" \rest #"1." \rest #"2." }