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
archer...@gmail.com