This repository is a LaTeX file management system with the following key functionalities:
- Convert text files to LaTeX format and vice versa.
- Convert PDF files to LaTeX format.
- Check spelling errors in LaTeX files.
The project is organized into three main folders:
download/
: Stores output files generated by the system.upload/
: Contains input files uploaded for processing.server/
: Houses Python code files implementing the core functionalities.
- This folder contains the output files generated after processing the input files.
- Types of files:
.tex
,.pdf
,.txt
, etc.
- This folder is used to upload input files for processing.
- Accepted formats:
.tex
,.txt
,.pdf
.
- This folder contains Python scripts to handle various operations:
text_to_latex.py
: Converts plain text files into LaTeX documents.latex_to_text.py
: Converts LaTeX documents back into plain text.pdf_to_latex.py
: Extracts LaTeX content from PDF files.spell_checker.py
: Checks and highlights spelling errors in LaTeX files.
-
Setup:
- Clone the repository:
git clone <repository_url> cd <repository_name>
- Install dependencies (if any):
pip install -r requirements.txt
- Clone the repository:
-
Upload Files:
- Place the input files in the
upload/
folder.
- Place the input files in the
-
Run Scripts:
- To convert text to LaTeX:
python server/text_to_latex.py
- To convert LaTeX to text:
python server/latex_to_text.py
- To convert PDF to LaTeX:
python server/pdf_to_latex.py
- To check spelling in a LaTeX file:
python server/spell_checker.py
- To convert text to LaTeX:
-
Retrieve Outputs:
- Processed files will be saved in the
download/
folder.
- Processed files will be saved in the
- Text-Latex Conversion: Create LaTeX documents from plain text effortlessly.
- Latex-Text Conversion: Extract text content from LaTeX files.
- PDF-Latex Conversion: Transform PDF content into LaTeX format.
- Spell Checking: Ensure your LaTeX documents are free from spelling errors.
- Python 3.8 or later
- Dependencies : blob >>> pip install blob
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License.