lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-book


From: Mats Bengtsson
Subject: Re: lilypond-book
Date: Thu, 24 Aug 2006 14:54:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

What LilyPond version do you use?

Did you follow the instructions in the manual on how to produce
a PS and PDF file from the lytex document using the flag --psfonts
to lilypond-book and -h ... to dvips?

Note also that lilypond-book by default will set the line width of the
music examples to be the same as the line width used for the text in
the LaTeX document.

  /Mats

Pedro Martínez wrote:

Hello everyone again!

Recently I am making some tests about LaTeX + lilypond in order to learn to integrate text and music but I am having -like usually I do- some problems.

Here you have the original document that I called " prueba.lytex":

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,12pt,spanish]{article}

\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage[T1]{fontenc}
\usepackage[dvips]{graphicx}

\date{23-08-06}

\begin{document}

Vamos a probar para ver qué tal queda esto... ¿Qué pasa con las tildes?
Por otro lado podemos cajón español

\begin{lilypond}

staffViolin = \new Staff {
\set Staff.instrument="Violin"
\set Staff.midiInstrument="violin"
\key c \major
\clef treble
\relative c' {
g1 d' a' e'
\bar "|."
}

}

harmonies = \new ChordNames \chordmode {
g1 d a e
}

\score {
<<
\harmonies
\staffViolin
>>

\midi {
}

\layout {
\context {
\Score
timming = ##f }
\context {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
}
}
}

\paper {
linewidth = 160 \mm - 2.0 * 9.0 \mm

indent = 10.0\mm
raggedright = ##t
}

\end{lilypond}


\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Well, the point is that when I call to lilypond-book everything seem to be right but in the directory of results I can find, between the many elements created, two files .eps. One of them seems to be the right one and the other one is defective or faulty because de score is not right. The point is that when I run latex over the file prueba.tex created, the eps called is the faulty one, not the right.

I enclose the file obtained on my pc to be crearlier. I wait some help because I don't know if it is because of my clumsiness.

Thank you very much for the help ;)

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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