jperon / lyluatex

Alternative à lilypond-book pour lualatex
MIT License
58 stars 11 forks source link

Retry lilypond command when failed #249

Closed jperon closed 5 years ago

jperon commented 5 years ago

Fix #204: MiKTeX behavior isn't the same as TexLive's with io.popen. I don't know why, but on MiKTeX, we have to add a level of quotes, and it doesn't seem to be able to write code to stdin.

Incidentally, when LilyPond fails on a score, compilation is re-tried with debug=true.

jperon commented 5 years ago

A drawback of this is that, in case of LilyPond failures, there will be misleading messages about unrecognized commands. IMHO, it isn't such an issue.

jperon commented 5 years ago

Just pushed changes: there's now a function to detect whether we are on MiKTeX, and to adjust cmd accordingly. Nevertheless, I kept the re-run with debug (locally) activated, to avoid useless recompiles.

jperon commented 5 years ago

@uliska When it's merged, I think we could release 1.0 final.

uliska commented 5 years ago

@jperon sorry I didn't process anything the last days.

For a final release we should go through the manual once more to check if anything was missed or to find any remaining flaws. -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

jperon commented 5 years ago

@uliska Do you think you could do that ? I must confess that doc isn't my cup of tea…

uliska commented 5 years ago

I'll have a look and see what happens... -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.