Hi, As the subject says, I would like to have Lilypond output svg to stdout. Can it be done? How do I do that?
Some background: I am developing an online course in Open edX [1], and for that course I am writing an XBlock [2]. This means that the user on the front end triggers a request that is processed by some server-side Python code that, in my case, in turn calls Lilypond. Lilypond's output is ultimately on the front end to be displayed in html, so I figured that svg output would be best. And I reckon that it will be unnecessarily cumbersome and slow to let Lilypond write to file and then let the Python code read that file back from disk. Any ideas to output Lilypond's svg to stdout? Or better alternatives? Thanks! Marcel [1] Open edX https://open.edx.org/ is an open source learning platform (like e.g. Moodle) developed by MIT and Harvard [2] XBlocks https://edx.readthedocs.io/projects/xblock/en/latest/introduction.html are Python libraries used to provide custom course units for learners and instructors on the Open edX platform.
0xFAE136BF78A26731.asc
Description: application/pgp-keys