lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

run error Lilypond-book on Windows 10


From: Archer Endrich
Subject: run error Lilypond-book on Windows 10
Date: Fri, 6 Aug 2021 12:31:06 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

Dear Lilypond Users,

I have been using Lilypond for a long time and am in awe of those who have created Lilypond and who maintain it.  It is the most wonderful and flexible package, with super high-quality results. I have not written to the Users Group before, but will have certain specialised notation queries in the future.

One of the key parts of Lilypond for me is Lilypond Book, and I am working on a major project with it.  I have used it extensively with Lilypond 2.18.2.

Since moving to Windows 10, I have not been able to get it to run, although David Wright's message to the User Group about adding the .py extension when invoking it got me further than I was at first.  I have Lilypond 2.22.1 installed.  My batch file is:

lilypond-book.py --output=out --pdf ALMdurasnumber.lytex
cd out
pdflatex ALMdurasnumber.tex
cd ..\

which is what has always worked for me in the past.


The error message I get is as follows:

C:\P3L\lpbk>ALMdurasnumber.bat

C:\P3L\lpbk>lilypond-book.py --output=out --pdf ALMdurasnumber.lytex
  File "C:\Lilypond2221\usr\bin\lilypond-book.py", line 376
    except subprocess.CalledProcessError as e:
                                          ^
SyntaxError: invalid syntax

C:\P3L\lpbk>cd out

C:\P3L\lpbk\out>pdflatex ALMdurasnumber.tex
'pdflatex' is not recognized as an internal or external command,
operable program or batch file.

C:\P3L\lpbk\out>cd ..\

C:\P3L\lpbk>

The message about pdflatex is a conundrum.  It has always worked before, but I cannot find a 'pdflatex' file in the \user\bin of version 2.18.2 or 2.22.1.  It does not appear to be complaining about anything in my lytex file -- which I had previously compiled successfully with 2.18.2.

Any help will be greatly appreciated.

Archer Endrich
archerhgm@gmail.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]