[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly rule for tocItem
From: |
Noeck |
Subject: |
Re: convert-ly rule for tocItem |
Date: |
Sun, 23 Aug 2020 07:51:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
I can confirm the issue.
And I think it is a bug in python/convertrules.py:4267. I found this:
s = re.sub(r'\\tocItem\s+\"', r'\\tocItem \\markup \"', s)
In the replacement string the " does not need to be escaped. And with
the raw string r'' the backslash is interpreted literally.
Am 22.08.20 um 20:33 schrieb Timothy Lanfear:
> \version "2.20.0"
>
> \tocItem "Score A"
> score { { a'1 } }
^
Btw, a backslash is missing here.