paper-format-check

Format checker for theses and lab reports: verifies body font size, first-line indent, line spacing, Chinese font, header student ID and name, page margins, and figure/table caption numbering against a JSON rules preset, then reports each problem with its paragraph location and the concrete fix. Read-only, zero dependencies (Python standard library only), and it refuses to report a pass when no check actually ran. Requires Python 3.8 or newer on PATH.

Overview

Format checker for theses and lab reports: verifies body font size, first-line indent, line spacing, Chinese font, header student ID and name, page margins, and figure/table caption numbering against a JSON rules preset, then reports each problem with its paragraph location and the concrete fix. Read-only, zero dependencies (Python standard library only), and it refuses to report a pass when no check actually ran. Requires Python 3.8 or newer on PATH.

Installation

Install from GitHub

dsh plugin --profile web add github:Stephen-pc/paper-format-check

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands