From a865c316ca0b2e35d01f2ad9fda998d555d5f985 Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Fri, 20 Aug 2010 09:01:16 +0100 Subject: [PATCH] Docs: Usage: add warning about 'staff-affinities --- Documentation/usage/running.itely | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/usage/running.itely b/Documentation/usage/running.itely index afcf0387d2..c0835ac21b 100644 --- a/Documentation/usage/running.itely +++ b/Documentation/usage/running.itely @@ -662,6 +662,7 @@ are easily handled. * Apparent error in ../ly/init.ly:: * Error message Unbound variable %:: * Error message FT_Get_Glyph_Name:: +* Warning staff affinities should only decrease:: @end menu @node Music runs off the page @@ -795,4 +796,17 @@ an input file contains a non-ASCII character and was not saved in UTF-8 encoding. For details, see @ruser{Text encoding}. +@node Warning staff affinities should only decrease +@unnumberedsubsec Warning staff affinities should only decrease +This warning can appear if there are no staves in the printed +output, for example if there are just a @code{ChordName} context +and a @code{Lyrics} context as in a lead sheet. The warning +messages can be avoided by making one of the contexts behave as a +staff by inserting +@example +\override VerticalAxisGroup #'staff-affinity = ##f +@end example + +@noindent +at its start. For details, see @ruser{Spacing of non-staff lines}. -- 2.39.2