2004-11-17 Jan Nieuwenhuizen <janneke@gnu.org>
+ * Documentation/user/lilypond.tely:
+ * Documentation/user/lilypond-book.itely: Fix names of lilypond
+ and lilypond-book nodes, so that `info lilypond' visits the manual
+ at top level, and `info lilypond-book' visits the lilypond-book
+ section.
+
+ * Documentation/user/GNUmakefile (local-install-info): Fix rules
+ and packager messages.
+
* lily/pangofc-afm-decoder.cc: Update test.
2004-11-16 Jan Nieuwenhuizen <janneke@gnu.org>
# This builds all .info targets with images, in out-www.
# Viewawble with a recent Emacs, doing: M-x info out-www/lilypond.info
-#info: $(INFO_FILES)
-
# Cancel the special, non-image info generation rule that skips images:
$(outdir)/%.info: $(outdir)/%.nexi
-local-install-info: install-info info
+local-install-info: info
-$(INSTALL) -d $(DESTDIR)$(package_infodir)
ifneq ($(patsubst %/local,%,$(DESTDIR)$(prefix)),/usr)
## Can not have absolute symlinks because some binary packages build schemes
## install files in nonstandard root. Best we can do is to notify the
## builder or packager.
- @echo "***"
+ @echo
+ @echo "***************************************************************"
+ @echo "Please add or update the LilyPond direntries, do"
+ @echo
+ @echo " install-info --info-dir=$(infodir) $(outdir)/lilypond.info"
+ @echo
@echo "For images in the INFO docs to work, do: "
+ @echo
@echo " (cd $(package_infodir) && ln -sf ../../doc/lilypond/Documentation/user/out-www/*png .)"
@echo "or add something like that to the postinstall script."
- @echo "***"
+ @echo
else
+
+ -$(INSTALL) -d $(DESTDIR)$(package_infodir)
+ install-info --info-dir=$(infodir) $(outdir)/lilypond.info
(cd $(package_infodir) && ln -sf $(local_package_docdir)/Documentation/user/out-www/*png .)
endif
local-uninstall-WWW:
rm -f $(package_infodir)/*.png
+
+else
+
+# Cancel the default info generation rule that generates images:
+$(outdir)/%.info: # $(outdir)/%.texi
+
+local-install-info: info
+ -$(INSTALL) -d $(DESTDIR)$(package_infodir)
+ifneq ($(patsubst %/local,%,$(DESTDIR)$(prefix)),/usr)
+## Can not have absolute symlinks because some binary packages build schemes
+## install files in nonstandard root. Best we can do is to notify the
+## builder or packager.
+ @echo
+ @echo "***************************************************************"
+ @echo "Please add or update the LilyPond direntries, do"
+ @echo
+ @echo " install-info --info-dir=$(infodir) out/lilypond.info"
+ @echo
+ @echo "For images in the INFO docs to work, do"
+ @echo
+ @echo " make out=www install-info "
+ @echo
+ @echo "and read the extra instructions."
+ @echo
else
- # Cancel the default info generation rule that generates images:
- $(outdir)/%.info: # $(outdir)/%.texi
+ -$(INSTALL) -d $(DESTDIR)$(package_infodir)
+ install-info --info-dir=$(infodir) $(outdir)/lilypond.info
+ @echo
+ @echo "***************************************************************"
+ @echo "For images in the INFO docs to work, do"
+ @echo
+ @echo " make out=www install-info "
+ @echo
+endif
+
+
endif
# All web targets, except info image symlinks and info docs are
@section Lilypond-book templates
These templates are for use with @code{lilypond-book}. If you're not familiar
-with this program, please refer to @ref{Integrating text and music}.
+with this program, please refer to @ref{LilyPond-book}.
@subsection LaTeX
@item
@ifhtml
-The
+The chapter
@end ifhtml
-@emph{@ref{Integrating text and music}}
-explains the details behind creating documents with in-line music
-examples (like this manual).
+@emph{@ref{LilyPond-book}} explains the details behind creating
+documents with in-line music examples (like this manual).
@item
@ifhtml
@end ignore
-
-@node Integrating text and music
-@chapter Integrating text and music
+@c Note: keep this node named so that `info lilypond-book' brings you here.
+@node LilyPond-book
+@chapter LilyPond-book: Integrating text and music
If you want to add pictures of music to a document, you can simply do it
the way you would do with other types of pictures. The pictures are
This procedure may be applied to La@TeX{}, HTML or Texinfo documents.
@menu
-* An example of a musicological document::
-* Integrating LaTeX and music::
-* Integrating Texinfo and music::
-* Integrating HTML and music::
-* Music fragment options::
-* Invoking lilypond-book::
-* Filename extensions::
+* An example of a musicological document::
+* Integrating LaTeX and music::
+* Integrating Texinfo and music::
+* Integrating HTML and music::
+* Music fragment options::
+* Invoking lilypond-book::
+* Filename extensions::
@end menu
@dircategory GNU music project
@direntry
-@c prepend GNU for dir, must be unique
-@c do not list the `lilypond' node at toplevel, so that `info lilypond'
-@c goes to Top.
+@ignore
+
+ * Prepend GNU for dir, must be unique.
+
+ * Do not list the `lilypond' node at toplevel, so that `info lilypond'
+ goes to Top.
+
+ * List all commands in direntry.
+
@c * lilypond: (lilypond/lilypond)Running LilyPond. Invoking the
-@c LilyPond program.
-* GNU LilyPond: (lilypond/lilypond). The GNU music typesetter.
+@c LilyPond program.
+
+@end ignore
+
+* LilyPond: (lilypond/lilypond). The GNU music typesetter.
+* abc2ly: (lilypond/lilypond)Invoking abc2ly. Importing ABC.
* convert-ly: (lilypond/lilypond)Invoking convert-ly. Older LilyPond versions.
-* midi2ly: (lilypond/lilypond)Invoking midi2ly. Importing MIDI.
* etf2ly: (lilypond/lilypond)Invoking etf2ly. Importing Finale.
-* abc2ly: (lilypond/lilypond)Invoking abc2ly. Importing ABC.
-* musedata2ly: (lilypond/lilypond)Invoking musedata2ly. Importing MuseData.
+* lilypond-book: (lilypond/lilypond)LilyPond-book. Itegrating text and music.
+* midi2ly: (lilypond/lilypond)Invoking midi2ly. Importing MIDI.
* mup2ly: (lilypond/lilypond)Invoking mup2ly. Importing Mup.
+* musedata2ly: (lilypond/lilypond)Invoking musedata2ly. Importing MuseData.
@end direntry
* Interfaces for programmers::
* Running LilyPond:: Operation.
* Converting from other formats:: Converting to lilypond source format.
-* Integrating text and music:: Integrating text and music with lilypond-book.
+* LilyPond-book:: Integrating text and music.
* Literature list::
* Scheme tutorial::
* Notation manual details::