This is a web-based application that can extract LaTeX from a PDF document and convert it to a TeX document. It uses a Python backend with the Flask framework and a React front-end.
To run this application, you will need Python 3 and Node.js installed on your machine.
Clone the repository to your local machine. Navigate to the backend directory and run pip install -r requirements.txt to install the necessary Python dependencies. Navigate to the frontend directory and run npm install to install the necessary Node.js dependencies.
To start the application, follow these steps:
Navigate to the backend directory and run python app.py to start the Flask server. Navigate to the frontend directory and run npm start to start the React development server. Open a web browser and go to http://localhost:3000 to access the application. To use the application:
Click the "Choose File" button and select a PDF file to upload. Click the "Upload" button to upload the file to the server. Wait for the server to extract the LaTeX from the file and display it on the screen. Click the "Download PDF" button to download the original PDF file. License This project is licensed under the MIT License - see the LICENSE file for details.