aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/manifest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/manifest.rb')
-rw-r--r--lib/sisu/v3/manifest.rb39
1 files changed, 19 insertions, 20 deletions
diff --git a/lib/sisu/v3/manifest.rb b/lib/sisu/v3/manifest.rb
index adc048ef..d1e01f58 100644
--- a/lib/sisu/v3/manifest.rb
+++ b/lib/sisu/v3/manifest.rb
@@ -360,6 +360,20 @@ module SiSU_Manifest
id,file='XML DOM',@f.base_filename.xml_dom
summarize(id,file,pth,rel,url)
end
+ if FileTest.file?(@f.place_file.info.dir)==true
+ pth=@f.output_path.texinfo.dir
+ rel=@f.output_path.texinfo.rel_sm
+ url=@f.output_path.texinfo.url
+ id,file='Info file',@f.base_filename.info
+ summarize(id,file,pth,rel,url)
+ end
+ if FileTest.file?(@f.place_file.manpage.dir)==true
+ pth=@f.output_path.manpage.dir
+ rel=@f.output_path.manpage.rel_sm
+ url=@f.output_path.manpage.url
+ id,file='Manpage',@f.base_filename.manpage
+ summarize(id,file,pth,rel,url)
+ end
if FileTest.file?(@f.place_file.txt.dir)==true
if @md.opt.cmd =~/a/; id='Plaintext (Unix (UTF-8) with footnotes)'
elsif @md.opt.cmd =~/e/; id='Plaintext (Unix (UTF-8) with endnotes)'
@@ -383,20 +397,6 @@ module SiSU_Manifest
pth,rel,url='','',''
summarize(id,file,pth,rel,url)
end
- if FileTest.file?(@f.place_file.manpage.dir)==true
- pth=@f.output_path.manpage.dir
- rel=@f.output_path.manpage.rel_sm
- url=@f.output_path.manpage.url
- id,file='Manpage',@f.base_filename.manpage
- summarize(id,file,pth,rel,url)
- end
- if FileTest.file?(@f.place_file.texinfo.dir)==true
- pth=@f.output_path.texinfo.dir
- rel=@f.output_path.texinfo.rel_sm
- url=@f.output_path.texinfo.url
- id,file='Texinfo',@f.base_filename.texinfo
- summarize(id,file,pth,rel,url)
- end
if FileTest.file?(@f.place_file.hash_digest.dir)==true
pth=@f.output_path.hash_digest.dir
rel=@f.output_path.hash_digest.rel_sm
@@ -416,11 +416,10 @@ module SiSU_Manifest
end
end
def qrc_image
- pth="#{@env.path.webserv}/#{@env.path.stub_pwd}/_sisu/image"
- fn=@f.base_filename.manifest_txt
- img_md="#{@md.file.output_path.html.rel_image}/qrc_md.#{fn}.png"
- img_title="#{@md.file.output_path.html.rel_image}/qrc_title.#{fn}.png"
- if FileTest.file?("#{pth}/qrc_md.#{fn}.png")==true
+ fn=@md.fnb
+ img_md="qrcode/#{fn}.md.png"
+ img_title="qrcode/#{fn}.title.png"
+ if FileTest.file?(@f.place_file.qrcode_md.dir)==true
@manifest[:html] <<<<WOK
<tr><td class="left">
<p class="tiny">QR code SiSU document metadata:</p>
@@ -430,7 +429,7 @@ module SiSU_Manifest
</td></tr>
WOK
end
- if FileTest.file?("#{pth}/qrc_title.#{fn}.png")==true
+ if FileTest.file?(@f.place_file.qrcode_title.dir)==true
@manifest[:html] <<<<WOK
<tr><td class="left">
<p class="tiny">QR code document title info:</p>