https://github.com/francoisschwarzentruber/p2g
A simple tool to convert a proof into a graph
https://github.com/francoisschwarzentruber/p2g
dot2tex graph graphviz mathematics pedagogy proof
Last synced: 7 months ago
JSON representation
A simple tool to convert a proof into a graph
- Host: GitHub
- URL: https://github.com/francoisschwarzentruber/p2g
- Owner: francoisschwarzentruber
- License: gpl-3.0
- Created: 2023-02-21T12:57:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T21:08:36.000Z (over 2 years ago)
- Last Synced: 2025-01-12T19:35:49.057Z (9 months ago)
- Topics: dot2tex, graph, graphviz, mathematics, pedagogy, proof
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# p2g
This script produces a graph in the PDF format of a proof written in a simple text file. The proof can then be embedded in any LaTEX document.
## Usage
python p2g.py sqrt2irrational.proof
outputs

## Description
The tool relies on the following library:
- graphviz
- the LaTEX package dot2tex