[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond-book
From: |
Jean Abou Samra |
Subject: |
Re: Lilypond-book |
Date: |
Sun, 20 Mar 2022 20:18:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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?