sisu 7.1.10 → 7.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a63e0dc5727c9aca800a20b0f76b741b0ec803f2
4
- data.tar.gz: ae2b1886d065e506e78b89d4737bece1e2452ae6
3
+ metadata.gz: 972baee3ac7cd15e70de697764c090362ddd6d56
4
+ data.tar.gz: f18e1bd76bc2513c53f66d7ae5666393a317b927
5
5
  SHA512:
6
- metadata.gz: 0e0bf239f357dc07b77149ed8b43cf1c091600d334f159160921e9dd6133e3f954c17330f273f0c4636aa45d6deeb8c88f04416993d7dc5012a0bfec44cc82a9
7
- data.tar.gz: ee17800b1b4ffbf34cad7479a7cb82f877b84edd1ee43cfe7c23b3361b134f60437a104b8eae56ca346aad92bc06f4b0d505dd647cd248c464a45dae33d7be82
6
+ metadata.gz: fa403751f6adc78a71bb139db83a3469018e6a5118ad8a24e46358a4ae879a146a612a268af80d13901f26eaa67f1c23093edf0a2f64d368cf4ac21b560464f9
7
+ data.tar.gz: 649a2fc2c5b1856ff95227c0719adfd941da70815926bb69b417bd70528b8bdcd00d8f1a230d812650adb58e13ebfe5d20064184d9134fb2b2052f42c4f5431c
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :project: SiSU
3
- :version: 7.1.10
4
- :date_stamp: 2017w26/7
5
- :date: "2017-07-02"
3
+ :version: 7.1.11
4
+ :date_stamp: 2017w28/5
5
+ :date: "2017-07-14"
@@ -68,6 +68,7 @@ module SiSU_AO_DocumentStructureExtract
68
68
  @pbn=SiSU_AO_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new])
69
69
  @pbl=SiSU_AO_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_line])
70
70
  @per=SiSU_AO_Persist::PersistDocStructExt.new
71
+ @make=SiSU_Env::ProcessingSettings.new(@md)
71
72
  end
72
73
  def ln_get(lv)
73
74
  case lv
@@ -1229,23 +1230,25 @@ module SiSU_AO_DocumentStructureExtract
1229
1230
  }
1230
1231
  end
1231
1232
  tuned_file << @pb
1232
- h={
1233
- ln: 1,
1234
- lc: 1,
1235
- obj: 'Metadata',
1236
- autonum_: false,
1237
- ocn_: false,
1238
- }
1239
- tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h)
1240
- h={
1241
- ln: 4,
1242
- lc: 2,
1243
- obj: 'SiSU Metadata, document information',
1244
- name: 'metadata',
1245
- autonum_: false,
1246
- ocn_: false,
1247
- }
1248
- tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h)
1233
+ if @make.build.metadata?
1234
+ h={
1235
+ ln: 1,
1236
+ lc: 1,
1237
+ obj: 'Metadata',
1238
+ autonum_: false,
1239
+ ocn_: false,
1240
+ }
1241
+ tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h)
1242
+ h={
1243
+ ln: 4,
1244
+ lc: 2,
1245
+ obj: 'SiSU Metadata, document information',
1246
+ name: 'metadata',
1247
+ autonum_: false,
1248
+ ocn_: false,
1249
+ }
1250
+ tuned_file << SiSU_AO_DocumentStructure::ObjectHeading.new.heading_insert(h)
1251
+ end
1249
1252
  h={
1250
1253
  obj: 'eof',
1251
1254
  }
@@ -871,13 +871,13 @@ module SiSU_Commandline
871
871
  else { bool: true, set: :na }
872
872
  end
873
873
  act[:minitoc]=if select_arr.inspect \
874
- =~/"--inc-minitoc"/
874
+ =~/"--minitoc"|"--inc-minitoc"/
875
875
  { bool: true, set: :on }
876
876
  elsif select_arr.inspect \
877
877
  =~/"--(?:exc|no)-minitoc"/ \
878
878
  || act[:switch][:off].inspect =~/"minitoc"/
879
879
  { bool: false, set: :off }
880
- else { bool: true, set: :na }
880
+ else { bool: false, set: :na }
881
881
  end
882
882
  act[:links_to_manifest]=if select_arr.inspect \
883
883
  =~/"--inc-links-to-manifest"|"--inc-manifest-links"/
@@ -902,10 +902,10 @@ module SiSU_Commandline
902
902
  =~/"--(?:exc|no)-manifest-minitoc"|"--(?:exc|no)-minitoc"/ \
903
903
  || act[:switch][:off].inspect =~/"manifest_minitoc"|"minitoc"/
904
904
  { bool: false, set: :off }
905
- else { bool: true, set: :na }
905
+ else { bool: false, set: :na }
906
906
  end
907
907
  act[:metadata]=if select_arr.inspect \
908
- =~/"--inc-metadata"/
908
+ =~/"--metadata"|"--inc-metadata"/
909
909
  { bool: true, set: :on }
910
910
  elsif select_arr.inspect \
911
911
  =~/"--(?:exc|no)-metadata"/ \
@@ -920,7 +920,7 @@ module SiSU_Commandline
920
920
  =~/"--(?:exc|no)-html-minitoc"|"--(?:exc|no)-minitoc"/ \
921
921
  || act[:switch][:off].inspect =~/"html_minitoc"|"minitoc"/
922
922
  { bool: false, set: :off }
923
- else { bool: true, set: :na }
923
+ else { bool: false, set: :na }
924
924
  end
925
925
  act[:html_navigation]=if select_arr.inspect \
926
926
  =~/"--inc-html-navigation"|"--inc-navigation"/
@@ -210,7 +210,7 @@ module SiSU_Processing_Settings
210
210
  elsif env_rc.build.minitoc? ==:off
211
211
  false
212
212
  else
213
- true
213
+ false
214
214
  end
215
215
  end
216
216
  def manifest_minitoc?
@@ -233,7 +233,7 @@ module SiSU_Processing_Settings
233
233
  elsif minitoc? == false
234
234
  false
235
235
  else
236
- true
236
+ false
237
237
  end
238
238
  end
239
239
  def html_minitoc?
@@ -256,7 +256,7 @@ module SiSU_Processing_Settings
256
256
  elsif minitoc? == false
257
257
  false
258
258
  else
259
- true
259
+ false
260
260
  end
261
261
  end
262
262
  def html_top_band?
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sisu
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.10
4
+ version: 7.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ralph Amissah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-02 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: documents - structuring, publishing in multiple formats & search [7.1.10]
13
+ description: documents - structuring, publishing in multiple formats & search [7.1.11]
14
14
  (linux calls & without external dependencies)
15
15
  email: ralph.amissah@gmail.com
16
16
  executables: