Dissertation.Tools
Dissertation.Tools
Write a dissertation in Markdown where every citation records how far its source was actually verified; exports to PDF, Word, ePub and a GitHub Pages site.
chapters/*.md ──► scripts\export.ps1 ──► MindAttic.Export ──► "<Base> V<N>.pdf/.docx/.md/.epub/.txt"
│ │
references/VERIFICATION.md -Publish │
references/UNRETRIEVED.md ▼
Appendix: verification ledger exports\<Title>.pdf/.docx/.md + docs\<slug>.md (Pages)
Why
- Know, for every source you cite, whether you read the full text, only the abstract, or only found the record, and keep your claims inside what you actually read.
- Hand a reader or examiner a ledger appendix that shows the verification level of every source and every correction made to the draft.
- Keep a library list of what you could not retrieve, so the gaps are written down instead of hidden.
- Get a numbered, archived bundle in PDF, Word, Markdown, ePub and plain text from one command, and never hand-edit an export.
- Count words by one written rule, body and total, so a stated count can be checked.
- Start a second manuscript with the same conventions instead of copying files and forking them on day one.
The verification ledger
Dissertation.Tools exists because a citation alone does not say whether anyone read the source. Each manuscript keeps a ledger that does.
- Three levels. Every source is recorded as Full text read (or the relevant parts, stated after the entry), Abstract or publisher page read, or Record located (bibliographic record only).
- Claims at the verified level. A source read only at its abstract supports only what the abstract establishes. A record-only source is cited for central, widely documented claims and flagged for a library check. An unopened source is never presented as verified.
- The unretrieved list.
references/UNRETRIEVED.mdlists every work checked only at the cited passage, cited from a preprint because the published version could not be opened, or removed for want of a copy, each with what to get from the library. - The corrections log. The ledger appendix numbers every correction made to the working draft, cumulatively and never renumbered, and each later review pass appends its own section saying what it checked, what it changed and what remains open.
- Research notes. Each source gets an entry with its full reference, its verification level, what it actually establishes and how the manuscript uses it.
Adding a citation means adding the reference entry, its ledger level and its research note, and checking the in-text and reference-list forms match.
Features
- Scaffold.
New-AcademicProject.ps1creates a manuscript fromtemplate/:academic.json,export.json, the export shim, front matter, the ledger appendix, thereferences/ledgers and research-note index, and a GitHub Pages workflow. It never overwrites an existing file. - Export.
Export-Manuscript.ps1renders the chapters through the MindAttic.Export library into a versioned bundle<fileBaseName> V<N>.*withdescription.txtandkeywords.txt, archiving the previous bundle intoArchives\v<N>\. - Publish.
Publish-Exports.ps1(orexport.ps1 -Publish) copies the newest PDF, Word and Markdown into the project'sexports\folder under the work's title, and the Markdown into the Pages article. - Word count.
Measure-Words.ps1prints a per-file table plus body and total counts, after removing math, code, comments and link targets. It never writes into the manuscript. - Whole repo or subfolder. A project can be a repo of its own or a folder inside a larger repo.
Quick start
Prerequisites: Windows PowerShell 5.1, the .NET SDK, and a clone of MindAttic.Export beside your repo (or $env:MINDATTIC_EXPORT pointing at its MindAttic.Export.Cli project). Clone Dissertation.Tools beside your manuscript repo:
cd D:\Projects git clone https://github.com/mindattic/Dissertation.Tools git clone https://github.com/mindattic/MindAttic.Export
Scaffold a manuscript. -Author is required:
cd D:\Projects\MyThesis powershell -File ..\Dissertation.Tools\scripts\New-AcademicProject.ps1 -Path dissertation -Title "My Thesis" -FileBaseName THESIS -Author "A. Author"
Write chapters as chapters\NN-slug.md, each starting with one # heading. Then export and publish:
powershell -File dissertation\scripts\export.ps1 powershell -File dissertation\scripts\export.ps1 -Formats pdf,docx powershell -File dissertation\scripts\export.ps1 -Publish
You should see THESIS V1.pdf, .docx, .md, .epub and .txt in dissertation\exports\, and after -Publish the unversioned My Thesis.pdf, .docx and .md. Count words with:
powershell -File ..\Dissertation.Tools\scripts\Measure-Words.ps1 -ProjectRoot dissertation
Configuration
academic.jsonsets the export definition file, the word-count rule (wordCount.body,wordCount.exclude) and the publish step (publish.directory,publish.name,publish.formats,publish.pages). Paths are relative to the project root.export.jsonis a MindAttic.Export bundle definition: title page,sources,outputDirectory,fileBaseName,formats,profile,toc,math. The template writes to a relativeexportsfolder; a relative path resolves against the folder holdingexport.json.scripts\export.ps1in each project finds Dissertation.Tools at$env:DISSERTATION_TOOLS_HOME, else..\Dissertation.Toolsbeside the project's git root, else the legacy$env:MINDATTIC_ACADEMIC.
Check which copy a project will use without exporting:
$env:DISSERTATION_TOOLS_DRYRUN = 1; powershell -File scripts\export.ps1; Remove-Item Env:DISSERTATION_TOOLS_DRYRUN
Project layout
DESIGN.md the conventions of record scripts/ Academic.Common.ps1 shared helpers Export-Manuscript.ps1 export through MindAttic.Export Publish-Exports.ps1 copy the newest bundle into exports/ and the Pages article Measure-Words.ps1 the word-count rule New-AcademicProject.ps1 scaffold a manuscript from template/ template/ files a new manuscript starts from
Works using it
- Synthetic Exchange Theory, read at mindattic.github.io/SyntheticExchangeTheory.
- Elenchus at Scale: Socratic Oral Assessment by Synthetic Examiners, read at mindattic.github.io/ElenchusAtScale. Started as a subfolder of Gadfly (the exam app it studies) and extracted into its own repo, mindattic/ElenchusAtScale, so the manuscript is no longer coupled to the app's CI, deploys and Pages site.
Limitations
- Windows PowerShell only; the scripts use Windows paths.
- Rendering needs the MindAttic.Export library and the .NET SDK; Dissertation.Tools does not render on its own.
- The Pages workflow in the template calls a reusable workflow in
mindattic/MindAttic.Agency; replace it if you publish elsewhere. - The ledger is a convention, not a checker: nothing verifies that a source was read at the level recorded.
Documentation
- DESIGN.md: the project contract and every convention in full (exports, verification levels, the ledger appendix,
references/, word counts, Pages).
License
This repo has no LICENSE file. All rights reserved.
Scope
The complete product is specified in docs/SPEC.md, including what the toolkit will never do. The current and final finish line, Dissertation.Tools 1.0 (MS-54), is in docs/RELEASE.md.
Pages in this repository
- Dissertation.Tools — Project Bible — Dissertation.Tools is the PowerShell toolkit and template that lets a Markdown dissertation record how far every cited source was verified…
- Dissertation.Tools — Release charter — Dissertation.Tools is the PowerShell toolkit and template that the two MindAttic dissertations share: scaffold, export through…
- Dissertation.Tools — Product specification — Place in the ecosystem: The owner of scholarly writing (docs/ECOSYSTEM.md §2.1): every manuscript is scaffolded, verified and exported…