After cleaning Documentation/user/out-www and re-trying make web, I
still get an error. The incrimined .ly is not properly extracted (included below).



nicolas:~/cvs/lilypond/Documentation/user> make web
[...]
Now processing `lily-777666744.ly'
Parsing...

lily-777666744.ly:3:0: error: syntax error, unexpected NOTENAME_PITCH:

c8 c4 c4 c4

lily-777666744.ly:6:32: error: Error found in this music expression. Ignoring it:
Normally,@code{spacing-increment
                                } is set to 1.2 staff space,which is

lily-777666744.ly:8:29: error: Error found in this music expression. Ignoring it:
@code{shortest-duration-space
                             } is set to 2.0,meaning that the

lily-777666744.ly:10:23: error: Error found in this music expression. Ignoring it:
@code{spacing-increment
                       }) of horizontal space. This space is counted

lily-777666744.ly:26:14: error: Error found in this music expression. Ignoring it:
@code{lilypond
              } with the @code{--verbose} option.

lily-777666744.ly:26:40: error: Error found in this music expression. Ignoring it:
@code{lilypond} with the @code{--verbose
                                        } option.

lily-777666744.ly:29:30: error: Error found in this music expression. Ignoring it:
@code{common-shortest-duration
                              } in @internalsref{SpacingSpanner},then

lily-777666744.ly:29:63: error: Error found in this music expression. Ignoring it:
@code{common-shortest-duration} in @internalsref{SpacingSpanner
                                                               },then

lily-777666744.ly:31:65: error: Error found in this music expression. Ignoring it:
base (normally 1/8th),is set through @code{base-shortest-duration
                                                                 }.

lily-777666744.ly:33:38: error: Error found in this music expression. Ignoring it:
@cindex @code{common-shortest-duration
                                      }

lily-777666744.ly:34:36: error: Error found in this music expression. Ignoring it:
@cindex @code{base-shortest-duration
                                    }

lily-777666744.ly:35:37: error: Error found in this music expression. Ignoring it:
@cindex @code{stem-spacing-correction
                                     }

lily-777666744.ly:36:21: error: Error found in this music expression. Ignoring it:
@cindex @code{spacing
                     }
warning: Identifier name is a keyword: `relative'

lily-777666744.ly:43:38: error: syntax error, unexpected ',':
@lilypond[fragment,verbatim,relative=2
                                      ,linewidth,raggedright]
Interpreting music... [4]
Preprocessing graphical objects... 
Calculating line breaks... [3][4]
Layout output to `lily-777666744.tex'...

lily-777666744.ly:43:59: warning: Braces don't match:
@lilypond[fragment,verbatim,relative=2,linewidth,raggedrigh
                                                           t]
Now processing `lily-687429801.ly'
Parsing...
Interpreting music... [5]
Preprocessing graphical objects... 
Calculating line breaks... [3][5]
Layout output to `lily-687429801.tex'...
Now processing `lily-1803203358.ly'
Parsing...
Interpreting music... [2]
Preprocessing graphical objects... 
Calculating line breaks... [2]
Interpreting music... [2]
Preprocessing graphical objects... 
Calculating line breaks... [2]
Layout output to `lily-1803203358.tex'...

error: failed files: lily-777666744.ly

../../scripts/lilypond-book.py: warning: `lilypond' failed (status 1) (ignored)

../../scripts/lilypond-book.py: error: Process lilypond -f tex  --tex --header=texidoc 
-I ./input/test -e '(ly:set-option (quote internal-type-checking) #t)' -I 
/home/nicolas/cvs/lilypond/Documentation/user  -I 
/home/nicolas/cvs/lilypond/Documentation/user  -I 
/home/nicolas/cvs/lilypond/Documentation/user/out-www  -I 
/home/nicolas/cvs/lilypond/input  -I /home/nicolas/cvs/lilypond/input/regression  -I 
/home/nicolas/cvs/lilypond/input/test  -I /home/nicolas/cvs/lilypond/input/tutorial  
-I /home/nicolas/cvs/lilypond/mf/out  -I /home/nicolas/cvs/lilypond/mf/out exited 
unsuccessfully.
Removing `./out-www/changing-defaults.texi'
Removing `./out-www/lilypond.texi'
Traceback (most recent call last):
  File "../../scripts/lilypond-book.py", line 1262, in ?
    main ()
  File "../../scripts/lilypond-book.py", line 1259, in main
    ly.exit (1)
  File "/home/nicolas/cvs/lilypond/share/lilypond/python/lilylib.py", line 132, in exit
    raise _ ('Exiting (%d)...') % i
Exiting (1)...
make[1]: *** [out-www/lilypond.texi] Error 1
make[1]: Leaving directory `/home/nicolas/cvs/lilypond/Documentation/user'
make: *** [web] Erreur 2
nicolas:~/cvs/lilypond/Documentation/user> 


%% Generated by ../../scripts/lilypond-book.py
%% Options: [fragment,verbatim,relative=1] c2 c4. c8 c4. c8 c4. c8 c8
c8 c4 c4 c4
@end lilypond

Normally,@code{spacing-increment} is set to 1.2 staff space,which is
approximately the width of a note head,and
@code{shortest-duration-space} is set to 2.0,meaning that the
shortest note gets 2.4 staff space (2.0 times the
@code{spacing-increment}) of horizontal space. This space is counted
from the left edge of the symbol,so the shortest notes are generally
followed by one NHW of space.

If one would follow the above procedure exactly,then adding a single
32th note to a score that uses 8th and 16th notes,would widen up the
entire score a lot. The shortest note is no longer a 16th,but a 32nd,thus adding 1 NHW 
to every note. To prevent this,the shortest
duration for spacing is not the shortest note in the score,but rather
the one which occurs most frequently.


The most common shortest duration is determined as follows: in every
measure,the shortest duration is determined. The most common short
duration,is taken as the basis for the spacing,with the stipulation
that this shortest duration should always be equal to or shorter than
1/8th note. The shortest duration is printed when you run
@code{lilypond} with the @code{--verbose} option.

These durations may also be customized. If you set the
@code{common-shortest-duration} in @internalsref{SpacingSpanner},then
this sets the base duration for spacing. The maximum duration for this
base (normally 1/8th),is set through @code{base-shortest-duration}.

@cindex @code{common-shortest-duration}
@cindex @code{base-shortest-duration}
@cindex @code{stem-spacing-correction}
@cindex @code{spacing}

Notes that are even shorter than the commoon shortest note are
followed by a space that is proportional to their duration relative to
the common shortest note.  So if we were to add only a few 16th notes
to the example above,they would be followed by half a NHW:

@lilypond[fragment,verbatim,relative=2,linewidth,raggedright]
#(set! toplevel-score-handler ly:parser-print-score)
#(set! toplevel-music-handler (lambda (p m)
                               (ly:parser-print-score
                                p (ly:music-scorify m p))
                            ))

\paper {
  #(define dump-extents #t)
  
    linewidth = 160 \mm
    
    indent = 0.0\mm
    raggedright = ##t
}
\layout { 
}


    \relative c''
    \relative c''{
         c2 c4. c8 c4. c16[ c] c4. c8 c8 c8 c4 c4 c4
    }
_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to