From 14d7b8a58f10884d6941181604195243ab27e6c6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 12 Jul 2008 00:59:37 -0400 Subject: minor fixes: remote sourcefile; processing directory; manifest info --- lib/sisu/v0/manifest.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lib/sisu/v0/manifest.rb') diff --git a/lib/sisu/v0/manifest.rb b/lib/sisu/v0/manifest.rb index 5ea0baab..4861097e 100644 --- a/lib/sisu/v0/manifest.rb +++ b/lib/sisu/v0/manifest.rb @@ -174,47 +174,47 @@ module SiSU_Manifest def output_tests if FileTest.file?("#@base_path/#{@md.fn[:toc]}")==true img='TOC linked ' - id,file='table of contents (for segmented HTML text)',@md.fn[:toc] + id,file='HTML, table of contents (for segmented text)',@md.fn[:toc] summarize(id,file,img) end if FileTest.file?("#@base_path/#{@md.fn[:doc]}")==true img='Full Text ' - id,file='full length document (HTML)',@md.fn[:doc] + id,file='HTML, full length document',@md.fn[:doc] summarize(id,file,img) end if FileTest.file?("#@base_path/#{@md.fn[:pdf_p]}")==true img='PDF portrait ' - id,file='full length document (PDF portrait / vertical - recommended for printing)',@md.fn[:pdf_p] + id,file='PDF document portrait/vertical (recommended for printing)',@md.fn[:pdf_p] summarize(id,file,img) end if FileTest.file?("#@base_path/#{@md.fn[:pdf_l]}")==true img='PDF landscape ' - id,file='full length document (PDF landscape / horizontal - recommended for screen viewing)',@md.fn[:pdf_l] + id,file='PDF document landscape/horizontal (recommended for screen viewing)',@md.fn[:pdf_l] summarize(id,file,img) end if FileTest.file?("#@base_path/#{@md.fn[:odf]}")==true img='ODF/ODT ' - id,file='full length document (ODF:ODT - Open Document Format)',@md.fn[:odf] + id,file='ODF:ODT (Open Document Format)',@md.fn[:odf] summarize(id,file,img) end if FileTest.file?("#@base_path/#{@md.fn[:xhtml]}")==true - id,file='full length document (XHTML)',@md.fn[:xhtml] + id,file='XHTML',@md.fn[:xhtml] summarize(id,file) end if FileTest.file?("#@base_path/#{@md.fn[:sax]}")==true - id,file='full length document (XML SAX)',@md.fn[:sax] + id,file='XML SAX',@md.fn[:sax] summarize(id,file) end if FileTest.file?("#@base_path/#{@md.fn[:dom]}")==true - id,file='full length document (XML DOM)',@md.fn[:dom] + id,file='XML DOM',@md.fn[:dom] summarize(id,file) end if FileTest.file?("#@base_path/#{@md.fn[:plain]}")==true - if @md.cmd =~/a/; id,file='full length document (plaintext Unix (UTF-8) with footnotes)',@md.fn[:plain] - elsif @md.cmd =~/e/; id,file='full length document (plaintext Unix (UTF-8) with endnotes)',@md.fn[:plain] - elsif @md.cmd =~/A/; id,file='full length document (plaintext dos (UTF-8) with footnotes)',@md.fn[:plain] - elsif @md.cmd =~/E/; id,file='full length document (plaintext dos (UTF-8) with endnotes)',@md.fn[:plain] - else id,file='full length document (plaintext (UTF-8))',@md.fn[:plain] + if @md.cmd =~/a/; id,file='Plaintext (Unix (UTF-8) with footnotes)',@md.fn[:plain] + elsif @md.cmd =~/e/; id,file='Plaintext (Unix (UTF-8) with endnotes)',@md.fn[:plain] + elsif @md.cmd =~/A/; id,file='Plaintext (dos (UTF-8) with footnotes)',@md.fn[:plain] + elsif @md.cmd =~/E/; id,file='Plaintext (dos (UTF-8) with endnotes)',@md.fn[:plain] + else id,file='Plaintext (UTF-8)',@md.fn[:plain] end summarize(id,file) end -- cgit v1.2.3