aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/concordance.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-02-03 20:41:32 -0500
committerRalph Amissah <ralph@amissah.com>2012-02-03 20:41:36 -0500
commit7e3cee576368c095fe491014bd279eb280c598ba (patch)
treed8b198e2e09066bcaffc5a93a5a4c434a954c6bf /lib/sisu/v3dv/concordance.rb
parentv3 v3dv: path & url links, updates for multiple output directory structures (diff)
v3dv, dal +, use symbols to identify document objects type (is) and group (of)sisu_3.1.13
* (dal & code affected as a result)
Diffstat (limited to 'lib/sisu/v3dv/concordance.rb')
-rw-r--r--lib/sisu/v3dv/concordance.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v3dv/concordance.rb b/lib/sisu/v3dv/concordance.rb
index bc238543..82c53e7a 100644
--- a/lib/sisu/v3dv/concordance.rb
+++ b/lib/sisu/v3dv/concordance.rb
@@ -238,8 +238,9 @@ WOK
@dal_array.each do |line|
if defined? line.ocn \
and line.ocn.to_s =~/\d/
- if line.is =~/heading/ \
- and line.ln==4
+ if (line.is ==:heading \
+ || line.is ==:heading_insert) \
+ && line.ln==4
@seg=line.name
end
ocn=line.ocn.to_s