Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
pull out figures from paragraphs (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
de-code authored Oct 30, 2020
1 parent 04e624c commit b067c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/xml-mapping.conf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ section_title.children.concat = [[{"xpath": "./label"}, {"value": " "}, {"xpath"
section_paragraph =
(//sec | //ack)/p
./body/p
section_paragraph.ignore = .//list
section_paragraph.ignore = .//list|fig|table-wrap
section_paragraph.max_chunks = 2
section_paragraph.sub.section_paragraph-xref-bib = .//xref[@ref-type="bibr"]
section_paragraph.sub.section_paragraph-xref-figure = .//xref[@ref-type="fig"]
Expand All @@ -91,7 +91,7 @@ boxed_text_title.children = ./label | ./caption
boxed_text_title.children.concat = [[{"xpath": "./label"}, {"value": " "}, {"xpath": "./caption"}]]

boxed_text_paragraph = //boxed-text//p
boxed_text_paragraph.ignore = .//list
boxed_text_paragraph.ignore = .//list|fig|table-wrap
boxed_text_paragraph.max_chunks = 2
boxed_text_paragraph.sub.boxed_text_paragraph-xref-bib = .//xref[@ref-type="bibr"]
boxed_text_paragraph.sub.boxed_text_paragraph-xref-figure = .//xref[@ref-type="fig"]
Expand Down

0 comments on commit b067c9e

Please sign in to comment.