From: Jan Nieuwenhuizen Date: Fri, 14 Aug 2009 08:38:04 +0000 (+0200) Subject: Doc: Merge automated-engraving into essay. X-Git-Tag: release/2.13.4-1~179^2~71 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e2acba32831e6d352c6e2cccac579c930ad6efb2;p=lilypond.git Doc: Merge automated-engraving into essay. --- diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index e7e7f08e79..4f18f08e39 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -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 index 0000000000..192268ec0c --- /dev/null +++ b/Documentation/automated-engraving.itexi @@ -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 index c80f40cfbf..0000000000 --- a/Documentation/automated-engraving.texi +++ /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 - diff --git a/Documentation/essay.tely b/Documentation/essay.tely index 946086ca76..f77504bafe 100644 --- a/Documentation/essay.tely +++ b/Documentation/essay.tely @@ -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 diff --git a/Documentation/general.texi b/Documentation/general.texi index d4737d4ed9..9cf1e2508f 100644 --- a/Documentation/general.texi +++ b/Documentation/general.texi @@ -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 diff --git a/Documentation/nl/general.texi b/Documentation/nl/general.texi index bb1f4c784e..d6afdc8504 100644 --- a/Documentation/nl/general.texi +++ b/Documentation/nl/general.texi @@ -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 diff --git a/Documentation/web-texi2html.init b/Documentation/web-texi2html.init index e3307dd9c1..822f5beaa4 100644 --- a/Documentation/web-texi2html.init +++ b/Documentation/web-texi2html.init @@ -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, "
  • Main
  • \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, "
  • \n"); - + } push (@toc_entries, "\n"); #FIXME # push (@toc_entries, "\n"); @@ -737,11 +740,6 @@ sub print_lilypond_page_foot($) print $fh "\"Valid

    \n"; - print $fh "

    Web pages created with"; - print $fh " "; - print $fh " GNU Texinfo\n"; - print $fh " and "; - print $fh " texi2html.

    \n"; print $fh ""; print $fh "";