TeXTranspiler
LabelBlock: LabelBlock
ref_tag_map: dict
ref_label_formats: dict
si_ref_format: str
main_ref_format: str
si_doc_labels: tuple
style_search_paths: list
__init__(self, tex_root, root_dir=None, figure_renaming_function=None, bib_renaming_function=None, strip_comments=True, figures_path=None, figure_merge_function=None, bib_path=None, bib_merge_function=None, bib_cleanup_function=None, citation_renaming_function=None, aliases=None, styles_path=None, parser_options=None):
@classmethod
figure_counter(cls, name_root='Figure', start_at=1):
@classmethod
add_bibs(cls, bib_list):
@classmethod
pruned_bib(cls, bib_file_or_filter, cites=None, *, filter=None, **parser_options):
@classmethod
get_injection_body(cls, root_dir, node_data: 'TeXImportGraph.ImportNode', body: 'str'):
@classmethod
apply_body_edit(cls, cur_text, edits, normalization_function=None):
@classmethod
flatten_import_graph(cls, graph: 'dict[str, dict[str, TeXImportGraph.ImportNode]]', root, cache=None, root_dir=None, strip_comments=False):
remap_block(self, flat_tex, call_head, file_parser, replacement_path=None, renaming_function=None):
remap_figures(self, flat_tex, figures_path=None):
remap_bibliography(self, flat_tex, bib_path=None):
remap_style_files(self, flat_tex, styles_path=None):
@classmethod
get_call_list(self, tex_stream, tags) -> 'dict[tuple[int, int], str]':
@classmethod
create_label_block_map(cls, tex_stream, call_tags, block_parser):
@classmethod
create_label_map(cls, tex_stream):
@classmethod
create_ref_map(cls, tex_stream):
@classmethod
create_cite_map(cls, tex_stream):
@classmethod
remap_citation_set(cls, tex_stream, ref_handler, cite_map=None):
remap_citations(self, flat_tex, si_tex: 'dict[str, str]' = None, citation_renaming_function=None):
@classmethod
ref_remapping_label(cls, head, label, si_index_map):
@classmethod
figure_table_remapping(cls, si_labels: 'dict[str, dict[tuple[int, int], LabelBlock]]', label_function=None):
@classmethod
remap_refs(cls, tex_stream, ref_handler, ref_map=None):
@classmethod
find_si_documents(cls, flat_tex):
remap_si(self, flat_tex):
create_flat_tex(self, include_aux=True):
transpile(self, target_dir, file_name='main.tex', include_si=True, include_aux=True, allow_missing_styles=False):