bostjan k <bostjan.kuz...@gmail.com> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to