Skip to content

RMPR/SystemProgramming

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

System Programming Wiki Book Builder

Converts the System Programming wiki markdown files into a single PDF or EPUB book, ordered by the course table of contents.

Requirements

  • Python 3.6+
  • Pandoc (tested with 3.6+)
  • For PDF output: xelatex (install texlive-xetex and related font packages)

Usage

# Generate PDF
python3 build_book.py --pdf

# Generate EPUB
python3 build_book.py --epub

# Generate both
python3 build_book.py --pdf --epub

Output files are written to the current directory as SystemProgramming.pdf and/or SystemProgramming.epub.

What it does

  1. Concatenates all wiki markdown files in table-of-contents order (12 chapters)
  2. Cleans up wiki-style links, HTML tags, broken remote images, and invalid characters
  3. Structures headings into a chapter/section hierarchy
  4. Generates a table of contents
  5. For PDF: applies LaTeX-specific escaping and page breaks via xelatex
  6. For EPUB: produces a clean EPUB3 with chapter-level splitting

About

Angrave's Crowd-Sourced System Programming Book used at UIUC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors