From b2d26ed38292409b1f10017af7a6c6cd56c73983 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 16 Dec 2008 19:55:01 -0500 Subject: html & css cosmetic changes (index & concordance), run "sisu -CC"; changelog --- CHANGELOG | 8 ++++++++ lib/sisu/v0/concordance.rb | 4 ++-- lib/sisu/v0/css.rb | 12 ++++++++++++ lib/sisu/v0/dal_idx.rb | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index fa50af37..9cb6caf1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,14 @@ Reverse Chronological: %% STABLE MANIFEST +%% sisu_0.70.3.orig.tar.gz (2008-12-16:50/2) +http://www.jus.uio.no/sisu/pkg/src/sisu_0.70.3.orig.tar.gz + sisu_0.70.3.orig.tar.gz + sisu_0.70.3-1.dsc + sisu_0.70.3-1.diff.gz + + * html and css, cosmetic changes (and the closing of a tag) + %% sisu_0.70.2.orig.tar.gz (2008-12-16:50/2) http://www.jus.uio.no/sisu/pkg/src/sisu_0.70.2.orig.tar.gz c4ec17c3f50b629a33afcb3d343e111172bf56b656fa892d82936f86dfde281a 1545482 sisu_0.70.2.orig.tar.gz diff --git a/lib/sisu/v0/concordance.rb b/lib/sisu/v0/concordance.rb index aea5e556..45cc27b2 100644 --- a/lib/sisu/v0/concordance.rb +++ b/lib/sisu/v0/concordance.rb @@ -319,14 +319,14 @@ WOK alph.each {|x| @file_concordance << %{#{x}, }} @file_concordance << '

' letter=alph.shift - @file_concordance << %{\n
\n

A

} + @file_concordance << %{\n

A

} for word in @freq.keys.sort! {|a,b| a.downcase<=>b.downcase} f=/^(\S)/.match(word)[1] if letter < f.upcase while letter < f.upcase if alph.length > 0 letter=alph.shift - @file_concordance << %{\n
\n

#{letter}

} + @file_concordance << %{\n

#{letter}

} else break end end diff --git a/lib/sisu/v0/css.rb b/lib/sisu/v0/css.rb index 927a253f..22e26d62 100644 --- a/lib/sisu/v0/css.rb +++ b/lib/sisu/v0/css.rb @@ -585,6 +585,18 @@ WOK text-align: center; } + p.letter { + font-weight: bold; + font-size: 80%; + margin-left: 0em; + margin-top: 2px; + margin-bottom: 2px; + margin-right: 6px; + text-align: left; + color: white; + background: #880000; + } + label.ocn { width: 2%; float: right; diff --git a/lib/sisu/v0/dal_idx.rb b/lib/sisu/v0/dal_idx.rb index 8633579f..0e231064 100644 --- a/lib/sisu/v0/dal_idx.rb +++ b/lib/sisu/v0/dal_idx.rb @@ -186,7 +186,7 @@ module SiSU_book_index while letter < f if alph.length > 0 letter=alph.shift - @idx[:html] << %{\n
\n

#{letter}

} + @idx[:html] << %{\n

#{letter}

} else break end end -- cgit v1.2.3