diff options
Diffstat (limited to 'lib/sisu/v0/manifest.rb')
| -rw-r--r-- | lib/sisu/v0/manifest.rb | 26 | 
1 files changed, 13 insertions, 13 deletions
| 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='<img border="0" height="18" width="15" src="../_sisu/image_sys/b_toc.png" alt="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='<img border="0" height="15" width="15" src="../_sisu/image_sys/b_doc.png" alt="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='<img border="0" height="18" width="15" src="../_sisu/image_sys/b_pdf.png" alt="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='<img border="0" height="15" width="18" src="../_sisu/image_sys/b_pdf.png" alt="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='<img border="0" height="18" width="18" src="../_sisu/image_sys/b_odf.png" alt="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 | 
