Merge tag 'sisu_7.1.11' into debian/sid
authorRalph Amissah <ralph@amissah.com>
Fri, 14 Jul 2017 11:18:37 +0000 (07:18 -0400)
committerRalph Amissah <ralph@amissah.com>
Fri, 14 Jul 2017 11:18:37 +0000 (07:18 -0400)
SiSU 7.1.11

data/doc/sisu/CHANGELOG_v7
data/sisu/version.yml
lib/sisu/ao_doc_str.rb
lib/sisu/hub_options.rb
lib/sisu/se_processing.rb
setup/sisu_version.rb

index 5ec1b588525af5dcb0e219960b15c30d5626f88f..c16edc5f77f327b9ebdda07f080a523357163c6d 100644 (file)
@@ -20,6 +20,17 @@ Reverse Chronological:
 
 --- HEAD ---
 
+* 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
+    (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))
+
+  * 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
 
index 67b4f804b476f036f939a201c13e648121a00765..6647b9265617c820432eff9e9df3dd804a46206e 100644 (file)
@@ -1,5 +1,5 @@
 ---
 :project: SiSU
-:version: 7.1.10
-:date_stamp: 2017w26/7
-:date: "2017-07-02"
+:version: 7.1.11
+:date_stamp: 2017w28/5
+:date: "2017-07-14"
index ced4c833c737a339ce8be4179659a30121c5d94b..1dbcf9e804ffbeddb1fd1671ff18550c928571d3 100644 (file)
@@ -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',
       }
index e0832553b7654a30da648176a115df55032b4641..194858f77ad639c17a2f29aab0cc2e07d2ea80de 100644 (file)
@@ -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,10 +902,10 @@ 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"/
+        =~/"--metadata"|"--inc-metadata"/
           { bool: true, set: :on }
         elsif select_arr.inspect \
         =~/"--(?:exc|no)-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"/
index eba98ed059cd7d98ce5ffe3f3488e21068a5a638..5aa2d45a3c83d48277d4b9abe42b26977003d26c 100644 (file)
@@ -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?
index c361825dc13e94fda8e789dd5d68d04e543509d4..1a4388fc14c7fe6f26f38fb3f2d0010ee83ecb58 100644 (file)
@@ -1,6 +1,6 @@
 #% constants
 module SiSUversion
-  SiSU_version                       = '7.1.10'
+  SiSU_version                       = '7.1.11'
 end
 module Dev
   GPGpubKey                          = '1BB4B289'