DocBook processor: unexpected reliance on working directory

2021-09-26 Thread Thibaut Cuvelier
Dear list, Again, in the context of LyX' DocBook support for LilyPond, I'm running a Python script to bridge the gap between LyX and LilyPond. This script is run from within LyX and inherits, in particular, its environment variables and working directory. The file lilypond-book should transform

DocBook files: LilyPond code remains in XML after processing

2021-09-26 Thread Thibaut Cuvelier
Dear list, For now, lilypond-book leaves the raw LilyPond book in the XML file after its processing. If this is the DocBook input http://docbook.org/ns/docbook; xmlns:xlink="http://www.w3.org/1999/xlink; xmlns:m=" http://www.w3.org/1998/Math/MathML; xmlns:xi=" http://www.w3.org/2001/XInclude;

DocBook files: tag attributes must use "

2021-09-26 Thread Thibaut Cuvelier
Dear list, While working on supporting LilyPond from within LyX' DocBook support, I stumbled upon a poorly defined behaviour: if the attributes are set using ' instead of ", then LilyPond ignores them. Example (*file.lyxml*): http://docbook.org/ns/docbook;