]> git.donarmstrong.com Git - lilypond.git/commitdiff
add Cascading Style Sheet for html-docs: use thin, black <hr>.
authorHeikki Junes <heikki.junes@hut.fi>
Sun, 20 Jun 2004 22:17:36 +0000 (22:17 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Sun, 20 Jun 2004 22:17:36 +0000 (22:17 +0000)
ChangeLog
Documentation/texinfo.css [new file with mode: 0644]
Documentation/user/GNUmakefile
stepmake/stepmake/texinfo-rules.make

index 5032c50a367470a5afba9f08cf8777c48f29ccf8..522522ca824454b8aa14c1d6e6ec4eb56062c912 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-06-20  Heikki Junes   <hjunes@cc.hut.fi>
+       * Documentation/user/GNUmakefile:
+       * stepmake/stepmake/texinfo-rules: add Cascading Style Sheet using
+       --include-css=.../texinfo.css; command includes css into the html.
+
+       * Documentation/texinfo.css: add file.
+       define <hr> as black and thin.            
 2004-06-20  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
        * lily/stencil.cc (interpret_stencil_expression): add grob-cause
diff --git a/Documentation/texinfo.css b/Documentation/texinfo.css
new file mode 100644 (file)
index 0000000..081c9ad
--- /dev/null
@@ -0,0 +1 @@
+  hr { border:0; height:1; color: #000000; background-color: #000000; }
index 7b220f89be17629e4e1652a25976839aab701fcf..5a033da3b5fb576e083f0a7f1aa6d517842fbd0d 100644 (file)
@@ -94,16 +94,16 @@ $(outdir)/lilypond.nexi: $(outdir)/lilypond-internals.texi
 
 $(outdir)/lilypond/lilypond.html: $(outdir)/lilypond.texi 
        mkdir -p $(dir $@)
-       $(MAKEINFO) -I$(outdir) --output=$(outdir)/lilypond --html $<
-       $(MAKEINFO) -I$(outdir) --output=$@ --html --no-split --no-headers $<
+       $(MAKEINFO) -I$(outdir) --output=$(outdir)/lilypond --css-include=$(builddir)/Documentation/texinfo.css --html $<
+       $(MAKEINFO) -I$(outdir) --output=$@ --css-include=$(builddir)/Documentation/texinfo.css --html --no-split --no-headers $<
        perl -i~ -pe 's!../lilypond-internals!lilypond-internals/!g' $(outdir)/lilypond.html
        rm -f $(outdir)/lilypond/*.png $(outdir)/lilypond/*.ly 
        -ln -f $(outdir)/*.png $(outdir)/*.ly $(outdir)/lilypond/
 
 $(outdir)/lilypond-internals/lilypond-internals.html: $(outdir)/lilypond-internals.texi
        mkdir -p $(dir $@)
-       $(MAKEINFO) --output=$(outdir)/lilypond-internals --html $<
-       $(MAKEINFO) -I$(outdir) --output=$@ --html --no-split --no-headers $<
+       $(MAKEINFO) --output=$(outdir)/lilypond-internals --css-include=$(builddir)/Documentation/texinfo.css --html $<
+       $(MAKEINFO) -I$(outdir) --output=$@ --css-include=$(builddir)/Documentation/texinfo.css --html --no-split --no-headers $<
 
 ifeq ($(SPLITTING_MAKEINFO),yes)
 
index 2bad713de299f09947d161357b6ba5d2792f0909..6d9dde7a3f5b1677f6fe46f4c6b92d95839319cc 100644 (file)
@@ -5,7 +5,7 @@ $(outdir)/%.info: $(outdir)/%.texi
        $(MAKEINFO) -I $(outdir) --output=$@ $<
 
 $(outdir)/%.html: $(outdir)/%.texi
-       $(MAKEINFO) -I $(outdir) --output=$@ --html --no-split --no-headers $<
+       $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(builddir)/Documentation/texinfo.css --html --no-split --no-headers $<
 
 $(outdir)/%.html.omf: %.texi
        $(call GENERATE_OMF,html)
@@ -18,7 +18,7 @@ $(outdir)/%.ps.gz.omf: %.texi
 
 # Generic rule not possible?
 $(outdir)/%/%.html: $(outdir)/%.texi 
-       $(MAKEINFO) --output=$@ --html $<
+       $(MAKEINFO) --output=$@ --css-include=$(builddir)/Documentation/texinfo.css --html $<
 
 
 $(outdir)/%.dvi: $(outdir)/%.texi