summaryrefslogtreecommitdiffstats
path: root/lib/sisu/v5/manifest.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-12-03 05:24:33 +0000
committerRalph Amissah <ralph@amissah.com>2013-12-03 05:24:33 +0000
commit6c153f78e75df56bd7c5e04a58124a8d5427d5d7 (patch)
tree7a1b6047bf71db3db59331cfa6638410b83f2927 /lib/sisu/v5/manifest.rb
parentv5: plaintext, smarttext: markdown (diff)
downloadsisu-6c153f78e75df56bd7c5e04a58124a8d5427d5d7.zip
sisu-6c153f78e75df56bd7c5e04a58124a8d5427d5d7.tar.xz
v5: plaintext, smarttext: rst
Diffstat (limited to 'lib/sisu/v5/manifest.rb')
-rw-r--r--lib/sisu/v5/manifest.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/sisu/v5/manifest.rb b/lib/sisu/v5/manifest.rb
index d2e4d7f..61da608 100644
--- a/lib/sisu/v5/manifest.rb
+++ b/lib/sisu/v5/manifest.rb
@@ -463,6 +463,14 @@ module SiSU_Manifest
file=@f.base_filename.markdown
summarize(id,file,pth,rel,url)
end
+ if FileTest.file?(@f.place_file.rst.dir)==true
+ id='rST text (UTF-8)'
+ pth=@f.output_path.rst.dir
+ rel=@f.output_path.rst.rel_sm
+ url=@f.output_path.rst.url
+ file=@f.base_filename.rst
+ summarize(id,file,pth,rel,url)
+ end
if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true
id,file='LaTeX (portrait)',"#{@md.fns}.tex"
pth,rel,url='','',''