From ab81d69213616be086e6384013209ee0afbb18df Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Thu, 27 Mar 2008 01:51:33 +0100 Subject: [PATCH] Conversion to texinfo docs almost finished, create long HTML page, too --- Documentation/build.sh | 46 ++++++++++++---------- Documentation/examples/dadafull-defs.ly | 4 +- Documentation/lilypond-texi2html.init | 2 +- Documentation/{lilypond.css => orchestrallily.css} | 7 +++- Documentation/orchestrallily.tely | 9 ++--- 5 files changed, 38 insertions(+), 30 deletions(-) rewrite Documentation/build.sh (65%) rename Documentation/{lilypond.css => orchestrallily.css} (97%) diff --git a/Documentation/build.sh b/Documentation/build.sh dissimilarity index 65% index 3855111..8f83599 100755 --- a/Documentation/build.sh +++ b/Documentation/build.sh @@ -1,20 +1,26 @@ -mkdir -p orchestrallily/ texi/ -# ln -fs lilypond.css orchestrallily/lilypond.css -ln -fs ../images/score_structure.pdf ../examples/dada-defs.ly ../examples/dadafull-defs.ly ../images/score_structure.png texi/ -ln -fs ../lilypond.css ../images/score_structure.png orchestrallily/ - -lilypond-book --pdf --output=texi --include=examples orchestrallily.tely - -~/lilypond/texi2html/texi2html --css-ref=lilypond.css --split=chapter --init=lilypond-texi2html.init --init=orchestrallily.init --output=orchestrallily texi/orchestrallily.texi - -makeinfo --html --no-split --output=orchestrallily/makeinfo.html texi/orchestrallily.texi - -cd texi -texi2pdf --pdf --output=../orchestrallily/orchestrallily.pdf orchestrallily.texi -cd .. - -cd orchestrallily -ln -fs ../texi/*.{png,ly} . -cd .. - - +mkdir -p orchestrallily/ texi/ +# ln -fs lilypond.css orchestrallily/lilypond.css +# ln -fs ../images/score_structure.pdf ../examples/dada-defs.ly ../examples/dadafull-defs.ly ../images/score_structure.png texi/ +ln -fs ../images/score_structure.pdf texi/ + +echo "Running lilypond-book:" +lilypond-book --pdf --output=texi --include=examples orchestrallily.tely + +echo "Running texi2html:" +~/lilypond/texi2html/texi2html -I examples -I images --css-ref=orchestrallily.css --split=chapter --init=lilypond-texi2html.init --init=orchestrallily.init --output=orchestrallily texi/orchestrallily.texi +~/lilypond/texi2html/texi2html -I examples -I images --css-ref=orchestrallily.css --init=lilypond-texi2html.init --init=orchestrallily.init --output=orchestrallily/orchestrallily-bigpage.html texi/orchestrallily.texi + +echo "Running makeinfo (for comparison with texi2html):" +makeinfo --html --no-split --output=orchestrallily/makeinfo.html -I examples -I images texi/orchestrallily.texi + +echo "Running texi2pdf:" +cd texi +texi2pdf --quiet --pdf --output=../orchestrallily/orchestrallily.pdf -I ../examples -I ../images orchestrallily.texi +cd .. + +echo "Creating soft links for html links image and lilypond files:" +cd orchestrallily +ln -fs ../texi/*.{png,ly} ../orchestrallily.css ../images/score_structure.png . +cd .. + + diff --git a/Documentation/examples/dadafull-defs.ly b/Documentation/examples/dadafull-defs.ly index 1e20ff5..cc2fb92 100644 --- a/Documentation/examples/dadafull-defs.ly +++ b/Documentation/examples/dadafull-defs.ly @@ -1,9 +1,7 @@ \version "2.11.40" \include "orchestrallily.ly" - -\paper { ragged-bottom = ##t line-width=10\cm paper-height=15\cm paper-width=10\cm left-margin=0\cm right-margin=0\cm top-margin=0\cm bottom-margin=0\cm} +\paper { line-width=10\cm } #(set-global-staff-size 14) -\header {tagline =""} \header { title = "A useless opus" } diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init index 005f712..7d167c3 100644 --- a/Documentation/lilypond-texi2html.init +++ b/Documentation/lilypond-texi2html.init @@ -434,7 +434,7 @@ sub lilypond_print_navigation ); # $Texi2HTML::Config::SPLIT = 'section'; -@Texi2HTML::Config::CSS_REFS = ("lilypond.css"); +# @Texi2HTML::Config::CSS_REFS = ("lilypond.css"); $Texi2HTML::Config::USE_ACCESSKEY = 1; $Texi2HTML::Config::USE_LINKS = 1; $Texi2HTML::Config::USE_REL_REV = 1; diff --git a/Documentation/lilypond.css b/Documentation/orchestrallily.css similarity index 97% rename from Documentation/lilypond.css rename to Documentation/orchestrallily.css index 93df577..0f40eb3 100644 --- a/Documentation/lilypond.css +++ b/Documentation/orchestrallily.css @@ -100,7 +100,7 @@ div#tocframe { } #tocframe .contents { - width: 100%; + width: 97%; border: none; margin: 0em; background-color: transparent; @@ -161,4 +161,9 @@ li.toc_current ul { body { padding-left: 0; } #tocframe { display: none; } .nav_table { display: none; } +} +.float { + float: left; + margin-right: 5px; + margin-bottom: 5px; } \ No newline at end of file diff --git a/Documentation/orchestrallily.tely b/Documentation/orchestrallily.tely index 5ab36ea..7e0b91d 100644 --- a/Documentation/orchestrallily.tely +++ b/Documentation/orchestrallily.tely @@ -46,14 +46,13 @@ Copyright @copyright{} 2008 Reinhold Kainhofer, @email{reinhold@@kainhofer.com} @c Output the table of contents at the beginning. @contents -@shortcontents @c ******************************************************* @c ** TOP NODE ** @c ******************************************************* -@comment @ifnottex +@ifnottex @node Top @top The OrchestralLily Pckage @@ -61,10 +60,10 @@ Copyright @copyright{} 2008 Reinhold Kainhofer, @email{reinhold@@kainhofer.com} @item @b{Description}: A @uref{http://www.lilypond.org/, Lilypond} package to easily generate orchestral scores and other complex scores. @item @b{Author}: @uref{http://reinhold.kainhofer.com/,Reinhold Kainhofer}, @email{reinhold@@kainhofer.com} @item @b{Date}: February 2008 -@item @b{Download}: @uref{http://wiki.kainhofer.com/_media/lilypond/orchestrallily.ly,orchestrallily.ly, (Version 0.02, 2008-03-06)}, licensed under the GPL v3.0 +@item @b{Download}: @uref{http://wiki.kainhofer.com/_media/lilypond/orchestrallily.ly,orchestrallily.ly, (Version 0.02@comma{} 2008-03-06)}, licensed under the GPL v3.0 @end itemize -@comment @end ifnottex +@end ifnottex @menu * About OrchestralLily and Download:: @@ -94,7 +93,7 @@ Copyright @copyright{} 2008 Reinhold Kainhofer, @email{reinhold@@kainhofer.com} @item @b{Description}: A @uref{http://www.lilypond.org/, Lilypond} package to easily generate orchestral scores and other complex scores. @item @b{Author}: @uref{http://reinhold.kainhofer.com/,Reinhold Kainhofer}, @email{reinhold@@kainhofer.com} @item @b{Date}: February 2008 -@item @b{Download}: @uref{http://wiki.kainhofer.com/_media/lilypond/orchestrallily.ly,orchestrallily.ly, (Version 0.02, 2008-03-06)}, licensed under the GPL v3.0 +@item @b{Download}: @uref{http://wiki.kainhofer.com/_media/lilypond/orchestrallily.ly,orchestrallily.ly, (Version 0.02@comma{} 2008-03-06)}, licensed under the GPL v3.0 @end itemize -- 2.11.4.GIT