aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v1
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v1')
-rw-r--r--lib/sisu/v1/manifest.rb12
-rw-r--r--lib/sisu/v1/sysenv.rb1
2 files changed, 9 insertions, 4 deletions
diff --git a/lib/sisu/v1/manifest.rb b/lib/sisu/v1/manifest.rb
index 73f3bd18..0d289b56 100644
--- a/lib/sisu/v1/manifest.rb
+++ b/lib/sisu/v1/manifest.rb
@@ -189,6 +189,14 @@ module SiSU_Manifest
id,file='HTML, full length document',@md.fn[:doc]
summarize(id,file,img)
end
+ if FileTest.file?("#@base_path/#{@md.fn[:book_index]}")==true
+ id,file='HTML, index',@md.fn[:book_index]
+ summarize(id,file)
+ end
+ if FileTest.file?("#@base_path/#{@md.fn[:concordance]}")==true
+ id,file='HTML, concordance file',@md.fn[:concordance]
+ summarize(id,file)
+ end
if FileTest.file?("#@base_path/#{@md.fn[:pdf_p_letter]}")==true
img='<img border="0" height="18" width="15" src="../_sisu/image_sys/b_pdf.png" alt="PDF portrait" /> '
id,file="PDF, U.S. letter size, portrait/vertical document (recommended for printing)",@md.fn[:pdf_p_letter]
@@ -265,10 +273,6 @@ module SiSU_Manifest
end
summarize(id,file)
end
- if FileTest.file?("#@base_path/#{@md.fn[:concordance]}")==true
- id,file='Concordance file (HTML - wordmap, alphabetical wordlist)',@md.fn[:concordance]
- summarize(id,file)
- end
if FileTest.file?("#@base_path/#{@md.fns}.tex")==true
id,file='LaTeX (portrait)',"#{@md.fns}.tex"
summarize(id,file)
diff --git a/lib/sisu/v1/sysenv.rb b/lib/sisu/v1/sysenv.rb
index 17f0b6be..c3c2a0ee 100644
--- a/lib/sisu/v1/sysenv.rb
+++ b/lib/sisu/v1/sysenv.rb
@@ -483,6 +483,7 @@ module SiSU_Env
def lang(code)
@fn={
:html => filename(code,'','.html'),
+ :book_index => filename(code,'idx','.html'),
:concordance => filename(code,'concordance','.html'),
:sax => filename(code,'sax','.xml'),
:dom => filename(code,'dom','.xml'),