From 3ba9db643ff129bd196c398bc0b32b00097766a7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 31 Oct 2011 21:39:53 -0400 Subject: v3: concordance, information to terminal, minor --- data/doc/sisu/CHANGELOG_v3 | 2 ++ lib/sisu/v3/concordance.rb | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index d061a2ca..4600fe26 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -24,6 +24,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.1.2.orig.tar.xz * markup-samples, Free as in Freedom 2.0 * made use of old book index, better than none + * concordance, information to terminal, minor + %% 3.1.1.orig.tar.xz (2011-10-15:41/6) http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu_3.1.1 http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.1.1-1 diff --git a/lib/sisu/v3/concordance.rb b/lib/sisu/v3/concordance.rb index 683b092e..1ef42ade 100644 --- a/lib/sisu/v3/concordance.rb +++ b/lib/sisu/v3/concordance.rb @@ -79,10 +79,10 @@ module SiSU_Concordance unless @md.opt.cmd =~/q/ tool=(@md.opt.cmd =~/[MVv]/) \ ? "#{@env.program.web_browser} #{@md.file.output_path.html_concordance.dir}/#{@md.file.base_filename.html_concordance}" - : "[#{@opt.f_pth[:lng_is]}]" + : "[#{@opt.f_pth[:lng_is]}] #{@opt.fns}" @md.opt.cmd=~/[MVvz]/ \ - ? SiSU_Screen::Ansi.new(@md.opt.cmd,"Concordance",tool).grey_title_hi - : SiSU_Screen::Ansi.new(@md.opt.cmd,'Concordance',tool).green_title_hi + ? SiSU_Screen::Ansi.new(@opt.cmd,"Concordance",tool).grey_title_hi + : SiSU_Screen::Ansi.new(@opt.cmd,'Concordance',tool).green_title_hi end wordmax=@env.concord_max unless @md.wc_words.nil? -- cgit v1.2.3