From a37a13fbe35be7b9a340520d313ec8a8a576a41f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 20 Nov 2014 22:53:19 -0500 Subject: d: orgmode, add orgmode structure output to txts --- lib/sisu/develop/urls.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/sisu/develop/urls.rb') 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) -- cgit v1.2.3