Skip to content

Releases: antoniotejada/srdine

2.0.1

20 Aug 01:15
Compare
Choose a tag to compare

Full Changelog: 2.0.0...2.0.1

2.0.0

16 Aug 04:43
Compare
Choose a tag to compare

Full Changelog: 1.0.0...2.0.0

1.0.0: Initial commit, generates new SRD pdf with table of contents

31 Jul 21:44
Compare
Choose a tag to compare
Generates the missing table of contents for the 5th Edition Dungeons & Dragons
SRD.

Files:

srdine.py

- Opens the pdf, and traverses the spans
- Merges text of contiguous lines with the same font size, cleans up text
- Puts in the TOC all the text of font size 12 or higher
- Generates a pdf with the new TOC

requirements.txt
README.md
LICENSE

Tests

- Viewed the generated document with Sumatra PDF,
    - Verified TOC entries are generated
    - Verified no strange characters appear in the TOC entries
    - Verified subsections are properly nested