Inspiration

There were no alternatives that allowed me to do it-- either it was a PDF editor with no option for LaTeX, or it had options for LaTeX, but it converted your PDF into an image. So, if you want to do it right, you have to do it yourself.

What it does

Allows you to overlay LaTeX on PDFs using a drag-and-drop GUI.

How we built it

I first had to create the GUI using tkinter. Then, I had to find a way to display PDFs in tkinter, as it doesn't have native support. So, I had to use inkscape to convert each PDF page into an SVG (for editing) and PNG (for viewing). Then, I called LibreOffice to edit each page. I had to find a way to package all the pages in a .duo file (own creation) using the shutil module, and to export a .duo file as a PDF using PyPDF2.

Challenges we ran into

Getting enough functionality in time. Also, accidentally deleted file during a mangled Git export, so I had to find a way to recover it (PhotoRec saved the day-- check them out!)

Accomplishments that we're proud of

Getting something that works.

What we learned

tkinter and GUI design, HTML, CSS, the challenges of converting one format to another

What's next for PDFLaTeXEditor

Fixing PDF to SVG conversion bugs, and any other bugs people post on the GitHub.

Built With

Share this project:

Updates