5 convert-ly -e --from=... --to=... --no-version *.itely
7 % to find the current version number,
8 grep "version \"" tutorial.itely
10 % (nobody ever remembers to update this file, so I've stopped
11 % trying to record it here)
16 There are three parts to the documentation: the Learning Manual,
17 the Notation Reference, and the Technical Details.
19 * Learning Manual: long, chatty, friendly explanations go here.
20 This is aimed at users learning something for the first time --
21 not necessarily just learning lilypond notation, but also things
22 like learning how to deal with projects, tweaking, preparing parts
23 for orchestras, etc. Less formal language may be used here.
25 Users are encouraged to read the complete Learning Manual from
29 * Notation Reference: a (hopefully complete) description of
30 LilyPond input notation. Some material from here may be
31 duplicated in the Learning Manual (for teaching). The material is
32 presented in an approximate order of increasing difficulty, but
33 the goal is _not_ to provide a step-by-step learning environment.
34 For example, all material under "Pitches" should remain in that
35 section, even though microtonal accidentals may seem more advanced
36 than info about clefs or time signatures -- "Pitches" should be a
37 one-stop reference about the pitch portion of notes. This section
38 is written in formal technical writing style.
40 Users are not expected to read this manual from start to finish.
41 However, they should be familiar with the material in the Learning
42 Manual (particularly ``Fundamental Concepts''), so do not repeat
43 that material in this book.
46 * Program Usage: information about using the program lilypond with
47 other programs (lilypond-book, operating systems, GUIs,
48 convert-ly, etc). This section is written in formal technical
51 Users are not expected to read this manual from start to finish.
54 %%%%% SECTION ORGANIZATION
56 The order of headings inside documentation sections should be:
64 (omit any headings which do not apply)
66 Including at least one link to @lsrdir{} inside @seealso is
72 * Use two spaces for indentation in lilypond examples.
74 * Do not use tabs. They expand to nothing in DVI output.
76 * Do not use spaces at the beginning of a line (except in @example
77 or @verbatim environments), and do not use more than a single
78 space between words. `makeinfo' copies the input lines verbatim
79 without removing those spaces.
81 * Use two spaces after a period.
83 * Don't use a @ref{link to another section} in the middle of a
84 sentence. It looks ok in HTML, moderately bad in PDF, and
85 utterly horrible in INFO. Instead, reword the sentence so that
86 users are encouraged to see @ref{link to another section}.
87 (at the end of the sentence)
89 * Variables or numbers which consist of a single character
90 (probably followed by a punctuation mark) should be tied
91 properly, either to the previous or the next word. Example:
93 The variable@tie{}@var{a} ...
95 * To get consistent indentation in the DVI output it is better to
96 avoid the @verbatim environment. Use the @example environment
97 instead if possible, but without extraneous indentation. For
106 should be replaced with
114 where `@example' starts the line (without leading spaces).
116 * Use the `quote' option in @lilypond commands if possible.
118 Do not compress the input vertically; this is, do not use
120 Beginning of logical unit
124 continuation of logical unit
128 Beginning of logical unit
135 continuation of logical unit
137 This makes it easier to avoid forgetting the `@noindent'.
139 * Non-ASCII characters which are in utf-8 should be directly used;
140 this is, don't say `Ba@ss{}tuba' but `Baßtuba'. This ensures that
141 all such characters appear in all output formats.
143 * Lines should be less than 72 characters long. (I personally
144 recommend writing with 66-char lines, but don't bother modifying
147 * Use @q instead of `...' and @qq instead of ``...''. The latter macro
148 should be used with care since we use `...' as the default quoting
149 throughout the manual, except for things related to direct speech.
151 Warning: @q{} and @qq{} *MUST NOT* come at the end or beginning
152 of a line (unless it begins the paragraph). If these macros
153 @qq{appear like this}, then they will being a new paragraph.
155 In most cases, you should use @code{} or @samp{} instead.
160 * LilyPond input should be produce via
161 @lilypond[verbatim,quote,ragged-right]
162 with `fragment' and `relative=2' optional.
164 Examples about page layout may alter the quote/ragged-right
165 options. Omitting `verbatim' is not recommended (other than the
166 ``inspirational headword'' examples)
168 * Do not forget to create @cindex entries for new sections of text.
169 Enter commands with @funindex, i.e.
170 @cindex pitches, writing in different octaves
172 do not bother with the @code{} (they are added automatically). These
173 items are added to both the command index and the unified index.
175 * Avoid long stretches of input code. Noone is going to read them in
176 print. Instead refer to an example input file (with @lsr{}); these
177 are clickable in HTML.
179 * Abbrevs in caps, e.g., HTML, DVI, MIDI, etc.
183 1. To introduce lists
184 2. When beginning a quote: "So, he said,..."
185 This usage is rarer. Americans often just use a comma.
186 3. When adding a defining example at the end of a sentence.
189 %%%%% HINTS FOR TECHNICAL WRITING STYLE
191 * Do not refer to LilyPond in the text. The reader knows what the
192 manual is about. If you do, capitalization is LilyPond.
194 * If you explicitly refer to `lilypond' the program (or any other
195 command to be executed), say `@command{lilypond}'.
197 * Do not explicitly refer to the reader/user. There is no one
198 else besides the reader and the writer.
200 * Do not use abbreviations (don't, won't, etc.). If you do, use a
203 blabla blabla, i.e., blabla blabla
205 * Avoid fluff (``Notice that,'' ``as you can see,''
208 * The use of the word `illegal' is inappropriate in most cases.
209 Say `invalid' instead.