Releases: elifesciences/elife-cleaner
elifecleaner 0.79.0
Support converting multiple <inline-graphic>
tags in a single p tag into multiple <inline-formula>
tags.
Modified: equation.disp_formula_tag_index_groups()
to detect and increment inline-graphic tags found
Modified: equation.inline_formula_tag_index_groups()
to detect and increment inline-graphic tags found
Modified: equation.transform_inline_formulas()
to process tags in normal order and not reversed order
Code merged in PR #189
elifecleaner 0.78.0
Modified: transform.transform_xml_funding()
, do not set Wellcome funding statement for Burroughs Wellcome Fund
value
Code merged in PR #187
elifecleaner 0.77.0
Added: equation.formula_graphic_hrefs()
, get disp-formula graphic href values
Added: table.table_graphic_hrefs()
, get table-wrap graphic href values
Code merged in PR #185
elifecleaner 0.76.0
Modified: equations.disp_formula_tag_index_groups()
, iterate over all tags instead of only p
tags
Modified: equations.inline_formula_tag_index_groups()
, iterate over all tags instead of only p
tags
Code merged in PR #183
elifecleaner 0.75.0
Added: equation
module with functions to transform <inline-graphic>
into either <disp-formula>
or <inline-formula>
.
Code merged in PR #181
elifecleaner 0.74.1
Modified: block.graphic_href_list()
, will accept inline_graphic_index
key value of 0 when reading <p>
tags which contain <inline-graphic>
tags
Code merged in PR #179
elifecleaner 0.74.0
Added: block.graphic_href_list()
, collect a list of xlink:href values of graphic tags from the index_groups, based on existing code which can be reused
Removed / moved: fig.inf_file_identifier()
, moved to utils.inf_file_identifier()
Modified: fig.inline_graphic_hrefs()
, calls block.graphic_href_list()
, will be fully compatible
Added: table.table_file_name()
, from inf file name create a new table file name
Added: table.table_inline_graphic_hrefs()
, get inline-graphic href values to be converted to <table-wrap>
Modified: table.transform_table_group()
, will generate a new file name for a graphic file in a <table-wrap>
Added / moved: utils.inf_file_identifier()
, moved from fig.inf_file_identifier()
Code merged in PR #177
elifecleaner 0.73.0
Modified: sub_article.pretty_sub_article_xml()
, added more tags to be modified with new line characters
Code merged in PR #175
elifecleaner 0.72.0
Added: pub_history.prune_history_data()
, return history data related to doi for versions less than version provided
Added: prc.set_article_id()
, add article-id tags
Added: prc.set_volume()
, set volume tag text, add volume tag if not present
Added: prc.set_elocation_id()
, set elocation-id tag text, add elocation-id tag if not present
Added: prc.set_article_categories()
, add tags to article-categories tag
Added: prc.set_license_tag()
, add license tag to parent tag
Added: prc.set_permissions()
, add license data to permissions tag
Added: prc.editor_contributors()
, populate Contributor
objects with editor data from a docmap
Added: prc.set_editors()
, set editor contrib tags
Versions of libraries in requirements are bumped for compatibility.
Code merged in PR #173
elifecleaner 0.71.0
Removed/moved: prc.add_pub_history()
, this is moved to pub_history.add_pub_history()
with slightly different arguments (added optional docmap_string
argument)
Added: pub_history
module and its functions for generating <pub-history>
XML
Code merged in PR #171