+2006-05-19 Graham Percival <gpermus@gmail.com>
+
+ * Documentation/user/README.txt, lilypond.tely, macros.itexi:
+ update framework for command index. DOC WRITERS: use @funindex
+ instead of @cindex @code{}.
+
2006-05-19 Han-Wen Nienhuys <hanwen@lilypond.org>
* lily/beam.cc (set_stem_lengths): trigger 'beaming callback, in
GENERAL GUIDELINES
* Do not forget to create @cindex entries for new sections of text.
+Enter commands with @funindex, i.e.
+@funindex \relative
+do not bother with the @code{} (they are added automatically). These
+items are added to both the command index and the unified index.
* The use of the word `illegal' is inappropriate in most cases. Say
`invalid' instead.
@end ifhtml
-@documentlanguage en
-@documentencoding utf-8
-
-@c FIXME: Index has two alphabetically sorted lists @code vs plain?
-@syncodeindex fn cp
+@c This produces the unified index
@syncodeindex ky cp
-@syncodeindex pg cp
-@syncodeindex tp cp
@syncodeindex vr cp
+@documentlanguage en
+@documentencoding utf-8
+
@finalout
* Example templates:: Ready-made templates.
* Cheat sheet:: Summary of LilyPond syntax.
* GNU Free Documentation License:: License of this document.
+* LilyPond command index::
* LilyPond index::
@end menu
@end ifnottex
@include cheatsheet.itely
@include fdl.itexi
+
+@node LilyPond command index
+@appendix LilyPond command index
+
+@printindex fn
+
@node LilyPond index
@appendix LilyPond index
@macro internalsref{NAME}@c
@c annoying parentheses stripped by add-html-footer.py
@ref{\NAME\,,,lilypond-internals}@c
-@findex \NAME\
+@vindex \NAME\
@end macro
@c usage: @inputfileref{input@/regression,FILE@/-NAME.ly}
@macro rglos{NAME}@c
@c annoying parentheses stripped by add-html-footer.py
@ref{\NAME\,,,music-glossary}@c
-@findex \NAME\
+@vindex \NAME\
@end macro
@end ifhtml
@macro internalsref{NAME}
@ref{\NAME\,,,lilypond-internals}@c
-@findex @code{\NAME\}
+@vindex @code{\NAME\}
@end macro
@macro inputfileref{DIR,NAME}
@macro rglos{NAME}@c
@ref{\NAME\,,,music-glossary}@c
-@findex \NAME\
+@vindex \NAME\
@end macro
@end ifdocbook
@macro internalsref{NAME}
@inforef{\NAME\,,lilypond-internals}@c
-@findex \NAME\@c
+@vindex \NAME\@c
@end macro
@macro inputfileref{DIR,NAME}
@macro rglos{NAME}@c
@inforef{\NAME\,,,music-glossary}@c
-@findex \NAME\
+@vindex \NAME\
@end macro
@macro usermanref{NAME}
@iftex
@macro internalsref{NAME}@c
-@findex \NAME\ @c
+@vindex \NAME\ @c
@code{\NAME\}@c
@end macro
@end macro
@macro rglos {NAME}
-@findex \NAME\ @c
+@vindex \NAME\ @c
@code{\NAME\}@c
@end macro
@end ifnottex
+
@macro refbugs
@noindent
@subsubheading Bugs
@macro context{NAME}@c
@code{\NAME\}@c should use internalsref
-@findex \NAME\@c
+@vindex \NAME\@c
@end macro
@macro refcommand{WHAT}
-@findex \WHAT\
+@vindex \WHAT\
@code{\WHAT\}
@end macro
@end macro
+@macro funindex {WORD}
+@findex \WORD\
+@kindex \WORD\
+@end macro
+
+