One-command scaffold
New-AcademicProject.ps1 creates academic.json, export.json, the export shim, front matter, the ledger appendix, the references/ ledgers and a research-note index. It never overwrites an existing file.
Write a dissertation where every citation says how far you read.
A PowerShell toolkit and template for writing an academic manuscript in Markdown, with a verification ledger for every source and one-command exports to PDF, Word, Markdown, ePub and plain text.
What it is
Dissertation.Tools exists to close that gap. Every manuscript it scaffolds keeps a verification ledger: each source is recorded as full text read, abstract or publisher page read, or record located, and the claims it supports stay inside what was actually read.
Around the ledger sits the plumbing a long manuscript needs. Chapters are plain Markdown files. One command renders a numbered, archived bundle in five formats through the MindAttic.Export library, another publishes the current copies under the work's title, and a written word-count rule gives body and total figures anyone can check.
It was cut from the toolset that produced Synthetic Exchange Theory, so a second manuscript starts with the same conventions instead of copying files and forking them on day one.
Who it's for
Features
New-AcademicProject.ps1 creates academic.json, export.json, the export shim, front matter, the ledger appendix, the references/ ledgers and a research-note index. It never overwrites an existing file.
Full text read, Abstract or publisher page read, or Record located: every source carries one, and an unopened source is never presented as verified.
references/UNRETRIEVED.md writes down every work checked only at the cited passage, cited from a preprint, or removed for want of a copy, with what to get from the library.
The ledger appendix numbers every correction cumulatively and never renumbers; each review pass appends a section saying what it checked, changed and left open.
Export-Manuscript.ps1 renders <Base> V<N>.* in PDF, Word, Markdown, ePub and plain text with description and keywords files, archiving the previous bundle instead of deleting it.
export.ps1 -Publish copies the newest PDF, Word and Markdown into the project's exports/ folder under the work's title, with no version suffix.
Measure-Words.ps1 prints a per-file table plus body and total counts after stripping math, code, comments and link targets. It never writes into the manuscript.
A manuscript can be a repo of its own or a folder inside a larger one; every path in academic.json is relative to the project root.
How it works
Put Dissertation.Tools and MindAttic.Export next to your manuscript repo; the project's shim finds them there.
Run New-AcademicProject.ps1 with a title, a file base name and an author.
Write chapters/NN-slug.md, and for every citation add the reference, its ledger level and a research note.
scripts\export.ps1 -Publish renders the versioned bundle and copies the current PDF, Word and Markdown into exports/.
Quick start
Windows PowerShell 5.1 and the .NET SDK, with MindAttic.Export cloned beside your repo.
The full setup guide lives in the documentation.
> git clone https://github.com/mindattic/Dissertation.Tools
> git clone https://github.com/mindattic/MindAttic.Export
> cd MyThesis
> powershell -File ..\Dissertation.Tools\scripts\New-AcademicProject.ps1 -Path dissertation -Title "My Thesis" -FileBaseName THESIS -Author "A. Author"
> powershell -File dissertation\scripts\export.ps1 -PublishPart of MindAttic
Dissertation.Tools holds the academic-writing conventions for the MindAttic family once. Rendering belongs to MindAttic.Export; Dissertation.Tools decides what goes in, how sources are verified, how words are counted and where finished copies land.
It was lifted out of Synthetic Exchange Theory, which still uses it, and it serves a second dissertation on Socratic oral assessment that grew out of the Gadfly project.
Status
Scaffolding, exports, publishing, word counts and the ledger conventions are all in daily use by both MindAttic dissertations. The road to 1.0 is a Download line on the published article linking the PDF and Word copies, docs that name today's repos, and a tagged release. The ledger is a convention, not a checker, and the scripts are Windows PowerShell only.
Current milestone: Dissertation.Tools 1.0: a tagged v1.0.0 that both manuscripts use through submission.
Next step
Guides, reference and design notes are in the searchable MindAttic documentation. The source, issues and history are on GitHub.