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 +4 -4
- data/data/sisu/version.yml +3 -3
- data/lib/sisu/ao_doc_str.rb +20 -17
- data/lib/sisu/hub_options.rb +5 -5
- data/lib/sisu/se_processing.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 972baee3ac7cd15e70de697764c090362ddd6d56
|
|
4
|
+
data.tar.gz: f18e1bd76bc2513c53f66d7ae5666393a317b927
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa403751f6adc78a71bb139db83a3469018e6a5118ad8a24e46358a4ae879a146a612a268af80d13901f26eaa67f1c23093edf0a2f64d368cf4ac21b560464f9
|
|
7
|
+
data.tar.gz: 649a2fc2c5b1856ff95227c0719adfd941da70815926bb69b417bd70528b8bdcd00d8f1a230d812650adb58e13ebfe5d20064184d9134fb2b2052f42c4f5431c
|
data/data/sisu/version.yml
CHANGED
data/lib/sisu/ao_doc_str.rb
CHANGED
|
@@ -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
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
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
|
}
|
data/lib/sisu/hub_options.rb
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
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"/
|
data/lib/sisu/se_processing.rb
CHANGED
|
@@ -210,7 +210,7 @@ module SiSU_Processing_Settings
|
|
|
210
210
|
elsif env_rc.build.minitoc? ==:off
|
|
211
211
|
false
|
|
212
212
|
else
|
|
213
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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-
|
|
11
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: documents - structuring, publishing in multiple formats & search [7.1.
|
|
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:
|