Le 20/03/2022 à 19:49, Martín Rincón Botero a écrit :
> Hi Jean,
>
> thank you very much for wanting to take a look at it. Attached is the
> .log file.
Pheew. It looks correct, so something is wrong in the way lilypond-book
gets it from the system. OK, can you locate the file book_latex.py in
your LilyPond installation and apply the following diff?
diff --git a/python/book_latex.py b/python/book_latex.py
index ab8b2c7d3e..1c0f7bff50 100644
--- a/python/book_latex.py
+++ b/python/book_latex.py
@@ -256,7 +256,9 @@ def get_latex_textwidth(source, global_options):
os.unlink(tmpfile)
if os.path.exists(auxfile):
os.unlink(auxfile)
+ print(repr(parameter_string))
if os.path.exists(logfile):
+ print(repr(parameter_string))
parameter_string = open(logfile, encoding="utf8").read()
os.unlink(logfile)
Then re-run and paste the lilypond-book logging output. Also, what OS
are you running? Is it Windows?