lilypond-user
[Top][All Lists]
Advanced

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

Re: no view because of mistakes?


From: Ludo Beckers
Subject: Re: no view because of mistakes?
Date: Fri, 31 Dec 2010 09:58:06 +0100

Thanks Xavier, in a 2nd post I explained I made a mistake thinking (doh) I was sending my question to the Denemo list.
So I have a .denemo file only, no .ly
I'm pretty new to this, so I know I can see the Lilypond compilation view, but don't know yet how to extract it as a .ly file.
Trying to change things in the Lilypond view doesn't (seem to) work.

<Under GNU/Linux if you compile within a terminal, the errors appears in the terminal too.
<If you use a dedicated text editor allowing you to compile within this editor, then it should also have a buffer/terminal showing the errors
<when compiling.

That's good to know; it might be wise to first get to know .ly files in that fashion before trying to do all in Denemo or Frescobaldi.
Usually a GUI is easier than compiling yourself, but in this case it's different - I'll have to learn the inner working better first.
I'm not a hero yet though with vim (also just starting with that).

Here are 2 snippets from the Lilypond view - maybe it's very obvious where the mistake is?

MvmntIVoiceI =  {
          fis'2. g'8 fis'\Barline
         f'1\Barline
         r4 e'8 fis' g' a'16 g' fis'8 e'\Barline
         dis' fis' b4 ~ b \times 2/3 { b8 c' cis'\Barline
%5
         } d'2. e'4\Barline
         c'2 b8 bes a4\Barline
         r \times 2/3 { g8 b d' } e' g' g'4\Barline
         g'8 e'4. r4 a' \break         fis'2. g'8 fis'\Barline
%10
         f'1\Barline
         r4 e'8 fis' g' a'16 g' fis'8 e'\Barline
         dis' fis' b4 ~ b \times 2/3 { b8 c' cis' \break         d'2. e'4\Barline
         c'2 b8 bes a4\Barline
%15
         r \times 2/3 { g8 b d' e' g' g'4\Barline
         g'2 a'4 g'  \bar "||"         b'2 ~ b'8 a' g' e'\Barline
         \times 2/3 { d'4 d' d' d' c'\Barline
         r8 g' g' g' g' gis' a'4\Barline
%20
         g'2. c'4\Barline
         a'2 ~ a'8 g' f' e'\Barline
         ees'2. f'4\Barline
         d'2 d'\Barline
         d' \times 2/3 { fis'4 a' g'  \bar "||"%25
         fis'2. g'8 fis'\Barline
         f'1 \EndMovementBarline

} %% missing close brace

} %% missing close brace

} %% missing close brace

} %% missing close brace
}

and for the chords:

MvmntIVoiceIChords = \new ChordNames \chordmode {
 %chord symbols follow
 g2.:maj  s8
  s8
 gis1:dim a4:m7  s8  s8  s8  s16  s16  s8
  s8 b8:9  s8  s4  s4\times 2/3 {  s8  s8
  s8
%5
} e2.:7
  s4 a2:m7 d8:9  s8
  s4 g4:maj\times 2/3 {  s8  s8  s8} a8:m7  s8
  s4 g8  s4. a4:m7 d4:7.9-
  s2.  s8
  s8
%10

  s1  s4  s8  s8  s8  s16  s16  s8
  s8  s8  s8  s4  s4\times 2/3 {  s8  s8  s8
  s2.
  s4  s2  s8  s8
  s4
%15
  s4\times 2/3 {  s8  s8  s8  s8  s8
  s4  s2  s4  s4
  s2  s8  s8  s8
  s8\times 2/3 {  s4  s4  s4  s4
  s4  s8  s8  s8  s8  s8  s8
  s4
%20
  s2.
  s4  s2  s8  s8  s8
  s8  s2.
  s4  s2
  s2  s2\times 2/3 {  s4  s4  s4

%25
  s2.  s8
  s8
  s1
}

On Fri, Dec 31, 2010 at 9:31 AM, Xavier Scheuer <address@hidden> wrote:
On 31 December 2010 01:07, Ludo Beckers <address@hidden> wrote:
>
> You mean when trying to view in PDF?
> This is the result:
>
> Unable to open document.
> File type plain text document (text/plain) is not supported

Which OS do you use?  How do you compile with LilyPond?

Under Windows you should have a  .log  file, IIRC.
Look within the repertory for a text file called  your_file_name.log
(the same name as you  .ly  file).

Under GNU/Linux if you compile within a terminal, the errors appears
in the terminal too.
If you use a dedicated text editor allowing you to compile within this
editor, then it should also have a buffer/terminal showing the errors
when compiling.

Cheers,
Xavier

--
Xavier Scheuer <address@hidden>




reply via email to

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