@documentlanguage en
@afourpaper
-@c `Web' was imported 2009-08-05 with git commit b938d71...
-@c @macro copyrightDeclare
-@c Copyright @copyright{} 2009--2010 by the authors.
-@c @end macro
-
@set FDL
@set web
@include macros.itexi
@include weblinks.itexi
-@afourpaper
@c don't remove this comment.
@ignore
@omflanguage English
@end ignore
+@c `Web' was born 2003-03-30 with this commit:
+@c Initial revision
+@c author: Han-Wen Nienhuys
+@c commit: d189a2119004c2f75da2020ea2ed36d817582fc5
+
+@c @macro copyrightDeclare
+@c Copyright @copyright{} 2003--2015 by the authors.
+@c @end macro
+
@copying
-Copyright @copyright{} 2009--2010 by the authors.
+Copyright @copyright{} 2003--2015 by the authors.
@c next line is necessary for broken pre-4.13 texinfo's
@c install-info, so leave it there until we officially
@c @im ageId{cmws,web-snippet-alpha.png,Catchy Musical Web Snippet}
@divId{quickSummary}
-@subheading What is LilyPond?
+LilyPond is a music engraving program, devoted to producing the
+highest-quality sheet music possible. It brings the aesthetics of
+traditionally engraved music to computer printouts. LilyPond is free
+software and part of the @uref{http://gnu.org,GNU Project}.
-LilyPond is an open-source music engraving program, devoted to
-producing the highest-quality sheet music possible. This free
-software brings the aesthetics of traditionally engraved music to
-computer printouts.
@divClass{align-right}
Read more in our @ref{Introduction}!
@divEnd
@divEnd
-@divClass{separator}
+
+@divId{homepage-main}
+
+@divClass{column-center-top}
+
+@subheading Beautiful Sheet Music
+
+@c This example image is the image from the website version of the essay
+@c manual, downloaded to the pictures directory for use on the home page.
+@c Large version is generated manually from ly file in pictures directory.
+@divId{homepage-example-image-wrapper}
+@imageClickable{bwv861-lilypond,png,,bwv861-lilypond-large,png,center}
@divEnd
+@ifclear web_version
+ @c no anchor links, just text
-@divId{news}
+LilyPond is a powerful and flexible tool for engraving tasks of
+all kinds, for example classical music (like the example above by J.S.
+Bach), complex notation, early music, modern music, tablature,
+vocal music, lead sheets, educational materials, large
+orchestral projects, customized output, and even Schenker graphs.
+
+@end ifclear
+@ifset web_version
+ @c anchor links, link to individual examples by their <a> tag
+ @c Translators should use the localized anchor name
+ @c (e.g. examples.html#Musica-Antica)
+ @c to be found in out-www/web/examples.LL.html
+
+LilyPond is a powerful and flexible tool for engraving tasks of
+all kinds, for example
+@uref{examples.html#Classical-Music, classical music}
+(like the example above by J.S. Bach),
+@uref{examples.html#Complex-Notation, complex notation},
+@uref{examples.html#Early-Music, early music},
+@uref{examples.html#Modern-Music, modern music},
+@uref{examples.html#Tablature, tablature},
+@uref{examples.html#Vocal-Music, vocal music},
+@uref{examples.html#Lead-Sheets, lead sheets},
+@uref{examples.html#Educational-Applications, educational materials},
+@uref{examples.html#Large-Projects, large orchestral projects},
+@uref{examples.html#Customized-Output, customized output},
+and even
+@uref{examples.html#Schenker-Graphs, Schenker graphs}.
+
+@end ifset
+
+Browse our gallery of @ref{Examples} and be inspired!
+
+@divEnd
+
+@divClass{column-center-middle-color2}
+@subheading News
@c TODO: generate this automatically, including RSS feed.
-@include web/news-front.itexi
+@include web/news-headlines.itexi
+
+@ref{News, More news...}
-@divClass{float-right}
-(@ref{Old news})
@divEnd
@divEnd
+
@ifclear web_version
@c do nothing
@end ifclear
@ifset web_version
- @c make the box:
-@divId{latestVersion}
-@subheading Quick links
+ @c make the side bar:
+@divId{homepage-sidebar}
+@subheading Stable Release
@c TODO: javascript to detect OS and suggest download?
-@subsubheading Stable
-
@ref{Download, Download @versionStable}
@ref{Manuals, Manuals @versionStable}
-@subsubheading Unstable
+@subheading Unstable Release
@ref{Development, Download @versionDevel}
@ref{Development, Manuals @versionDevel}
+@subheading Pondings
+@divId{pondingsText}
+
+@divEnd
+
@divEnd
@end ifset
+@html
+
+<script language="JavaScript" type="text/javascript">
+ function loadXMLDoc(dname)
+ {
+ if (window.XMLHttpRequest)
+ {
+ xhttp=new XMLHttpRequest();
+ }
+ else
+ {
+ xhttp=new ActiveXObject("Microsoft.XMLHTTP");
+ }
+ xhttp.open("GET",dname,false);
+ xhttp.send();
+ return xhttp.responseXML;
+ }
+
+ var xmlDoc = loadXMLDoc("tweets.xml");
+ var tweets = xmlDoc.getElementsByTagName("tweet");
+ var index = Math.floor(Math.random() * tweets.length);
+ var tweet = tweets[index];
+ var text = tweet.childNodes[0];
+ document.getElementById("pondingsText").innerHTML = text.nodeValue;
+</script>
+
+@end html
+
+
@ifnottex
@divClass{hide}
@macro docLinkSplit{name,base,webLink}
-@ifclear web_version
- @uref{../\base\/index.html, \name\ (split HTML)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (split HTML),\base\/index.html,\webLink\}
@end macro
@macro docLinkBig{name,base,webLink}
-@ifclear web_version
- @uref{../\base\-big-page.html, \name\ (big HTML)}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\name\ (big HTML),\base\-big-page.html,\webLink\}
@end macro
@macro docLinkPdf{name,base,webLink}
-@ifclear web_version
- @uref{../\base\.pdf, \base\.pdf}
-@end ifclear
-@ifset web_version
- \webLink\
-@end ifset
+ @docLink{\base\.pdf,\base\.pdf,\webLink\}
@end macro
@end macro
-@macro contactUs{}
+@ifhtml
+@macro contactUsAbout{topic}
+@divClass{heading-center}
+@divClass{contactBox}
+If you are aware of any other \topic\ which could be listed here,
+please let us know by writing a message to the bug-lilypond
+mailing list. If you're not subscribed yet you can do so on the list's
+@uref{https://lists.gnu.org/mailman/listinfo/bug-lilypond,info page}
+or post directly through the
+@uref{http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs,
+gmane lilypond.bugs web interface}.
+@divEnd
+@divEnd
@end macro
+@end ifhtml
+
+@ifnothtml
+@macro contactUsAbout{topic}
+@cartouche
+If you are aware of any other \topic\ which could be listed here,
+please let us know by following the instructions on
+@ref{Bug reports}.
+
+@end cartouche
+
+@end macro
+@end ifnothtml
@include web/introduction.itexi
@include web/download.itexi