From ff31523bce8c219657b14da3683c7b6f55fdfae5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 14 Jul 2017 07:01:38 -0400 Subject: version & changelog, open commit window --- data/doc/sisu/CHANGELOG_v7 | 3 +++ data/sisu/version.yml | 6 +++--- setup/sisu_version.rb | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7 index 5ec1b588..76b4f01d 100644 --- a/data/doc/sisu/CHANGELOG_v7 +++ b/data/doc/sisu/CHANGELOG_v7 @@ -20,6 +20,9 @@ Reverse Chronological: --- HEAD --- +* sisu_7.1.11.orig.tar.xz (Open commit window: 2017-07-14; Pre-Release) + http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.11 + * sisu_7.1.10.orig.tar.xz (2017-07-02:26/7) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.10 diff --git a/data/sisu/version.yml b/data/sisu/version.yml index 67b4f804..6080f85b 100644 --- a/data/sisu/version.yml +++ b/data/sisu/version.yml @@ -1,5 +1,5 @@ --- :project: SiSU -:version: 7.1.10 -:date_stamp: 2017w26/7 -:date: "2017-07-02" +:version: 7.1.11_pre_rel +:date_stamp: 2017w28/5 +:date: "2017-07-14" diff --git a/setup/sisu_version.rb b/setup/sisu_version.rb index c361825d..1a4388fc 100644 --- a/setup/sisu_version.rb +++ b/setup/sisu_version.rb @@ -1,6 +1,6 @@ #% constants module SiSUversion - SiSU_version = '7.1.10' + SiSU_version = '7.1.11' end module Dev GPGpubKey = '1BB4B289' -- cgit v1.2.3 From 90e27c85d9054799e071cb6f601c8dbc3236272d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 14 Jul 2017 07:04:18 -0400 Subject: html, minitoc, default off * default where no instruction given changed to false (requested, as minitoc is sub-optimal for viewing with smaller devices (when present minitoc is placed on left part of screen together with content to its right)) --- data/doc/sisu/CHANGELOG_v7 | 5 +++++ lib/sisu/hub_options.rb | 8 ++++---- lib/sisu/se_processing.rb | 6 +++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7 index 76b4f01d..1db85b4e 100644 --- a/data/doc/sisu/CHANGELOG_v7 +++ b/data/doc/sisu/CHANGELOG_v7 @@ -23,6 +23,11 @@ Reverse Chronological: * sisu_7.1.11.orig.tar.xz (Open commit window: 2017-07-14; Pre-Release) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.11 + * html, minitoc, set default off + (requested, as minitoc is sub-optimal for viewing with smaller devices + (when present minitoc is placed on left part of screen together with + content to its right)) + * sisu_7.1.10.orig.tar.xz (2017-07-02:26/7) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.10 diff --git a/lib/sisu/hub_options.rb b/lib/sisu/hub_options.rb index e0832553..fe371bd1 100644 --- a/lib/sisu/hub_options.rb +++ b/lib/sisu/hub_options.rb @@ -871,13 +871,13 @@ module SiSU_Commandline else { bool: true, set: :na } end act[:minitoc]=if select_arr.inspect \ - =~/"--inc-minitoc"/ + =~/"--minitoc"|"--inc-minitoc"/ { bool: true, set: :on } elsif select_arr.inspect \ =~/"--(?:exc|no)-minitoc"/ \ || act[:switch][:off].inspect =~/"minitoc"/ { bool: false, set: :off } - else { bool: true, set: :na } + else { bool: false, set: :na } end act[:links_to_manifest]=if select_arr.inspect \ =~/"--inc-links-to-manifest"|"--inc-manifest-links"/ @@ -902,7 +902,7 @@ module SiSU_Commandline =~/"--(?:exc|no)-manifest-minitoc"|"--(?:exc|no)-minitoc"/ \ || act[:switch][:off].inspect =~/"manifest_minitoc"|"minitoc"/ { bool: false, set: :off } - else { bool: true, set: :na } + else { bool: false, set: :na } end act[:metadata]=if select_arr.inspect \ =~/"--inc-metadata"/ @@ -920,7 +920,7 @@ module SiSU_Commandline =~/"--(?:exc|no)-html-minitoc"|"--(?:exc|no)-minitoc"/ \ || act[:switch][:off].inspect =~/"html_minitoc"|"minitoc"/ { bool: false, set: :off } - else { bool: true, set: :na } + else { bool: false, set: :na } end act[:html_navigation]=if select_arr.inspect \ =~/"--inc-html-navigation"|"--inc-navigation"/ diff --git a/lib/sisu/se_processing.rb b/lib/sisu/se_processing.rb index eba98ed0..5aa2d45a 100644 --- a/lib/sisu/se_processing.rb +++ b/lib/sisu/se_processing.rb @@ -210,7 +210,7 @@ module SiSU_Processing_Settings elsif env_rc.build.minitoc? ==:off false else - true + false end end def manifest_minitoc? @@ -233,7 +233,7 @@ module SiSU_Processing_Settings elsif minitoc? == false false else - true + false end end def html_minitoc? @@ -256,7 +256,7 @@ module SiSU_Processing_Settings elsif minitoc? == false false else - true + false end end def html_top_band? -- cgit v1.2.3 From 486a84f981c33fd2dcebc0328c4b823a98384032 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 14 Jul 2017 07:14:27 -0400 Subject: --no-metadata turns off appending metadata to doc * (Closes: #746742) "please implement --no-metadata similar to --no-manifest" --- data/doc/sisu/CHANGELOG_v7 | 3 +++ lib/sisu/ao_doc_str.rb | 37 ++++++++++++++++++++----------------- lib/sisu/hub_options.rb | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7 index 1db85b4e..fde010cf 100644 --- a/data/doc/sisu/CHANGELOG_v7 +++ b/data/doc/sisu/CHANGELOG_v7 @@ -28,6 +28,9 @@ Reverse Chronological: (when present minitoc is placed on left part of screen together with content to its right)) + * command flag --no-metadata turns off appending metadata to documents + (Closes: #746742) + * sisu_7.1.10.orig.tar.xz (2017-07-02:26/7) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.10 diff --git a/lib/sisu/ao_doc_str.rb b/lib/sisu/ao_doc_str.rb index ced4c833..1dbcf9e8 100644 --- a/lib/sisu/ao_doc_str.rb +++ b/lib/sisu/ao_doc_str.rb @@ -68,6 +68,7 @@ module SiSU_AO_DocumentStructureExtract @pbn=SiSU_AO_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new]) @pbl=SiSU_AO_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_line]) @per=SiSU_AO_Persist::PersistDocStructExt.new + @make=SiSU_Env::ProcessingSettings.new(@md) end def ln_get(lv) case lv @@ -1229,23 +1230,25 @@ module SiSU_AO_DocumentStructureExtract } end tuned_file << @pb - h={ - ln: 1, - lc: 1, - obj: 'Metadata', - autonum_: false, - ocn_: false, - } - tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h) - h={ - ln: 4, - lc: 2, - obj: 'SiSU Metadata, document information', - name: 'metadata', - autonum_: false, - ocn_: false, - } - tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h) + if @make.build.metadata? + h={ + ln: 1, + lc: 1, + obj: 'Metadata', + autonum_: false, + ocn_: false, + } + tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h) + h={ + ln: 4, + lc: 2, + obj: 'SiSU Metadata, document information', + name: 'metadata', + autonum_: false, + ocn_: false, + } + tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h) + end h={ obj: 'eof', } diff --git a/lib/sisu/hub_options.rb b/lib/sisu/hub_options.rb index fe371bd1..194858f7 100644 --- a/lib/sisu/hub_options.rb +++ b/lib/sisu/hub_options.rb @@ -905,7 +905,7 @@ module SiSU_Commandline else { bool: false, set: :na } end act[:metadata]=if select_arr.inspect \ - =~/"--inc-metadata"/ + =~/"--metadata"|"--inc-metadata"/ { bool: true, set: :on } elsif select_arr.inspect \ =~/"--(?:exc|no)-metadata"/ \ -- cgit v1.2.3 From daba1068e79fd503a5fd1623fb06536a6a88a3e2 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 14 Jul 2017 07:17:45 -0400 Subject: version & changelog, tag for release --- data/doc/sisu/CHANGELOG_v7 | 2 +- data/sisu/version.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7 index fde010cf..c16edc5f 100644 --- a/data/doc/sisu/CHANGELOG_v7 +++ b/data/doc/sisu/CHANGELOG_v7 @@ -20,7 +20,7 @@ Reverse Chronological: --- HEAD --- -* sisu_7.1.11.orig.tar.xz (Open commit window: 2017-07-14; Pre-Release) +* sisu_7.1.11.orig.tar.xz (2017-07-14:28/5) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.11 * html, minitoc, set default off diff --git a/data/sisu/version.yml b/data/sisu/version.yml index 6080f85b..6647b926 100644 --- a/data/sisu/version.yml +++ b/data/sisu/version.yml @@ -1,5 +1,5 @@ --- :project: SiSU -:version: 7.1.11_pre_rel +:version: 7.1.11 :date_stamp: 2017w28/5 :date: "2017-07-14" -- cgit v1.2.3