codebots.bots.latexbot.LatexBot.convert_tex_to_docx#

Method

LatexBot.convert_tex_to_docx(input_path, output_path=None, open_docx=False)[source]#

convert all the .tex files in a folder into .docx files. If no output_path is provided, the .docx files will be saved in the same directory as the .tex files.

Parameters:
input_pathstr

path to the folder containing the .tex file(s)

output_pathstr, optional

path to the output .docx file(s), by default None

open_docxbool, optional

open the docx file after creation, by default False