greater_tables.data package

Submodules

greater_tables.data.tex_list module

Find and process blobs of TeX.

Change target directory to find other blobs.

class greater_tables.data.tex_list.TeXMacros[source]

Bases: object

A class for dealing with TeX macros.

made out of PublisherBase in blog_tools.py from great2.blog

static process_tex_macros(text)[source]

Expand standard general.tex macros in the text.

static tex_splitter(x)[source]

x is a single def style tex macro

static tex_to_dict(text)[source]

Convert text, a series of def{} macros into a dictionary returns the dictionary and the regex of all keys

greater_tables.data.tex_list.find_tex_snippets(in_dir='\\S\\TELOS\\PIR\\docs', out_file='tex_list.csv')[source]

Ripgrep / TeX macro expand list of TeX snippets.

Module contents