[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book: warning: cannot detect textwidth from LaTeX
From: |
Xirux Nefer |
Subject: |
Re: lilypond-book: warning: cannot detect textwidth from LaTeX |
Date: |
Thu, 25 Sep 2014 14:24:06 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Marc Hohl <marc <at> hohlart.de> writes:
> 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 ...
>
Yes. If I comment that line:
-----------
\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}
-----------
And then compile with:
xelatex solfeo.lytex
I get the following output:
-----------
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian)
restricted \write18 enabled.
entering extended mode
(./solfeo.lytex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
--------------- A bunch of .sty files here ---------------
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def))))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (./solfeo.aux)
(/usr/share/texmf/tex/latex/tipa/t3cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
[1] [2] (./solfeo.aux) )
Output written on solfeo.pdf (2 pages).
Transcript written on solfeo.log.
-----------
Nothing weird to my ignorant eyes.
> > 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
>
This is also weird... why doesn't it recognize the fontload option?
Cheers