Am 24.06.2015 um 08:44 schrieb Johan Vromans: > On Wed, 24 Jun 2015 04:08:55 +0200 > Urs Liska <u...@openlilylib.org> wrote: > >> But I'm stuck with the problem of getting to the highlighted HTML out of >> the function and back into the book. The problem is obviously related to >> asynchronuous function calling, which I simply don't understand well >> enough (well, I don't really know JavaScript/Node.js). > > My first guess would be to call the function synchronously. > > https://nodejs.org/api/child_process.html#child_process_synchronous_process_creation
Thank you, this was the pointer I needed. I'm just learning JavaScript and Node.js "on the job", so I expect to oversee such obvious options ... Best Urs PS: You'll see the preliminary result of this at http://book.openlilylib.org/cg/coding.html. I'm quite excited because the actual files look *so* much more readable now (previously I had to store the excessively tagged <pre> element in the input files. :-) > > -- Johan > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user