<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Dear Fr. Michael,<BR>
<BR>
I’m afraid, I wanted to write you back yesterday evening but I had some problem with sending mails to this list. I hope this problems are solved now.<BR>
<BR>
Am Sonntag, den 28.02.2010, 15:23 -0500 schrieb Fr. Michael Gilmary:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi Raphael:
Here's a sample of your original = document.tex with a couple changes
(using the ifxetex package, etc --- change the fonts to suit your
needs). Also attached is an engine you can run via TeXShop if you're on
Mac (copy it to ~/Library/TeXShop/Engines/ and it should appear in the
drop down box for engines ... or you can use the preliminary %!TEX
TS-program = Lilypond-XeLaTeX line as in the included file). Otherwise,
just use the lilypond-book as you have learned and it will do as you need.
</PRE>
</BLOCKQUOTE>
<BR>
<TT>lilypond-book</TT> now works without problems. (I’m a GNU/Linux user so I can’t use your TEX Shop script.) Unfortunately <TT>xelatex</TT> aborts displaying following error message:
<BLOCKQUOTE>
<PRE>
raphael@debian-laptop:~/Desktop/out$ xelatex music.tex
This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./music.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german, ngerman, loaded.
(/usr/share/texmf-texlive/tex/latex/memoir/memoir.cls
Document Class: memoir 2005/09/25 v1.618 configurable document class
(/usr/share/texmf-texlive/tex/latex/memoir/mem11.clo)
(/usr/share/texmf-texlive/tex/latex/memoir/mempatch.sty))
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
! LaTeX Error: Unknown option `no-math' for package `fontspec'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.50 \ProcessOptions*
?
</PRE>
</BLOCKQUOTE>
Do you have any idea what’s going wrong?<BR>
<BR>
Am Sonntag, den 28.02.2010, 19:19 -0500 schrieb Fr. Michael Gilmary:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Of course, I forgot to mention that the (Xe)LaTeX preamble is covered in
the Lilypond Learning Manual in the Templates section.
</PRE>
</BLOCKQUOTE>
<BR>
Thanks for this advice. I didn’t know there was a XE(LA)TEX section in the Lilypond manual because I am using Lilypond 2.10.33 (the version included in Debian GNU/Linux stable) and in the manual of this prior version there is no XE(LA)TEX section.<BR>
<BR>
Am Sonntag, den 28.02.2010, 19:47 -0500 schrieb Fr. Michael Gilmary:
<BLOCKQUOTE TYPE=CITE>
<PRE>
And I've forgotten *twice* now to say that you need not use a "header"
document. If you're at the command line, just use lilypond-book with the
various options you had and the preamble with ifxetex specs will work
fine.
</PRE>
</BLOCKQUOTE>
<PRE>
This was clear even though you have forgotten to mention it first. =)
Thank you for helping me and best regards
</PRE>
<BR>
Raphael
</BODY>
</HTML>