Skip to content

Commit

Permalink
process crossreferences in abstract: metanorma/mn-samples-plateau#58
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jul 12, 2024
1 parent d00ae3d commit 6a6c765
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/isodoc/xref/xref_util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def noblank(xpath)

SECTIONS_XPATH =
"//foreword | //introduction | //acknowledgements | " \
"//preface/terms | preface/definitions | preface/references | " \
"//preface/abstract | " \
"//preface/terms | //preface/definitions | //preface/references | " \
"//preface/clause | //sections/terms | //annex | " \
"//sections/clause | //sections/definitions | " \
"//bibliography/references | //bibliography/clause".freeze
Expand All @@ -34,8 +35,8 @@ def child_asset_path(asset)
"./xmlns:X".gsub("X", asset)
end

CHILD_SECTIONS = "./clause | ./appendix | ./terms | ./definitions | " \
"./references".freeze
CHILD_SECTIONS = "./clause | ./appendix | ./terms | ./definitions | " \
"./references".freeze
end
end
end

0 comments on commit 6a6c765

Please sign in to comment.