Skip to content

A Python-based toolkit for seamless LaTeX file management. Convert between text, LaTeX, and PDF formats, and ensure document quality with an integrated spell checker. Designed to simplify workflows for LaTeX users, this system organizes input and output files efficiently and offers robust functionality for content conversion and error detection.

Notifications You must be signed in to change notification settings

vishalkashyap01/Latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX Logo LaTeX File Management System

Overview

This repository is a LaTeX file management system with the following key functionalities:

  1. Convert text files to LaTeX format and vice versa.
  2. Convert PDF files to LaTeX format.
  3. 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.

Folder Structure

1. download/

  • This folder contains the output files generated after processing the input files.
  • Types of files: .tex, .pdf, .txt, etc.

2. upload/

  • This folder is used to upload input files for processing.
  • Accepted formats: .tex, .txt, .pdf.

3. server/

  • 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.

How to Use

  1. Setup:

    • Clone the repository:
      git clone <repository_url>
      cd <repository_name>
    • Install dependencies (if any):
      pip install -r requirements.txt
  2. Upload Files:

    • Place the input files in the upload/ folder.
  3. 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
  4. Retrieve Outputs:

    • Processed files will be saved in the download/ folder.

Features

  • 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.

Requirements

  • Python 3.8 or later
  • Dependencies : blob >>> pip install blob

Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.


License

This project is licensed under the MIT License.

About

A Python-based toolkit for seamless LaTeX file management. Convert between text, LaTeX, and PDF formats, and ensure document quality with an integrated spell checker. Designed to simplify workflows for LaTeX users, this system organizes input and output files efficiently and offers robust functionality for content conversion and error detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published