diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-02-03 20:41:32 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-02-03 20:41:36 -0500 |
commit | 7e3cee576368c095fe491014bd279eb280c598ba (patch) | |
tree | d8b198e2e09066bcaffc5a93a5a4c434a954c6bf /lib/sisu/v3dv/epub_concordance.rb | |
parent | v3 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/epub_concordance.rb')
-rw-r--r-- | lib/sisu/v3dv/epub_concordance.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sisu/v3dv/epub_concordance.rb b/lib/sisu/v3dv/epub_concordance.rb index 40dd83f5..e2e5bb5c 100644 --- a/lib/sisu/v3dv/epub_concordance.rb +++ b/lib/sisu/v3dv/epub_concordance.rb @@ -206,7 +206,10 @@ WOK @word_map={} @dal_array.each do |line| if defined? line.ocn - if line.is =~/heading/ and line.ln==4; @seg=line.name + if (line.is ==:heading \ + || line.is ==:heading_insert) \ + && line.ln==4 + @seg=line.name end if line.ocn.to_s =~/\d+/; toy=line.ocn.to_s end |