Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

📝 Math PDF Maker (AlvinRocks Edition)

A Cross-Platform Markdown, LaTeX & OCR Editor for Creating Professional Mathematical Documents

Math PDF Maker is a desktop application designed for students, teachers, researchers, and competitive mathematics enthusiasts. It combines Markdown, LaTeX, OCR, AI-assisted transcription, and professional document export into a single workspace.


✨ Features

🐧 Cross-Platform

  • ✅ Windows support
  • ✅ Native Linux support
  • Automatic dependency installation on first launch

✍️ Rich Markdown + LaTeX Editor

Write mathematics naturally using Markdown and LaTeX.

Supports:

  • Inline & display equations
  • Markdown formatting
  • Images
  • Tables
  • Lists
  • Headings
  • Colored text
  • Centered text
  • HTML tables

Live MathJax rendering provides an instant preview while typing.


📐 Built-in Math Toolbar

Quick insertion buttons for common mathematical constructs:

  • Matrix
  • Fractions
  • Square roots
  • Infinity
  • Modular arithmetic
  • Theorem / Proof templates
  • Tables

Also includes:

  • Automatic LaTeX syntax normalization
  • Math lint/fix tool

👀 Advanced Preview

The preview window includes:

  • Continuous view
  • Single-page view
  • Paper View
  • Adjustable page borders
  • Optional page numbers
  • Page navigation
  • Page counter
  • One-page limit mode
  • Auto-trim overflowing documents
  • Undo Trim

🖼 OCR

Local OCR

  • Offline OCR using RapidOCR
  • Supports images and PDFs

Gemini OCR

  • AI-assisted extraction of mathematical expressions
  • Produces Markdown + properly delimited LaTeX

📤 Export

Export directly to:

  • PDF
  • Microsoft Word (.docx)
  • LibreOffice-compatible documents

Features include:

  • Native Word equations using math2docx
  • Progress indicators
  • Automatic save-folder memory
  • Open output folder directly from the application

🎨 Formatting Tools

  • Custom text colors
  • Multiple preset colors
  • Headers
  • Watermarks
  • Adjustable margins
  • Font size
  • Line spacing
  • Multiple paper sizes

⚡ Performance

  • Offline MathJax support
  • Automatic dependency installer
  • Background OCR threads
  • Faster preview updates
  • Improved rendering stability
  • Better Linux compatibility

🚀 Installation

Clone the repository

git clone https://github.com/AlvinKirath/Math-PDF-Maker.git

Run

python math_pdf_maker.py

Missing dependencies are detected and installed automatically on first launch.


Optional AI Features

To use Gemini OCR:

  1. Obtain a Gemini API key from Google AI Studio.
  2. Paste it into the application.
  3. Start extracting mathematical content from images.

Requirements

  • Python 3.10+
  • Windows or Linux

Optional:

  • Microsoft Word (for advanced native Word equation support on Windows)

License

MIT License


Made with ❤️ for mathematicians, teachers, students, and anyone who wants beautiful mathematical documents without wrestling with complicated typesetting software.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages