diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-02-22 21:49:29 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-02-22 21:49:29 -0500 |
commit | ddb044eee0b419c83eee7101cfd36798936200b4 (patch) | |
tree | 386804f30fff52c3f27be4dab8d6b74db7113942 /lib/sisu/v4/dal_numbering.rb | |
parent | debian/changelog (4.0.8-1) (diff) | |
parent | v4: documentation, sisu markup (sisu_markup.sst, man page sisu.1, sisu.1.html) (diff) |
Merge tag 'sisu_4.0.9' into debian/sid
SiSU 4.0.9
Diffstat (limited to 'lib/sisu/v4/dal_numbering.rb')
-rw-r--r-- | lib/sisu/v4/dal_numbering.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v4/dal_numbering.rb b/lib/sisu/v4/dal_numbering.rb index f3750065..258911d2 100644 --- a/lib/sisu/v4/dal_numbering.rb +++ b/lib/sisu/v4/dal_numbering.rb @@ -347,13 +347,15 @@ module SiSU_DAL_Numbering @seg=dob.name end @tuned_file << if dob.is==:heading \ - && (@md.pagenew || @md.pagebreak) + && (@md.pagenew || @md.pagebreak || @md.pageline) m=dob.ln.to_s dob_tmp=[] if @md.pagenew.inspect =~/#{m}/ dob_tmp << SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new]) << dob elsif @md.pagebreak.inspect =~/#{m}/ dob_tmp << SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page]) << dob + elsif @md.pageline.inspect =~/#{m}/ + dob_tmp << SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_line]) << dob end para_result=unless dob_tmp.length > 0; dob else dob_tmp |