X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Fworking.itely;h=2ad0f2b5afa992ac6679f737f0f8d9520f6360d1;hb=5b2bdf8c532aa1b4aa8626f6847938f2ef4ba1be;hp=8077bb3a6068051f0ca8b6a16c35b7c448513d04;hpb=2d54fb4a885cb851718a7bd5c800f01d6337895f;p=lilypond.git diff --git a/Documentation/user/working.itely b/Documentation/user/working.itely index 8077bb3a60..2ad0f2b5af 100644 --- a/Documentation/user/working.itely +++ b/Documentation/user/working.itely @@ -7,7 +7,7 @@ version that you are working on. See TRANSLATION for details. @end ignore -@c \version "2.11.38" +@c \version "2.12.0" @node Working on LilyPond projects @chapter Working on LilyPond projects @@ -19,16 +19,16 @@ this chapter. @menu -* Suggestions for writing LilyPond input files:: -* When things don't work:: -* Scores and parts:: +* Suggestions for writing LilyPond input files:: +* When things don't work:: +* Scores and parts:: @end menu @node Suggestions for writing LilyPond input files @section Suggestions for writing LilyPond input files -Now you're ready to begin writing larger LilyPond input files -- +Now you're ready to begin writing larger LilyPond input files -- not just the little examples in the tutorial, but whole pieces. But how should you go about doing it? @@ -56,11 +56,11 @@ structured in order to be easier (or harder) to update. @end itemize @menu -* General suggestions:: -* Typesetting existing music:: -* Large projects:: -* Saving typing with variables and functions:: -* Style sheets:: +* General suggestions:: +* Typesetting existing music:: +* Large projects:: +* Saving typing with variables and functions:: +* Style sheets:: @end menu @@ -79,8 +79,8 @@ quite frustrating to try to remember which version of LilyPond you were using a few years ago. @command{convert-ly} requires you to declare which version of LilyPond you used. -@item @strong{Include checks}: @ruser{Bar and barnumber checks}, -@ruser{Octave check}. If you include checks every so often, then +@item @strong{Include checks}: @ruser{Bar and bar number checks}, +@ruser{Octave checks}. If you include checks every so often, then if you make a mistake, you can pinpoint it quicker. How often is @q{every so often}? It depends on the complexity of the music. For very simple music, perhaps just once or twice. For very @@ -92,7 +92,7 @@ itself or in the output you desire, it's often good to write only one bar per line. Saving screen space by cramming eight bars per line just isn't worth it if you have to @q{debug} your input files. -@item @strong{Comment your input files}. Use either bar numbers +@item @strong{Comment your input files}. Use either bar numbers (every so often) or references to musical themes (@q{second theme in violins,} @q{fourth variation,} etc.). You may not need comments when you're writing the piece @@ -129,8 +129,8 @@ piece of existing sheet music), @item Enter one manuscript (the physical copy) system at a time (but still only one bar per line of text), and check each system when you finish it. You may use the -@code{showLastLength} command to speed up processing -- see -@ruser{Skipping corrected music}. +@code{showLastLength} or @code{showFirstLength} properties to speed up +processing -- see @ruser{Skipping corrected music}. @item Define @code{mBreak = @{ \break @}} and insert @code{\mBreak} in the input file whenever the manuscript has a line break. This @@ -209,9 +209,9 @@ hornNotes = \relative c'' { c4 b dis c } You may even realize that this could be useful in minimalist music: @lilypond[quote,verbatim,ragged-right] -fragA = \relative c'' { a4 a8. b16 } -fragB = \relative c'' { a8. gis16 ees4 } -violin = \new Staff { \fragA \fragA \fragB \fragA } +fragmentA = \relative c'' { a4 a8. b16 } +fragmentB = \relative c'' { a8. gis16 ees4 } +violin = \new Staff { \fragmentA \fragmentA \fragmentB \fragmentA } \score { { \violin @@ -261,6 +261,9 @@ violin = \relative c'' @{ @} @end example +@c TODO Replace the following with a better example -td +@c Skylining handles this correctly without padText + So far we've seen static substitution -- when LilyPond sees @code{\padText}, it replaces it with the stuff that we've defined it to be (ie the stuff to the right of @@ -552,9 +555,9 @@ file with @code{\include "../global.ly"}, which contains @section When things don't work @menu -* Updating old input files:: -* Troubleshooting (taking it all apart):: -* Minimal examples:: +* Updating old input files:: +* Troubleshooting (taking it all apart):: +* Minimal examples:: @end menu @node Updating old input files