From 381bfecf852e1b04957494c16bac4d6a06814cc8 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sun, 10 Jan 2010 12:55:17 +0000 Subject: [PATCH] Web: save more space on Manuals page. Use smaller class for (details of "..."), and eliminate / shorten a few more words. Also added a @detail macro. --- Documentation/common-macros.itexi | 14 +++++++++++++ Documentation/css/lilypond-web.css | 4 ++++ Documentation/web/manuals.itexi | 33 ++++++++++++++++++------------ 3 files changed, 38 insertions(+), 13 deletions(-) diff --git a/Documentation/common-macros.itexi b/Documentation/common-macros.itexi index 4ba09cdd01..2c42b5185e 100644 --- a/Documentation/common-macros.itexi +++ b/Documentation/common-macros.itexi @@ -154,6 +154,20 @@ UNTRANSLATED NODE: IGNORE ME @end html @end macro +@macro spanClass {CLASS} +@html + +@end html +@end macro + +@macro spanEnd +@c keep the space for proper nesting of

+ +@html +
+@end html +@end macro + @c not strictly necessary, but it makes things easier for updating news @macro newsItem diff --git a/Documentation/css/lilypond-web.css b/Documentation/css/lilypond-web.css index 4d60015e11..7cd2ade336 100644 --- a/Documentation/css/lilypond-web.css +++ b/Documentation/css/lilypond-web.css @@ -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 { diff --git a/Documentation/web/manuals.itexi b/Documentation/web/manuals.itexi index 5a159394f0..e78bfc444a 100644 --- a/Documentation/web/manuals.itexi +++ b/Documentation/web/manuals.itexi @@ -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 -- 2.39.2