From 7e4dc7d03c5bc354f343550f313a10f857367556 Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Sun, 8 Aug 2010 10:17:16 +0100 Subject: [PATCH] Web: use a div for css'ing manual section links. This allows us to use slightly cleaner texinfo source. --- Documentation/css/lilypond-web.css | 5 ++- Documentation/web/manuals.itexi | 51 +++++++++++------------------- 2 files changed, 23 insertions(+), 33 deletions(-) diff --git a/Documentation/css/lilypond-web.css b/Documentation/css/lilypond-web.css index f8831aa677..2a9ed72a8b 100644 --- a/Documentation/css/lilypond-web.css +++ b/Documentation/css/lilypond-web.css @@ -941,7 +941,7 @@ div.color4 h3 { font-size: 0.6em; } -.strong-link a { +.manuals a { font-weight: bold; } @@ -949,6 +949,9 @@ div.color4 h3 { font-size: 0.8em; } +.detail a { + font-weight: normal; +} /* 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 342c117050..819aa723c9 100644 --- a/Documentation/web/manuals.itexi +++ b/Documentation/web/manuals.itexi @@ -15,6 +15,7 @@ @spanClass{detail} (@ref{\reference\, details of \reference\}) @spanEnd @end macro +@divClass{manuals} @divClass{heading-center} @ifclear web_version @@ -33,26 +34,22 @@ @c ugh! don't put a newline after spanEnd - it generates a

tag! -td @item -@spanClass{strong-link} @ref{Text input}: -@spanEnd LilyPond is a @strong{text-based} music engraver. Read this first! +LilyPond is a @strong{text-based} music engraver. Read this first! @item -@spanClass{strong-link} @ifWebLinks{@manualStableLearningSplitNoName,@rlearningnamed{Top,Learning}} -@spanEnd a @qq{must-read} gentle introduction to LilyPond. +a @qq{must-read} gentle introduction to LilyPond. @details{Learning} @item -@spanClass{strong-link} @ifWebLinks{@manualStableGlossarySplitNoName,@rglosnamed{Top,Glossary}} -@spanEnd @emph{(optional reading)} musical terms and translations. +@emph{(optional reading)} musical terms and translations. @details{Glossary} @item -@spanClass{strong-link} @ifWebLinks{@manualStableEssaySplitNoName,@ressaynamed{Top,Essay}} -@spanEnd @emph{(optional reading)} background information about computer engraving. +@emph{(optional reading)} background information about computer engraving. @details{Essay} @end itemize @@ -65,21 +62,18 @@ @itemize @item -@spanClass{strong-link} @ifWebLinks{@manualStableNotationSplitNoName,@rusernamed{Top,Notation}} -@spanEnd syntax reference. +syntax reference. @details{Notation} @item -@spanClass{strong-link} @ifWebLinks{@manualStableUsageSplitNoName,@rprogramnamed{Top,Usage}} -@spanEnd running the programs. +running the programs. @details{Usage} @item -@spanClass{strong-link} @ifWebLinks{@manualStableSnippetsSplitNoName,@rlsrnamed{Top,Snippets}} -@spanEnd short tricks and tips. +short tricks and tips. @details{Snippets} @end itemize @@ -93,32 +87,27 @@ @itemize @item -@spanClass{strong-link} @ref{FAQ}: -@spanEnd Frequently Asked Questions. +Frequently Asked Questions. @item -@spanClass{strong-link} @ref{Top, Web}: -@spanEnd this document. +this document. @details{Web} @item -@spanClass{strong-link} @ifWebLinks{@manualStableChangesSplitNoName,@rchangesnamed{Top,Changes}} -@spanEnd what's new? +what's new? @details{Changes} @item -@spanClass{strong-link} @ifWebLinks{@manualStableExtendingSplitNoName,@rextendnamed{Top,Extending}} -@spanEnd fancy tweaks. +fancy tweaks. @details{Extending} @item -@spanClass{strong-link} @ifWebLinks{@manualStableInternalsSplitNoName,@rinternalsnamed{Top,Internals}} -@spanEnd tweaks reference. +tweaks reference. @details{Internals} @end itemize @@ -132,24 +121,20 @@ @itemize @item -@spanClass{strong-link} @ref{Translated}: -@spanEnd translation status for non-English readers. +translation status for non-English readers. @item -@spanClass{strong-link} @ref{All}: -@spanEnd downloadable and old manuals. +downloadable and old manuals. @item -@spanClass{strong-link} @ref{Development}: -@spanEnd manuals for the unstable version. +manuals for the unstable version. @item -@spanClass{strong-link} @ref{FDL}: -@spanEnd these manuals are published under the GNU Free Documentation License. +these manuals are published under the GNU Free Documentation License. @end itemize @@ -176,6 +161,8 @@ @divEnd +@divEnd + @c TRANSLATORS, most of the text in this file came from @c LM 1.1 About the documentation (before this section was -- 2.39.5