]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: Merge automated-engraving into essay.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 14 Aug 2009 08:38:04 +0000 (10:38 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 14 Aug 2009 11:58:28 +0000 (13:58 +0200)
Documentation/GNUmakefile
Documentation/automated-engraving.itexi [new file with mode: 0644]
Documentation/automated-engraving.texi [deleted file]
Documentation/essay.tely
Documentation/general.texi
Documentation/nl/general.texi
Documentation/web-texi2html.init

index e7e7f08e7953131cbc5c1085bb91bfc2ec856adc..4f18f08e39b1a15ae86b9c630cc6bb09be66ceb9 100644 (file)
@@ -93,12 +93,12 @@ OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES)))
 ## No big page
 OUT_HTML_FILES := $(subst $(outdir)/general-big-page.html,,$(OUT_HTML_FILES))
 
+$(outdir)/essay/index.html: TEXI2HTML_INIT = $(WEB_TEXI2HTML_INIT) -D=shallow_toc
+$(outdir)/essay/index.html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT)
+
 $(outdir)/general/index.html: TEXI2HTML_INIT = $(WEB_TEXI2HTML_INIT)
 $(outdir)/general/index.html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT)
 
-$(outdir)/automated-engraving/index.html: TEXI2HTML_INIT = $(WEB_TEXI2HTML_INIT)
-$(outdir)/automated-engraving/index.html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT)
-
 ###########
 ### Targets
 
diff --git a/Documentation/automated-engraving.itexi b/Documentation/automated-engraving.itexi
new file mode 100644 (file)
index 0000000..192268e
--- /dev/null
@@ -0,0 +1,84 @@
+@c -*- coding: utf-8; mode: texinfo; -*-
+@ignore
+    Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
+
+    When revising a translation, copy the HEAD committish of the
+    version that you are working on.  See TRANSLATION for details.
+@end ignore
+
+@ignore
+hmm, the one big page is too big, but it was really inviting to
+     read.  this is not.  maybe just scrap this menu and introduction
+     to index?
+@end ignore
+
+@c @setfilename automated-engraving.info
+@c @settitle Obsessed with putting ink on paper
+@c @documentencoding UTF-8
+@c @documentlanguage en
+
+@c @set web
+@c @include macros.itexi
+
+@c @afourpaper
+
+@c @ifnottex
+@c @node Top
+@c @top
+@c @chapheading
+@c @end ifnottex
+
+@node automated-engraving
+@unnumbered Obsessed with putting ink on paper
+@c @finalout
+
+@heading What is behind LilyPond?
+
+@sourceimage{hader-collage,,,.png}
+
+LilyPond is not unique in making music notation: there are a lot of
+programs that print music, and nowadays most of the newly printed
+music is made with computers.  Unfortunately, that also shows: just
+ask any musician that plays classical music: new scores do not look as
+nice as old ones.
+
+What is the difference between hand-work and machine work, and what
+has caused it?  How can we improve the situation?  This essay explains
+problems in music notation (software), and our approach to solving
+them.
+
+@menu
+* introduction:: Introduction -- what is wrong with computer music notation.
+* software:: What is wrong with software -- or how Finale is not the end-all of music software.
+* problem-statement:: How not to design software -- or modeling music notation.
+* divide-and-conquer:: Divide and conqueror -- a blue print for automated notation.
+* implementing-notation:: Impressive, but does it also work in theory -- a practical approach to capturing notation.
+* engraving:: Music engraving -- the art of printing music.
+* implementing-typography:: Implementing typography -- hackers attack the engraving problem.
+* formatting-architecture:: A flexible program architecture -- lets us write engraving software 
+* scoring-esthetics:: Beautiful numbers -- how LilyPond participates in the Miss World contests.
+* benchmarking:: Notation benchmarking -- is a flexible architecture enough?
+* schubert:: Notation benchmarking -- project too?
+* typography-features:: Typographical features -- unique to LilyPond.
+* input-format:: Input format -- how to enter music. 
+* conclusion:: Conclusion.
+@end menu
+
+@contents
+
+@c This essay is also available in @ref{big-page.html,one big page}.
+
+@include automated-engraving/introduction.itexi
+@include automated-engraving/software.itexi
+@include automated-engraving/problem-statement.itexi
+@include automated-engraving/divide-and-conquer.itexi
+@include automated-engraving/implementing-notation.itexi
+@include automated-engraving/engraving.itexi
+@include automated-engraving/implementing-typography.itexi
+@include automated-engraving/formatting-architecture.itexi
+@include automated-engraving/scoring-esthetics.itexi
+@include automated-engraving/benchmarking.itexi
+@include automated-engraving/schubert.itexi
+@include automated-engraving/typography-features.itexi
+@include automated-engraving/input-format.itexi
+@include automated-engraving/conclusion.itexi
diff --git a/Documentation/automated-engraving.texi b/Documentation/automated-engraving.texi
deleted file mode 100644 (file)
index c80f40c..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-\input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
-@ignore
-    Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
-
-    When revising a translation, copy the HEAD committish of the
-    version that you are working on.  See TRANSLATION for details.
-@end ignore
-
-@ignore
-hmm, the one big page is too big, but it was really inviting to
-     read.  this is not.  maybe just scrap this menu and introduction
-     to index?
-@end ignore
-
-@setfilename automated-engraving.info
-@settitle Obsessed with putting ink on paper
-@documentencoding UTF-8
-@documentlanguage en
-
-@set web
-@include macros.itexi
-
-@afourpaper
-
-@ifnottex
-@node Top
-@top
-@chapheading
-@end ifnottex
-
-@finalout
-
-@heading What is behind LilyPond?
-
-@sourceimage{hader-collage,,,.png}
-
-LilyPond is not unique in making music notation: there are a lot of
-programs that print music, and nowadays most of the newly printed
-music is made with computers.  Unfortunately, that also shows: just
-ask any musician that plays classical music: new scores do not look as
-nice as old ones.
-
-What is the difference between hand-work and machine work, and what
-  has caused it?  How can we improve the situation?  This essay explains
-  problems in music notation (software), and our approach to solving
-  them.
-
-@menu
-* introduction:: Introduction -- what is wrong with computer music notation.
-* software:: What is wrong with software -- or how Finale is not the end-all of music software.
-* problem-statement:: How not to design software -- or modeling music notation.
-* divide-and-conquer:: Divide and conqueror -- a blue print for automated notation.
-* implementing-notation:: Impressive, but does it also work in theory -- a practical approach to capturing notation.
-* engraving:: Music engraving -- the art of printing music.
-* implementing-typography:: Implementing typography -- hackers attack the engraving problem.
-* formatting-architecture:: A flexible program architecture -- lets us write engraving software 
-* scoring-esthetics:: Beautiful numbers -- how LilyPond participates in the Miss World contests.
-* benchmarking:: Notation benchmarking -- is a flexible architecture enough?
-* schubert:: Notation benchmarking -- project too?
-* typography-features:: Typographical features -- unique to LilyPond.
-* input-format:: Input format -- how to enter music. 
-* conclusion:: Conclusion.
-@end menu
-
-@contents
-
-@c This essay is also available in @ref{big-page.html,one big page}.
-
-@include automated-engraving/introduction.itexi
-@include automated-engraving/software.itexi
-@include automated-engraving/problem-statement.itexi
-@include automated-engraving/divide-and-conquer.itexi
-@include automated-engraving/implementing-notation.itexi
-@include automated-engraving/engraving.itexi
-@include automated-engraving/implementing-typography.itexi
-@include automated-engraving/formatting-architecture.itexi
-@include automated-engraving/scoring-esthetics.itexi
-@include automated-engraving/benchmarking.itexi
-@include automated-engraving/schubert.itexi
-@include automated-engraving/typography-features.itexi
-@include automated-engraving/input-format.itexi
-@include automated-engraving/conclusion.itexi
-
-@bye
-
index 946086ca7699b9e5b09cc6b6e550078adb74c41f..f77504bafe5d3da04cd1f48fad23e863658065a8 100644 (file)
@@ -10,6 +10,7 @@
 @documentencoding UTF-8
 @documentlanguage en
 
+@set web
 @include macros.itexi
 
 @afourpaper
@@ -89,6 +90,7 @@ Free Documentation License''.
 
 @menu
 * Music engraving::
+* automated-engraving:: Essay on Automated engraving.
 * Literature list::
 * GNU Free Documentation License:: License of this document.
 * LilyPond index::
@@ -97,8 +99,10 @@ Free Documentation License''.
 @contents
 
 @include essay/engraving.itely
+@include automated-engraving.itexi
 @include essay/literature.itely
 
+@clear web
 @include fdl.itexi
 
 @node LilyPond index
index d4737d4ed9f6a12d6bca522a25aeced8a9b1af06..9cf1e2508f83be8dfcf5f4c623efad5c603184d4 100644 (file)
@@ -88,7 +88,7 @@ Read more in our @ref{Introduction}!
 @c This and more in our @ressaynamed{Engraving, essay}.
 @c Possibly, node Top always works?
 @c This and more in our @ressaynamed{Top, essay}.
-This and more in our @ref{Top,,Essay,automated-engraving,Essay}.
+This and more in our @ref{automated-engraving,,Essay,essay,Essay}.
 
 @divEnd
 @divEnd
index bb1f4c784e4f1985f3b9972d8cb46dc16a91cefc..d6afdc8504bc982dbe3152b47e491ae51f31255b 100644 (file)
@@ -65,7 +65,7 @@ Lees de @ref{Inleiding}!
 @c Dat en meer in ons @ressaynamed{Engraving, essay}.
 @c Possibly, node Top always works?
 @c Dat en meer in ons @ressaynamed{Top, essay}.
-Dat en meer in ons @ref{Top,,Essay,automated-engraving,Essay}.
+Dat en meer in ons @ref{automated-engraving,,Essay,essay,Essay}.
 
 @divEnd
 @divEnd
index e3307dd9c16bd6c749798111743d39ddf0c9a7f8..822f5beaa4d05729a1d1d2ff32041ac83317c454 100644 (file)
@@ -596,6 +596,9 @@ sub lilypond_generate_page_toc_body($)
       $parentelements{$current_element->{'sectionup'}->{'id'}} = 1
               if ($current_element->{'sectionup'}->{'id'} ne '');
       $current_element = $current_element->{'sectionup'};
+      if (exists($main::value{'shallow_toc'})) {
+         last;
+      }
     }
     return () if not defined($current_element);
     # Create the toc entries recursively
@@ -610,15 +613,15 @@ sub lilypond_generate_page_toc_body($)
     } else {
         push (@toc_entries, "<li class=\"toc_current\"><a href=\"index.html\">Main</a></li>\n");
     }
-
     my $children = $current_element->{'section_childs'};
 # FIXME: generate toc
     foreach ( @$children ) {
       push (@toc_entries, generate_ly_toc_entries($_, \%parentelements, $page_toc_depth));
     }
+    if (!exists($main::value{'shallow_toc'})) {
 # FIXME: add search entry box
     push (@toc_entries, "<li><form action=\"#\" method=\"get\"><input onfocus=\"this.value=''\" type=\"text\" name=\"search\" id=\"search\" value=\"Search\"></form></li>\n");
-
+    }
     push (@toc_entries, "</ul>\n");
 #FIXME
 #    push (@toc_entries, "</div>\n");
@@ -737,11 +740,6 @@ sub print_lilypond_page_foot($)
   print $fh "<img src=\"http://www.w3.org/Icons/valid-html401\"\n";
   print $fh "     alt=\"Valid HTML 4.01 Transitional\"\n";
   print $fh "     height=\"31\" width=\"88\"></a></p>\n";
-  print $fh "<p>Web pages created with";
-  print $fh " <a href=\"http://www.gnu.org/software/texinfo/\">";
-  print $fh " GNU Texinfo</a>\n";
-  print $fh " and <a href=\"http://www.nongnu.org/texi2html/\">";
-  print $fh " texi2html</a>.</p>\n";
   print $fh "</div>";
   print $fh "</div>";