bin.teimanipulate

Module Contents

bin.teimanipulate.__author__ = Martin Paul Eve, Dulip Withanage[source]
bin.teimanipulate.__email__ = martin@martineve.com[source]
class bin.teimanipulate.TeiManipulate(gv)[source]

Bases: manipulate.Manipulate

save_tree(self, tree)[source]
get_object_list(self, xpath, start_text, wrap_tag)[source]
drop_addin_json(self, xpath, start_text, replace_tag, attribute, caller)[source]
do_list_bibliography(self, xpath)[source]
do_cit_bibliography(self, xpath)[source]
find_reference_list_in_word_list(self, tree)[source]
find_or_create_element(self, tree, element_tag, add_xpath, is_sibling)[source]
enclose_bibliography_tags(self, xpath, top_tag, sub_tag, attrib, attribvalue)[source]
contains_graphic(self, element)[source]
check_for_continued_references(self, found_element, numeric_start_test, count, elements_to_parse, year_test, blank_text)[source]
find_references_from_cue(self, cue, tree)[source]
tag_bibliography(self, xpath, start_text, caller, parent_tag='{http://www.tei-c.org/ns/1.0}sec', classify_siblings=False, sibling_tag='{http://www.tei-c.org/ns/1.0}cit', sub_xpath='//tei:quote/tei:p | //tei:quote/tei:head')[source]
tag_bibliography_non_csl(self, xpath, start_text, caller)[source]
drop_addin(self, xpath, start_text, sub_tag, replace_tag, attribute, caller, wrap_tag, delete_original)[source]
tag_headings(self)[source]
check_for_disallowed_elements(self, allowed_elements, sub_element, exception_elements)[source]
change_outer(self, outer_xpath, new_value, size_attribute)[source]
change_self_size(self, outer_xpath, size_attribute)[source]
enclose_and_change_self_size(self, outer_xpath, size_attribute, tag, change_tag)[source]
move_size_div(self, heading_id, sibling_id)[source]
resize_headings(self, old_size, new_size)[source]
enclose(self, start_xpath, select_xpath)[source]
enclose_all(self, start_xpath, new_enclose, start_index)[source]
cleanup(self)[source]
handle_metypesetdeleted(self, keep)[source]
run(self)[source]