lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond-book error messages


From: David Kastrup
Subject: Re: Lilypond-book error messages
Date: Sat, 15 Oct 2016 23:59:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

bostjan k <address@hidden> writes:

> I've installed Lilypond on Windows 10. Converting ly files seems ok.
>
> When I run lilypond-book on the test file, I get the following:
>
> -----------------------------------------------------------------------------------
>
> C:\Users\Bostjan\lily\test>lilypond-book --pdf tt2.lytex
> lilypond-book.py (GNU LilyPond) 2.18.2
> Reading tt2.lytex...
> Running `pdflatex' on file
> `c:\users\botjan~1\appdata\local\temp\tmp6cukep.tex' to detect default page
> settings.
>
> lilypond-book.py: warning: Unable to auto-detect default settings:
>
> lilypond-book.py: warning: cannot detect textwidth from LaTeX

Put LaTeX somewhere where lilypond-book can find it (adjust PATH ?).

> stderr_write
>     encoded_write (sys.stderr, s)
>   File "C:\Program Files
> (x86)\LilyPond\usr\share\lilypond\current\python\lilylib.py", line 63, in
> encoded_write
>     f.write (s.encode (f.encoding or 'utf-8', 'replace'))
> UnicodeDecodeError: 'utf8' codec can't decode byte 0x9a in position 21:
> unexpected code byte
>
>
> ---------------------------------------------------------
>
>
> I've no idea what to do. 

Write your source file with an utf-8 capable editor.  LilyPond and
lilypond-book cannot deal with anything else.

-- 
David Kastrup



reply via email to

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