[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book: warning: cannot detect textwidth from LaTeX
From: |
Marc Hohl |
Subject: |
Re: lilypond-book: warning: cannot detect textwidth from LaTeX |
Date: |
Thu, 25 Sep 2014 08:43:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Am 24.09.2014 um 17:52 schrieb Xirux Nefer:
I am using lilypond-book to compile solfeo.lytex:
-----------
\documentclass[12pt,a4paper]{book}
\usepackage[textwidth=12cm,textheight=20cm]{geometry}
\usepackage{lipsum}
\usepackage{fontspec}
\usepackage{Alegreya}
\begin{document}
\lipsum[1]
\lilypondfile[indent=1\cm,fontload,ragged-right]{scores/Lesson_1.01.xml.ly}
\lipsum[2-4]
\end{document}
-----------
Using:
-----------
lilypond-book --output=out --latex-program=xelatex --left-padding=0
--process='lilypond --define-default=line-width=12\cm' solfeo.lytex
-----------
And I am getting the error in the subject of this message. The output of
the compilation is:
[...]
Have you tried to comment out the line \lilypondfile... and compile the
document directly with xelatex? It looks as if xelatex has some
problems, not lilypond ...
lilypond-book: warning: cannot detect textwidth from LaTeX
Dissecting...
Writing snippets...
lilypond-book: warning: ignoring unknown ly option: fontload
Ok, lilypond-book claims that the option 'fontload' does not exist.
But everything else looks like a xelatx-specific problem to me.
HTH,
Marc