aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/urls.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-11-20 22:53:19 -0500
committerRalph Amissah <ralph@amissah.com>2014-12-08 00:18:16 -0500
commita37a13fbe35be7b9a340520d313ec8a8a576a41f (patch)
tree30cbcfc32c3f0c0484f2242a1e10caed765992dd /lib/sisu/develop/urls.rb
parentd: txt outputs, reorganize, introduce new files (diff)
d: orgmode, add orgmode structure output to txts
Diffstat (limited to 'lib/sisu/develop/urls.rb')
-rw-r--r--lib/sisu/develop/urls.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sisu/develop/urls.rb b/lib/sisu/develop/urls.rb
index fc84f16b..6fa28a4b 100644
--- a/lib/sisu/develop/urls.rb
+++ b/lib/sisu/develop/urls.rb
@@ -197,6 +197,15 @@ module SiSU_Urls
fn: @fn[:txt_textile],
}
end
+ def orgmode
+ {
+ cmd: '--orgmode',
+ viewer: @prog.web_browser,
+ f_pth: @md.file.output_path.orgmode.dir + '/' \
+ + @md.file.base_filename.orgmode,
+ fn: @fn[:txt_orgmode],
+ }
+ end
self
end
def html
@@ -557,6 +566,10 @@ module SiSU_Urls
show.report(report_info.text.rst)
#show.maintenance(report_info.text.rst)
end
+ if @opt.act[:txt_orgmode][:set]==:on
+ show.report(report_info.text.orgmode)
+ #show.maintenance(report_info.text.orgmode)
+ end
if (@opt.act[:html][:set]==:on \
or @opt.act[:html_scroll][:set]==:on \
or @opt.act[:html_seg][:set]==:on)