Re: Incipit

2023-12-16 Thread Andreas Schneider
Thank you very much for your help. One more question: how can I get the current indent so that I can compare to the incipit length and increase it if necessary? I'm trying the following after looking at Indent.scm, but I always get #f ;;;StaffIncipit (let ((tag "StaffIncipit") (current "")

Re: Incipit

2023-12-16 Thread Richard Shann
On Sat, 2023-12-16 at 12:39 +, Richard Shann wrote: > 2) To add a \layout {} block with the incipit indent stuff as in the > example in the docs (d-DirectivePut-layout-postfix "StaffIncipit " " incipit-width = 3\\cm ") adds the incipit-width (as given in the example in the docs) to the

Re: Incipit

2023-12-16 Thread Richard Shann
Sorry about the typos in my previous response, I hope you got the drift. I've had a chance to look at it now and in addition to my previous comments you will need 1) to put the \incipit syntax into the Voice not the Staff (d-DirectivePut-voice-prefix tag (string-append "\\incipit { " current "

Re: Incipit

2023-12-16 Thread Richard Shann
On Fri, 2023-12-15 at 22:04 +0100, Andreas Schneider wrote: > On 15.12.23 21:33, Richard Shann wrote: > > On Fri, 2023-12-15 at 19:48 +0100, Andreas Schneider wrote: > > > I'm trying to write a Scheme script for an incipit > > > ( > > >