Project for Hackistica'23
Members : Kanchi Pardhi, Neha, Saurabh Kumar Singh, Mayank Tayal
A tool that takes the input of a C++ function and returns a pseudocode snippet written in LaTeX that can be used inside a LaTeX document.
We have used Python, Flask,HTML, CSS, Javascript, Bootstrap frameworks for builiding our project mainly. The proper use of these tools have helped us heavily in developing the project efficiently.
The code files can be made to run locally on the system. One needs to download the .zip file of our codes from the github repo:https://github.com/InquisitiveMe15/Hackistica-Code-to-Latex-Script. After extracting the files, one can navigate to the proper folders through the terminal.
-
Thereafter, create a virtual environment locally using
python -m venv name
and activate it usingname/Scripts/activate
-
Following, run
pip install flask
in the terminal and check for any other library that might be causing some difficulty on your system.
Once these steps are complete, go ahead and run python app.py
This will run the application on localhost port. Navigate to the web page and explore the enjoyable Web Application.
Let us have a brief overview of the key features of the application. The following points highlight some interesting and useful aspects of the project app.
1.User need to enter the C++ function in the text area provided.
2.Three buttons are provided to submit the C++ code, clear the text area , reset to enter new function.
3.The latex code is displayed as below.
4.Copy button provided to copy the latex code to the clipboard.