lilypond-user
[Top][All Lists]
Advanced

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

lilypond-book


From: Pedro Martínez
Subject: lilypond-book
Date: Thu, 24 Aug 2006 02:18:52 +0200

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 ;)

Attachment: prueba.dvi
Description: TeX dvi file


reply via email to

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