Carl,

can you modify yyout2grammar.py to avoid overlong lines?  For example,
it currently generates

  206 music_function_chord_body: music_function_identifier_musicless_prefix 
EXPECT_MUSIC function_arglist_nonmusic chord_body_element
  207                          | music_function_identifier_musicless_prefix 
function_arglist_nonmusi

which is ugly both in HTML and PDF output.

My suggestion is to align it as follows:

  206 music_function_chord_body: music_function_identifier_musicless_prefix
                                  EXPECT_MUSIC function_arglist_nonmusic
                                  chord_body_element
  207                          | music_function_identifier_musicless_prefix
                                  function_arglist_nonmusic

In other words, if a token (starting with the second one after the
colon or vertical bar) causes the line length to exceed, put it into
the next line, with a slight indentation relative to the first token
after the colon or vertical bar.


    Werner


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to