diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-05-28 05:30:42 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-05-28 05:30:50 -0400 |
commit | fae668e5e5595c6e2b52cd6855b296937d996d3b (patch) | |
tree | abfdda59d5b7c9b6799cacec1a91d22aa607d75f | |
parent | v3: sisupod.txz processing (diff) |
v3: hub, share markup source (--source) not available for composite files
* suggest creating a sisupod instead
-rw-r--r-- | data/doc/sisu/CHANGELOG_v3 | 2 | ||||
-rw-r--r-- | lib/sisu/v3/hub.rb | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index 485d3c32..83d9528e 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -26,6 +26,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.10.orig.tar.xz * manifest re-run where related multilingual documents, fix BUG breaks mini table of contents (minitoc) manifest for multilingual files, better run without manifest minitoc, use --exc-manifest-minitoc + * share markup source (--source) not available at this time for composite + files (.ssm), suggest creating a sisupod instead * v3: options, --init-site, --configure, fix diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb index daa75166..a2902075 100644 --- a/lib/sisu/v3/hub.rb +++ b/lib/sisu/v3/hub.rb @@ -358,8 +358,12 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on end end if @opt.act[:share_source][:set]==:on - requires('share_src') # -s share_src.rb - SiSU_Markup::Source.new(@opt).read + if @opt.fno =~/\.ssm$/ + SiSU_Screen::Ansi.new(@opt.cmd,'WARNING: share text source (--source) not available for composite files (.ssm),', 'composite (.ssm) source documents may be shared as a sisupod (--sisupod) (.txz)').warn unless @opt.cmd =~/q/ + else + requires('share_src') # -s share_src.rb + SiSU_Markup::Source.new(@opt).read + end end if @opt.act[:qrcode][:set]==:on #% --qrcode, -Q requires('qrcode') # -Q qrcode.rb |