]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web: save more space on Manuals page.
authorGraham Percival <graham@percival-music.ca>
Sun, 10 Jan 2010 12:55:17 +0000 (12:55 +0000)
committerGraham Percival <graham@percival-music.ca>
Sun, 10 Jan 2010 12:55:17 +0000 (12:55 +0000)
Use smaller class for (details of "..."), and eliminate / shorten
a few more words.  Also added a @detail macro.

Documentation/common-macros.itexi
Documentation/css/lilypond-web.css
Documentation/web/manuals.itexi

index 4ba09cdd01162c62348858c7192ca2c7a9aac5d7..2c42b5185ebc9f0273793c2e33a20d9bcdbf51fd 100644 (file)
@@ -154,6 +154,20 @@ UNTRANSLATED NODE: IGNORE ME
 @end html
 @end macro
 
+@macro spanClass {CLASS}
+@html
+<span class="\CLASS\">
+@end html
+@end macro
+
+@macro spanEnd
+@c keep the space for proper nesting of </p>
+
+@html
+</span>
+@end html
+@end macro
+
 
 @c not strictly necessary, but it makes things easier for updating news
 @macro newsItem
index 4d60015e11d25ad117a5c5726430e61824c05f8f..7cd2ade3369ef2ae8fc39d1be038bfe6a508a4f1 100644 (file)
@@ -898,6 +898,10 @@ div.color4 h3 {
   font-size: 0.6em;
 }
 
+.detail {
+  font-size: 0.8em;
+}
+
 
 /* kill title, probably best done in the init file, though */
 h1.settitle {
index 5a159394f0cbee27bf21c4f35ab6dc2d8f0af19f..e78bfc444a37369e7f681477db726cde103e680b 100644 (file)
@@ -9,6 +9,13 @@
 @node Manuals
 @unnumbered Manuals
 
+@macro details{reference}
+@spanClass{detail}
+(@ref{\reference\, details of \reference\})
+@spanEnd
+@end macro
+
+
 @divClass{heading-center}
 @ifclear web_version
   @heading Manuals for LilyPond @version
@@ -32,17 +39,17 @@ first!
 
 @item @ifWebLinks{@manualStableLearningSplitNoName,@rlearningnamed{Top,Learning}}
 a @qq{must-read} gentle introduction to LilyPond.
-(@ref{Learning, details of Learning})
+@details{Learning}
 
 @item @ifWebLinks{@manualStableGlossarySplitNoName,@rglosnamed{Top,Glossary}}
 @emph{(optional reading)}
 musical terms and translations.
-(@ref{Glossary, details of Glossary})
+@details{Glossary}
 
 @item @ifWebLinks{@manualStableEssaySplitNoName,@ressaynamed{Top,Essay}}
 @emph{(optional reading)}
-background information about engraving and our aesthetics.
-(@ref{Essay, details of Essay})
+background information about computer engraving.
+@details{Essay}
 
 
 @end itemize
@@ -56,15 +63,15 @@ background information about engraving and our aesthetics.
 
 @item @ifWebLinks{@manualStableNotationSplitNoName,@rusernamed{Top,Notation}}
 syntax reference.
-(@ref{Notation, details of Notation})
+@details{Notation}
 
 @item @ifWebLinks{@manualStableUsageSplitNoName,@rprogramnamed{Top,Usage}}
 running the programs.
-(@ref{Usage, details of Usage})
+@details{Usage}
 
 @item @ifWebLinks{@manualStableSnippetsSplitNoName,@rlsrnamed{Top,Snippets}}
 short tricks and tips.
-(@ref{Snippets, details of Snippets})
+@details{Snippets}
 
 @end itemize
 
@@ -81,19 +88,19 @@ Frequently Asked Questions.
 
 @item @ref{Top, Web}:
 this document.
-(@ref{Web, details of Web})
+@details{Web}
 
 @item @ifWebLinks{@manualStableChangesSplitNoName,@rchangesnamed{Top,Changes}}
 what's new?
-(@ref{Changes, details of Changes})
+@details{Changes}
 
 @item @ifWebLinks{@manualStableExtendingSplitNoName,@rextendnamed{Top,Extending}}
-writing fancy tweaks.
-(@ref{Extending, details of Extending})
+fancy tweaks.
+@details{Extending}
 
 @item @ifWebLinks{@manualStableInternalsSplitNoName,@rinternalsnamed{Top,Internals}}
-reference for tweaks.
-(@ref{Internals, details of Internals})
+tweaks reference.
+@details{Internals}
 
 @end itemize