mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
DocBook LilyPond: add a comment to indicate that an issue cannot be worked around.
This commit is contained in:
parent
7af2cc0c3b
commit
4643048583
@ -66,6 +66,17 @@ class DocBookCopier:
|
|||||||
# Fixed by 2.23.4.
|
# Fixed by 2.23.4.
|
||||||
# FROM: language='lilypond' role='fragment verbatim staffsize=16 ragged-right relative=2'
|
# FROM: language='lilypond' role='fragment verbatim staffsize=16 ragged-right relative=2'
|
||||||
# TO: language="lilypond" role="fragment verbatim staffsize=16 ragged-right relative=2"
|
# TO: language="lilypond" role="fragment verbatim staffsize=16 ragged-right relative=2"
|
||||||
|
|
||||||
|
# Another problem to fix: the output is in XML, with some characters encoded as XML
|
||||||
|
# entities. For instance, this could be in a LilyPond snippet:
|
||||||
|
# \new PianoStaff <<
|
||||||
|
# instead of:
|
||||||
|
# \new PianoStaff <<
|
||||||
|
# (More complete example:
|
||||||
|
# https://lilypond.org/doc/v2.23/Documentation/learning/piano-centered-lyrics.)
|
||||||
|
# This issue must be fixed by LilyPond, as any change in this part would make the XML
|
||||||
|
# file invalid.
|
||||||
|
# Bug report: https://gitlab.com/lilypond/lilypond/-/issues/6204
|
||||||
with open(self.in_file, 'r', encoding='utf-8') as f, open(self.in_lily_file, 'w', encoding='utf-8') as f_lily:
|
with open(self.in_file, 'r', encoding='utf-8') as f, open(self.in_lily_file, 'w', encoding='utf-8') as f_lily:
|
||||||
for line in f:
|
for line in f:
|
||||||
if "language='lilypond'" in line:
|
if "language='lilypond'" in line:
|
||||||
|
Loading…
Reference in New Issue
Block a user