Next: Extending the templates, Up: Putting it all together
Now you're ready to begin writing larger LilyPond files – not just the little examples in the tutorial, but whole pieces. But how should you go about doing it?
The best answer is “however you want to do it.” As long as LilyPond can understand your files and produces the output that you want, it doesn't matter what your files look like. That said, sometimes we make mistakes when writing files. If LilyPond can't understand your files, or produces output that you don't like, how do you fix the problem?
Here are a few suggestions that can help you to avoid or fix problems:
\version
numbers in every file. Note that all
templates contain a \version "2.6.0"
string. We
highly recommend that you always include the \version
, no matter
how small your file is. Speaking from personal experience, it's
quite frustrating to try to remember which version of LilyPond you were
using a few years ago. convert-ly
requires you to declare
which version of LilyPond you used.
This page is for LilyPond-2.6.3 (stable-branch).