Re: MY error, but wish the log was clearer.

2009-10-02 Thread Mats Bengtsson



Valentin Villenave wrote:

On Wed, Sep 30, 2009 at 1:52 PM, Mats Bengtsson
mats.bengts...@ee.kth.se wrote:
  

However, your feature request is certainly relevant, so I forward it to the
bug mailing list.



Don't we already have a no music in this file error message?

`aliteralmind': could you please post a minimal example of a .ly file
that requires a \score block, but doesn't print any error message when
there's none?
  

How about

\version 2.13.4
mymusic = \relative c' {c d e f }


  /Mats


Cheers,
V. Villenave.


___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond
  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: MY error, but wish the log was clearer.

2009-09-30 Thread Mats Bengtsson
Often, you don't have to explicitly write out any \score{...} block in 
your file, see

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Introduction-to-the-LilyPond-file-structure#Introduction-to-the-LilyPond-file-structure

However, your feature request is certainly relevant, so I forward it to 
the bug mailing list.


  /Mats

aliteralmind wrote:

I'm using LilyPond for the first time in months. Feels god.

I was about to ask why-the-heck is my LY code being analyzed (I get an
appropriate message when I purposefully put in a syntax error), but when I
fix the error, no PDF is generated. It just stops. I realized, after
halfway-composing my help-me forum message, that I didn't put in the score
element.

The log was giving me this:

---
# -*-compilation-*-
Processing `E:/temp/mysong/mysong.ly'
Parsing...
---

Then in just stopped. Nothing. I thought I somehow messed up my computer in
the past months. I put in the score element and now it works.

What I WISH the log would say, when no PDF or MIDI is generated, is
something like this:

---
# -*-compilation-*-
Processing `E:/temp/mysong/mysong.ly'
Parsing...
[END. No PDF or MIDI generation requested] 
---


Anyway, I just wanted to make that comment. Thanks for considering.
  




___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond