<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Export%2FBIBLE</id>
	<title>MindAttic.Export/BIBLE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Export%2FBIBLE"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Export/BIBLE&amp;action=history"/>
	<updated>2026-12-06T23:13:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Export/BIBLE&amp;diff=568&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Export/BIBLE&amp;diff=568&amp;oldid=prev"/>
		<updated>2026-11-29T20:26:15Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= MindAttic.Export — Project Bible =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Single source of truth for what MindAttic.Export IS, is NOT, and the rules that keep it coherent. README says how to build and run it; this says how to think about it. The finish line lives in &amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 1. The one sentence &amp;lt;span id=&amp;quot;M.EXPT-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
MindAttic.Export is the one place a MindAttic application turns data into a user-facing file: manuscripts and reports to &amp;lt;code&amp;gt;.docx&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.epub&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.pdf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.txt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.md&amp;lt;/code&amp;gt;, and any other artifact (JSON, CSV, HTML, recordings, zip bundles) through one atomic writer.&lt;br /&gt;
&lt;br /&gt;
== 2. The product promise &amp;lt;span id=&amp;quot;M.EXPT-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Prose books come out exactly as they always did.&amp;lt;/strong&amp;gt; The book path (6&amp;quot;×9&amp;quot; KDP trim, Garamond) was migrated verbatim from Prose and is pinned byte-for-byte to the pre-migration renderer by the legacy-equivalence tests (&amp;lt;code&amp;gt;MindAttic.Export.Tests/Legacy*&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Documents look like real academic work.&amp;lt;/strong&amp;gt; The document path (US Letter, page-numbered contents, headings, tables, lists, block quotes, LaTeX math, hanging-indent references, figures with APA captions) serves reports and the SyntheticExchangeTheory dissertation.&lt;br /&gt;
* &amp;lt;strong&amp;gt;One call per bundle.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;ManuscriptExporter.ExportBundleAsync&amp;lt;/code&amp;gt; writes &amp;lt;code&amp;gt;&amp;amp;lt;Name&amp;gt; V&amp;amp;lt;N&amp;gt;.{formats}&amp;lt;/code&amp;gt; and archives the previous version instead of overwriting it.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Artifacts are written safely.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;ArtifactWriter&amp;lt;/code&amp;gt; sanitises names, writes atomically, uses UTF-8 without BOM by default and makes the caller choose what happens to an existing file.&lt;br /&gt;
&lt;br /&gt;
== 3. What it is NOT &amp;lt;span id=&amp;quot;M.EXPT-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT an editor.&amp;lt;/strong&amp;gt; It reads Markdown or a built &amp;lt;code&amp;gt;Manuscript&amp;lt;/code&amp;gt;; authoring lives in Prose and the apps.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a downloader.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;DefaultImageResolver&amp;lt;/code&amp;gt; reads paths, &amp;lt;code&amp;gt;file:&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;data:&amp;lt;/code&amp;gt; URIs; it never fetches &amp;lt;code&amp;gt;http(s):&amp;lt;/code&amp;gt; sources. Apps plug their own store in through &amp;lt;code&amp;gt;IImageResolver&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a place for silent book changes.&amp;lt;/strong&amp;gt; Anything that alters Prose book output needs the author&amp;#039;s OK and an updated legacy oracle.&lt;br /&gt;
&lt;br /&gt;
== 4. Architecture canon &amp;lt;span id=&amp;quot;M.EXPT-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt; Markdown files / export.json      Manuscript model            Renderers&lt;br /&gt;
 ----------------------------      ----------------            ---------&lt;br /&gt;
 MarkdownManuscriptReader  -----&amp;gt;  Manuscript, Chapter,  ---&amp;gt;  DocxRenderer  (OpenXml)&lt;br /&gt;
 mindattic-export CLI              blocks, glossary            PdfRenderer   (QuestPDF)&lt;br /&gt;
                                                               EpubRenderer&lt;br /&gt;
                                                               TextRenderer, MarkdownRenderer&lt;br /&gt;
 any app data  -----------------&amp;gt;  ArtifactWriter  ---------&amp;gt; atomic file, archive policy&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.1 Projects ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;MindAttic.Export&amp;lt;/code&amp;gt; — the library, multi-targeted &amp;lt;code&amp;gt;net9.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;net10.0&amp;lt;/code&amp;gt;, packed to &amp;lt;code&amp;gt;C:\LocalNuGet&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;MindAttic.Export.Cli&amp;lt;/code&amp;gt; — &amp;lt;code&amp;gt;mindattic-export --config export.json&amp;lt;/code&amp;gt;, same DI graph as the library.&lt;br /&gt;
* &amp;lt;code&amp;gt;MindAttic.Export.Tests&amp;lt;/code&amp;gt; — NUnit, including the legacy-equivalence harness.&lt;br /&gt;
&lt;br /&gt;
=== 4.2 Domain model (the nouns) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Manuscript&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ManuscriptInfo&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Chapter&amp;lt;/code&amp;gt;; blocks: paragraph, sub-heading, heading, tenet, marker, list, quote, table, math, rule, &amp;lt;code&amp;gt;ImageBlock&amp;lt;/code&amp;gt;; glossary; &amp;lt;code&amp;gt;ExportOptions&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;Document&amp;lt;/code&amp;gt;, book profiles); &amp;lt;code&amp;gt;BundleRequest&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ExportFormat&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== 4.3 Key services (the verbs) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;MarkdownManuscriptReader.ReadFiles&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ManuscriptExporter.ExportBundleAsync&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ReportExporter&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ArtifactWriter.Write*Async&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ExportArchive&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ExportPaths&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ProseInline&amp;lt;/code&amp;gt; (the inline parser shared with the Prose editor), &amp;lt;code&amp;gt;LatexMath&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ImageLayout&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== 5. The Laws &amp;lt;span id=&amp;quot;M.EXPT-5&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Inherits &amp;lt;code&amp;gt;MindAttic.HouseRules.md&amp;lt;/code&amp;gt; by reference.&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;Legacy equivalence.&amp;lt;/strong&amp;gt; &amp;lt;span id=&amp;quot;M.EXPT-LAW-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; The book path stays byte-identical to Prose&amp;#039;s pre-migration output unless the author approves a change and the oracle is updated with it.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Archive, never delete.&amp;lt;/strong&amp;gt; &amp;lt;span id=&amp;quot;M.EXPT-LAW-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; A new export version archives the old one.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Whole-number versions.&amp;lt;/strong&amp;gt; &amp;lt;span id=&amp;quot;M.EXPT-LAW-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Every release bumps the major version.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Pinned shared dependencies.&amp;lt;/strong&amp;gt; &amp;lt;span id=&amp;quot;M.EXPT-LAW-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;code&amp;gt;DocumentFormat.OpenXml&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;QuestPDF&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Markdig&amp;lt;/code&amp;gt; versions match Prose&amp;#039;s so a consumer resolves one of each.&lt;br /&gt;
# &amp;lt;strong&amp;gt;CLI and library are one graph.&amp;lt;/strong&amp;gt; &amp;lt;span id=&amp;quot;M.EXPT-LAW-5&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; The CLI registers the same DI graph as the library; it adds no rendering of its own.&lt;br /&gt;
&lt;br /&gt;
== 6. Verified state &amp;lt;span id=&amp;quot;M.EXPT-6&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* 6.0.0 is on &amp;lt;code&amp;gt;C:\LocalNuGet&amp;lt;/code&amp;gt;; Prose and KdpPublish consume it, ProcessLogger 5.0.0, eight apps 3.0.0 (artifact writes only).&lt;br /&gt;
* Figures in DOCX and PDF with SVG kept vector and a pluggable resolver: f78cfec (5.2.0).&lt;br /&gt;
* Lyric stanzas and screenplay layout: cff683c (5.1.0). 16,580-test NUnit suite with the legacy harness: e502225 (4.0.0).&lt;br /&gt;
&lt;br /&gt;
== 7. Active frontier &amp;lt;span id=&amp;quot;M.EXPT-7&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;docs/RELEASE.md&amp;lt;/code&amp;gt;: the 7.0 milestone (figure captions kept with their image, the book glossary blank leaf, the 7.0.0 package and a clean dissertation re-export).&lt;br /&gt;
&lt;br /&gt;
== 8. Quality bar &amp;lt;span id=&amp;quot;M.EXPT-8&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
A renderer change is done when the legacy-equivalence tests pass (or the oracle was updated with the author&amp;#039;s OK), the affected format was opened and checked by eye, and the README describes it.&lt;br /&gt;
&lt;br /&gt;
== 9. Glossary &amp;lt;span id=&amp;quot;M.EXPT-9&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Book path&amp;lt;/strong&amp;gt; — the Prose house style for KDP books.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Document path&amp;lt;/strong&amp;gt; — the US Letter profile for reports and academic work.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Tenet&amp;lt;/strong&amp;gt; — a Prose block rendered on its own page.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Bundle&amp;lt;/strong&amp;gt; — one versioned set of formats written by &amp;lt;code&amp;gt;ExportBundleAsync&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Legacy oracle&amp;lt;/strong&amp;gt; — frozen copies of the original Prose renderer used by the equivalence tests.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Export]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/MindAttic.Export/blob/main/docs/BIBLE.md MindAttic.Export/docs/BIBLE.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MindAttic.Export]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>