bin.referencelinker
¶
referencelinker.py: a tool to link parenthetical references to ref-list elements in a JATS file
- Usage:
referencelinker.py scan <input> [options] referencelinker.py link <input> <source_id> <dest_id> [options] referencelinker.py prune <input> [options]
- Options:
- -d, --debug
Enable debug output
- --interactive
Prompt the user to assist in interactive tagging
- -h, --help
Show this screen.
- --nogit
Disable git debug filesystem (only of use with –debug)
- -v, --version
Show version.
- -z, --zotero
Enable Zotero integration for references.
Module Contents¶
-
bin.referencelinker.
__email__
= martin@martineve.com[source]¶ A class that looks for references to link in an NLM file and joins them to the corresponding reference entry
-
class
bin.referencelinker.
ReplaceObject
(global_variables, paragraph, reference_to_link)[source]¶ Bases:
debug.Debuggable
-
class
bin.referencelinker.
ReplaceStub
(global_variables, paragraph, replace_text, tree, manipulate, link_text='TO_LINK', length_ignore=False)[source]¶ Bases:
debug.Debuggable