Closed lgabs closed 1 week ago
I've implemented the pdf generator here: https://github.com/lgabs/gpt-resolve/blob/53bd76c94a30a7b1ec04a49b301b1ef9894fbda0/src/gpt_resolve/pdf_generator.py#L7-L15
and now I'll work on documentation for this, including how to run this compilation with the cli implemented.
This feature was added in this commit, and now it's functional.
To enhance the usability of LLM-generated solutions, we aim to automate the process of compiling these LaTeX-formatted solutions into a well-structured PDF. Using PyLaTeX appears promising, assuming the user has a LaTeX compiler configured.
Proposed Approach
File Setup for Compilation:
resolve.py
, introduce a new script,compile_to_latex.py
..txt
file containing the solution text.Documentation:
compile_to_latex.py
for PDF compilation, with notes on optionality.Let me know if any additional details are needed!