scriveno 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +222 -0
  3. package/agents/continuity-checker.md +85 -0
  4. package/agents/drafter.md +248 -0
  5. package/agents/plan-checker.md +209 -0
  6. package/agents/researcher.md +114 -0
  7. package/agents/translator.md +204 -0
  8. package/agents/voice-checker.md +154 -0
  9. package/bin/install.js +1620 -0
  10. package/commands/scr/add-note.md +51 -0
  11. package/commands/scr/add-unit.md +101 -0
  12. package/commands/scr/art-direction.md +225 -0
  13. package/commands/scr/autopilot-publish.md +210 -0
  14. package/commands/scr/autopilot-translate.md +237 -0
  15. package/commands/scr/autopilot.md +200 -0
  16. package/commands/scr/back-matter.md +630 -0
  17. package/commands/scr/back-translate.md +197 -0
  18. package/commands/scr/beta-reader.md +97 -0
  19. package/commands/scr/blurb.md +149 -0
  20. package/commands/scr/book-proposal.md +210 -0
  21. package/commands/scr/build-ebook.md +448 -0
  22. package/commands/scr/build-poetry-submission.md +202 -0
  23. package/commands/scr/build-print.md +598 -0
  24. package/commands/scr/build-smashwords.md +171 -0
  25. package/commands/scr/build-world.md +158 -0
  26. package/commands/scr/cast-list.md +104 -0
  27. package/commands/scr/chapter-header.md +158 -0
  28. package/commands/scr/character-arc.md +108 -0
  29. package/commands/scr/character-ref.md +160 -0
  30. package/commands/scr/character-sheet.md +143 -0
  31. package/commands/scr/character-touch.md +157 -0
  32. package/commands/scr/character-voice-sample.md +111 -0
  33. package/commands/scr/check-notes.md +50 -0
  34. package/commands/scr/cleanup.md +159 -0
  35. package/commands/scr/compare.md +112 -0
  36. package/commands/scr/complete-draft.md +49 -0
  37. package/commands/scr/continuity-check.md +129 -0
  38. package/commands/scr/copy-edit.md +118 -0
  39. package/commands/scr/cover-art.md +382 -0
  40. package/commands/scr/cultural-adaptation.md +177 -0
  41. package/commands/scr/demo.md +93 -0
  42. package/commands/scr/dialogue-audit.md +143 -0
  43. package/commands/scr/discuss.md +118 -0
  44. package/commands/scr/discussion-questions.md +129 -0
  45. package/commands/scr/do.md +68 -0
  46. package/commands/scr/draft.md +97 -0
  47. package/commands/scr/editor-review.md +466 -0
  48. package/commands/scr/export.md +942 -0
  49. package/commands/scr/fast.md +65 -0
  50. package/commands/scr/front-matter.md +696 -0
  51. package/commands/scr/health.md +113 -0
  52. package/commands/scr/help.md +121 -0
  53. package/commands/scr/history.md +92 -0
  54. package/commands/scr/illustrate-scene.md +211 -0
  55. package/commands/scr/import.md +95 -0
  56. package/commands/scr/insert-unit.md +108 -0
  57. package/commands/scr/line-edit.md +146 -0
  58. package/commands/scr/manager.md +77 -0
  59. package/commands/scr/manuscript-stats.md +139 -0
  60. package/commands/scr/map-illustration.md +213 -0
  61. package/commands/scr/map-manuscript.md +134 -0
  62. package/commands/scr/merge-units.md +136 -0
  63. package/commands/scr/multi-publish.md +344 -0
  64. package/commands/scr/new-character.md +167 -0
  65. package/commands/scr/new-revision.md +50 -0
  66. package/commands/scr/new-work.md +148 -0
  67. package/commands/scr/next.md +125 -0
  68. package/commands/scr/originality-check.md +170 -0
  69. package/commands/scr/outline.md +131 -0
  70. package/commands/scr/pacing-analysis.md +170 -0
  71. package/commands/scr/panel-layout.md +225 -0
  72. package/commands/scr/pause-work.md +88 -0
  73. package/commands/scr/plan.md +112 -0
  74. package/commands/scr/plant-seed.md +57 -0
  75. package/commands/scr/plot-graph.md +199 -0
  76. package/commands/scr/polish.md +141 -0
  77. package/commands/scr/profile-writer.md +154 -0
  78. package/commands/scr/progress.md +51 -0
  79. package/commands/scr/publish.md +455 -0
  80. package/commands/scr/query-letter.md +183 -0
  81. package/commands/scr/quick-write.md +82 -0
  82. package/commands/scr/relationship-map.md +129 -0
  83. package/commands/scr/remove-unit.md +120 -0
  84. package/commands/scr/reorder-units.md +126 -0
  85. package/commands/scr/resume-work.md +97 -0
  86. package/commands/scr/sacred/annotation-layer.md +105 -0
  87. package/commands/scr/sacred/chronology.md +121 -0
  88. package/commands/scr/sacred/concordance.md +88 -0
  89. package/commands/scr/sacred/cross-reference.md +97 -0
  90. package/commands/scr/sacred/doctrinal-check.md +129 -0
  91. package/commands/scr/sacred/genealogy.md +107 -0
  92. package/commands/scr/sacred/source-tracking.md +101 -0
  93. package/commands/scr/sacred/verse-numbering.md +103 -0
  94. package/commands/scr/sacred-numbering-format.md +103 -0
  95. package/commands/scr/save.md +109 -0
  96. package/commands/scr/scan.md +291 -0
  97. package/commands/scr/sensitivity-review.md +169 -0
  98. package/commands/scr/series-bible.md +127 -0
  99. package/commands/scr/session-report.md +80 -0
  100. package/commands/scr/settings.md +58 -0
  101. package/commands/scr/split-unit.md +123 -0
  102. package/commands/scr/spread-layout.md +187 -0
  103. package/commands/scr/storyboard.md +262 -0
  104. package/commands/scr/subject-touch.md +168 -0
  105. package/commands/scr/submit.md +50 -0
  106. package/commands/scr/subplot-map.md +147 -0
  107. package/commands/scr/sync.md +116 -0
  108. package/commands/scr/synopsis.md +137 -0
  109. package/commands/scr/theme-tracker.md +128 -0
  110. package/commands/scr/thread.md +83 -0
  111. package/commands/scr/timeline.md +141 -0
  112. package/commands/scr/track.md +564 -0
  113. package/commands/scr/translate.md +260 -0
  114. package/commands/scr/translation-glossary.md +298 -0
  115. package/commands/scr/translation-memory.md +310 -0
  116. package/commands/scr/troubleshoot.md +59 -0
  117. package/commands/scr/undo.md +106 -0
  118. package/commands/scr/validate.md +133 -0
  119. package/commands/scr/versions.md +94 -0
  120. package/commands/scr/voice-check.md +133 -0
  121. package/commands/scr/voice-test.md +68 -0
  122. package/data/CONSTRAINTS.json +1606 -0
  123. package/data/demo/.manuscript/BRIEF.md +37 -0
  124. package/data/demo/.manuscript/CHARACTERS.md +90 -0
  125. package/data/demo/.manuscript/OUTLINE.md +46 -0
  126. package/data/demo/.manuscript/PLOT-GRAPH.md +75 -0
  127. package/data/demo/.manuscript/STATE.md +44 -0
  128. package/data/demo/.manuscript/STYLE-GUIDE.md +119 -0
  129. package/data/demo/.manuscript/THEMES.md +51 -0
  130. package/data/demo/.manuscript/WORK.md +51 -0
  131. package/data/demo/.manuscript/config.json +59 -0
  132. package/data/demo/.manuscript/drafts/body/1-the-letter-DRAFT.md +51 -0
  133. package/data/demo/.manuscript/drafts/body/2-the-workshop-DRAFT.md +51 -0
  134. package/data/demo/.manuscript/drafts/body/3-the-pier-DRAFT.md +45 -0
  135. package/data/demo/.manuscript/drafts/body/4-the-clock-DRAFT.md +59 -0
  136. package/data/demo/.manuscript/plans/5-the-reunion-PLAN.md +52 -0
  137. package/data/demo/.manuscript/reviews/2-the-workshop-REVIEW.md +61 -0
  138. package/data/export-templates/scriveno-academic.latex +184 -0
  139. package/data/export-templates/scriveno-acm.latex +67 -0
  140. package/data/export-templates/scriveno-apa7.latex +83 -0
  141. package/data/export-templates/scriveno-book.typst +175 -0
  142. package/data/export-templates/scriveno-chapbook.typst +121 -0
  143. package/data/export-templates/scriveno-elsevier.latex +76 -0
  144. package/data/export-templates/scriveno-epub.css +386 -0
  145. package/data/export-templates/scriveno-fixed-layout-epub.css +76 -0
  146. package/data/export-templates/scriveno-fixed-layout.opf +23 -0
  147. package/data/export-templates/scriveno-ieee.latex +77 -0
  148. package/data/export-templates/scriveno-lncs.latex +79 -0
  149. package/data/export-templates/scriveno-picturebook.typst +113 -0
  150. package/data/export-templates/scriveno-poetry-submission-styles.md +45 -0
  151. package/data/export-templates/scriveno-poetry-submission.docx +0 -0
  152. package/data/export-templates/scriveno-smashwords-styles.md +45 -0
  153. package/data/export-templates/scriveno-smashwords.docx +0 -0
  154. package/data/export-templates/scriveno-stageplay.typst +129 -0
  155. package/data/proof/creative-context/README.md +79 -0
  156. package/data/proof/voice-dna/GUIDED-SAMPLE.md +19 -0
  157. package/data/proof/voice-dna/README.md +45 -0
  158. package/data/proof/voice-dna/STYLE-GUIDE-EXCERPT.md +43 -0
  159. package/data/proof/voice-dna/UNGUIDED-SAMPLE.md +11 -0
  160. package/data/proof/watchmaker-flow/README.md +78 -0
  161. package/docs/architecture.md +425 -0
  162. package/docs/command-reference.md +2384 -0
  163. package/docs/configuration.md +228 -0
  164. package/docs/context-protocol.md +81 -0
  165. package/docs/contributing.md +430 -0
  166. package/docs/creative-context.md +158 -0
  167. package/docs/development.md +152 -0
  168. package/docs/drafter-quality.md +127 -0
  169. package/docs/getting-started.md +198 -0
  170. package/docs/history-protocol.md +96 -0
  171. package/docs/proof-artifacts.md +56 -0
  172. package/docs/publishing.md +296 -0
  173. package/docs/release-notes.md +457 -0
  174. package/docs/runtime-support.md +77 -0
  175. package/docs/sacred-texts.md +296 -0
  176. package/docs/shipped-assets.md +129 -0
  177. package/docs/testing.md +156 -0
  178. package/docs/translation.md +343 -0
  179. package/docs/voice-dna.md +297 -0
  180. package/docs/work-types.md +339 -0
  181. package/lib/architectural-profiles.js +134 -0
  182. package/package.json +54 -0
  183. package/templates/BRIEF.md +51 -0
  184. package/templates/CHARACTERS.md +64 -0
  185. package/templates/CONTEXT.md +56 -0
  186. package/templates/OUTLINE.md +36 -0
  187. package/templates/RECORD.md +68 -0
  188. package/templates/STATE.md +50 -0
  189. package/templates/STYLE-GUIDE.md +121 -0
  190. package/templates/THEMES.md +36 -0
  191. package/templates/WORK.md +67 -0
  192. package/templates/WORLD.md +62 -0
  193. package/templates/WRITING-RULES.md +156 -0
  194. package/templates/academic/ARGUMENT-MAP.md +40 -0
  195. package/templates/academic/CONCEPTS.md +34 -0
  196. package/templates/academic/CONTEXT.md +29 -0
  197. package/templates/academic/PROPOSAL.md +37 -0
  198. package/templates/academic/QUESTIONS.md +24 -0
  199. package/templates/config.json +72 -0
  200. package/templates/pitfalls/comic.md +54 -0
  201. package/templates/pitfalls/commentary.md +62 -0
  202. package/templates/pitfalls/memoir.md +48 -0
  203. package/templates/pitfalls/novel.md +53 -0
  204. package/templates/pitfalls/poetry_collection.md +63 -0
  205. package/templates/pitfalls/research_paper.md +66 -0
  206. package/templates/pitfalls/runbook.md +64 -0
  207. package/templates/pitfalls/screenplay.md +54 -0
  208. package/templates/platforms/README.md +16 -0
  209. package/templates/platforms/apple/manifest.yaml +20 -0
  210. package/templates/platforms/bn/manifest.yaml +20 -0
  211. package/templates/platforms/d2d/manifest.yaml +20 -0
  212. package/templates/platforms/google/manifest.yaml +20 -0
  213. package/templates/platforms/ingram/manifest.yaml +44 -0
  214. package/templates/platforms/kdp/manifest.yaml +42 -0
  215. package/templates/platforms/kobo/manifest.yaml +20 -0
  216. package/templates/platforms/smashwords/manifest.yaml +26 -0
  217. package/templates/sacred/COSMOLOGY.md +88 -0
  218. package/templates/sacred/DOCTRINES.md +45 -0
  219. package/templates/sacred/FIGURES.md +69 -0
  220. package/templates/sacred/FRAMEWORK.md +98 -0
  221. package/templates/sacred/LINEAGES.md +52 -0
  222. package/templates/sacred/README.md +20 -0
  223. package/templates/sacred/THEOLOGICAL-ARC.md +69 -0
  224. package/templates/sacred/catholic/manifest.yaml +93 -0
  225. package/templates/sacred/islamic-hafs/manifest.yaml +134 -0
  226. package/templates/sacred/islamic-warsh/manifest.yaml +134 -0
  227. package/templates/sacred/jewish/manifest.yaml +56 -0
  228. package/templates/sacred/orthodox/manifest.yaml +98 -0
  229. package/templates/sacred/pali/manifest.yaml +20 -0
  230. package/templates/sacred/protestant/manifest.yaml +86 -0
  231. package/templates/sacred/sanskrit/manifest.yaml +20 -0
  232. package/templates/sacred/tewahedo/manifest.yaml +106 -0
  233. package/templates/sacred/tibetan/manifest.yaml +20 -0
  234. package/templates/technical/AUDIENCE.md +26 -0
  235. package/templates/technical/DEPENDENCIES.md +19 -0
  236. package/templates/technical/DOC-BRIEF.md +45 -0
  237. package/templates/technical/PROCEDURES.md +37 -0
  238. package/templates/technical/REFERENCES.md +36 -0
  239. package/templates/technical/SYSTEM.md +25 -0
@@ -0,0 +1,296 @@
1
+ # Publishing Guide
2
+
3
+ Scriveno takes your manuscript from drafted prose to publication-ready files. Whether you're uploading to Amazon KDP, submitting to IngramSpark, or querying agents, the export pipeline handles format conversion, metadata generation, and platform-specific packaging.
4
+
5
+ This guide covers all 13 export formats, platform-specific packages, the publish wizard, and autopilot publishing.
6
+
7
+ ## Prerequisites
8
+
9
+ Scriveno's export pipeline uses external tools for format conversion. You only need the tools required by your chosen formats.
10
+
11
+ | Tool | Install | Required For |
12
+ |------|---------|-------------|
13
+ | **Pandoc** | `brew install pandoc` | DOCX, PDF, EPUB, LaTeX |
14
+ | **Typst** | `brew install typst` | PDF generation |
15
+ | **Ghostscript** | `brew install ghostscript` | IngramSpark CMYK conversion |
16
+ | **Afterwriting** | `npm i -g afterwriting` | Screenplay PDF |
17
+ | **Screenplain** | `pip install screenplain` | Final Draft (FDX) export |
18
+
19
+ Scriveno warns at export time if a required tool is missing and shows the install command for the format you selected.
20
+
21
+ **No tools needed for:** Markdown export and Fountain export -- these are pure text conversions handled by Scriveno directly.
22
+
23
+ ## Export Formats
24
+
25
+ Export your manuscript with `/scr:export --format <format>`. Scriveno assembles the full manuscript from your outline, front matter, body drafts, and back matter, then converts to the target format.
26
+
27
+ ### Core Formats
28
+
29
+ These cover the most common publishing and review needs.
30
+
31
+ **Markdown** -- Plain assembled manuscript with no external dependencies.
32
+
33
+ ```
34
+ /scr:export --format markdown
35
+ ```
36
+
37
+ Output: `.manuscript/output/manuscript.md`
38
+
39
+ **DOCX (Manuscript Format)** -- Manuscript DOCX assembled through Pandoc. Use this when you need a Word file as the starting point for submissions or further formatting.
40
+
41
+ ```
42
+ /scr:export --format docx
43
+ ```
44
+
45
+ Output: `.manuscript/output/manuscript.docx`. The shipped path uses Pandoc's default DOCX styling because Scriveno does not bundle a manuscript reference document. If you need standard manuscript formatting, provide your own Pandoc reference document.
46
+
47
+ **DOCX (Formatted)** -- Designed and typeset DOCX for review copies and ARCs (advance reader copies). Custom fonts, styled headers, polished layout.
48
+
49
+ ```
50
+ /scr:export --format docx --formatted
51
+ ```
52
+
53
+ Output: `.manuscript/output/manuscript-formatted.docx`. The shipped command path currently uses Pandoc's default DOCX output. If you want a styled review-copy layout, provide your own Pandoc reference document.
54
+
55
+ **PDF (Manuscript)** -- Standard manuscript-format PDF via the Typst engine.
56
+
57
+ ```
58
+ /scr:export --format pdf
59
+ ```
60
+
61
+ Output: `.manuscript/output/manuscript.pdf`. Requires Pandoc and Typst.
62
+
63
+ **PDF (Print-Ready)** -- Book interior PDF with proper trim sizes, margins, gutters, and page numbers. Ready for print-on-demand services.
64
+
65
+ ```
66
+ /scr:export --format pdf --print-ready
67
+ ```
68
+
69
+ Output: `.manuscript/output/manuscript-print.pdf`. Uses the `scriveno-book.typst` template. Default trim size is 6" x 9" -- override via `trim_width` and `trim_height` in `.manuscript/config.json`.
70
+
71
+ ### Ebook
72
+
73
+ **EPUB 3.0** -- Industry-standard ebook format accepted by all major retailers (Amazon, Apple Books, Kobo, Barnes & Noble, Google Play).
74
+
75
+ ```
76
+ /scr:export --format epub
77
+ ```
78
+
79
+ Output: `.manuscript/output/manuscript.epub`. Includes table of contents, metadata, and custom CSS styling via `scriveno-epub.css`. If an ebook front cover exists at `.manuscript/build/ebook-cover.jpg` (or `.png`), it's embedded automatically.
80
+
81
+ For platform-aware EPUB builds, use `/scr:build-ebook --platform <platform>`. Shipped platform profiles live under `templates/platforms/` for `kdp`, `ingram`, `apple`, `bn`, `d2d`, `kobo`, `google`, and `smashwords`. The build command validates the platform manifest, confirms EPUB support, and carries the selected platform label plus `epub_variant` into output metadata.
82
+
83
+ ## Canonical Cover Deliverables
84
+
85
+ Scriveno treats cover files as a separate build contract under `.manuscript/build/`.
86
+
87
+ | Deliverable | Canonical file | Requirements |
88
+ |-------------|----------------|--------------|
89
+ | Ebook cover | `.manuscript/build/ebook-cover.jpg` (PNG also accepted) | Front cover only, `1600 x 2560`, RGB, no spine, no back, no bleed |
90
+ | Paperback cover | `.manuscript/build/paperback-cover.pdf` | Full wrap, PDF/X-1a:2001, CMYK, 300 DPI, embedded fonts, flattened transparency, `0.125"` bleed |
91
+ | Hardcover cover | `.manuscript/build/hardcover-cover.pdf` | Full case wrap, PDF/X-1a:2001, CMYK, 300 DPI, embedded fonts, flattened transparency, board-wrap allowances |
92
+
93
+ Keep editable source files under `.manuscript/build/source/`.
94
+
95
+ For paperback and hardcover, treat exact wrap width, spine width, and guide lines as **template-driven** values from the current IngramSpark Cover Template Generator (or the current target-platform equivalent), not static math baked into Scriveno docs.
96
+
97
+ After export, consider validating with EPUBCheck if you have Java installed -- most retailers run their own validation and will reject non-compliant files.
98
+
99
+ ### Screenplay Formats
100
+
101
+ Available for screenplay, stage play, TV pilot, TV series bible, audio drama, and libretto work types.
102
+
103
+ **Fountain** -- Plain-text screenplay format. No external tools needed -- Scriveno converts your manuscript directly.
104
+
105
+ ```
106
+ /scr:export --format fountain
107
+ ```
108
+
109
+ Output: `.manuscript/output/screenplay.fountain`. If Afterwriting is installed, Scriveno can also generate a formatted screenplay PDF (`screenplay.pdf`).
110
+
111
+ **FDX (Final Draft XML)** -- The industry-standard format for screenplay submission. Chains through Fountain as an intermediate step.
112
+
113
+ ```
114
+ /scr:export --format fdx
115
+ ```
116
+
117
+ Output: `.manuscript/output/screenplay.fdx`. Requires Screenplain.
118
+
119
+ ### Academic
120
+
121
+ Available for academic and sacred text work types.
122
+
123
+ **LaTeX** -- LaTeX source file for journal submissions, thesis formatting, or further editing in Overleaf.
124
+
125
+ ```
126
+ /scr:export --format latex
127
+ ```
128
+
129
+ Output: `.manuscript/output/manuscript.tex`. Uses the `scriveno-academic.latex` template. If a bibliography file exists at `.manuscript/bibliography.bib`, citations are processed automatically with `--citeproc`.
130
+
131
+ ## Platform Packages
132
+
133
+ Platform packages bundle everything a specific publishing platform needs into a single directory -- interior files, cover specifications, metadata, and checklists.
134
+
135
+ The lower-level build commands are platform-aware too:
136
+
137
+ - `/scr:build-ebook --platform <platform>` loads `templates/platforms/{platform}/manifest.yaml`, validates EPUB support, and writes platform metadata.
138
+ - `/scr:build-print --platform <platform>` uses print and academic platform profiles for trim-size, page-count, and template routing.
139
+
140
+ If a project has top-level `platform` in `.manuscript/config.json`, build commands use it when `--platform` is omitted. Otherwise ebook builds default to `kdp`.
141
+
142
+ ### KDP (Kindle Direct Publishing)
143
+
144
+ **KDP Ebook** -- EPUB package optimized for Kindle with KDP-specific CSS, alt text on all images, and embedded fonts.
145
+
146
+ ```
147
+ /scr:export --format epub
148
+ ```
149
+
150
+ Use the standard EPUB export for KDP ebook submissions. The `scriveno-epub.css` template is already KDP-compatible.
151
+
152
+ **KDP Print** -- Paperback submission package with interior PDF, cover handoff brief, and metadata.
153
+
154
+ ```
155
+ /scr:export --format kdp-package
156
+ ```
157
+
158
+ Output: `.manuscript/output/kdp-package/` containing:
159
+
160
+ - `interior.pdf` -- Print-ready interior with your chosen trim size
161
+ - `cover-specs.md` -- Canonical print-cover handoff brief pointing at `.manuscript/build/paperback-cover.pdf`
162
+ - `kdp-metadata.md` -- Title, author, language, suggested categories and keywords
163
+
164
+ **Print-cover geometry:** Use the current platform template generator for exact wrap width, spine width, bleed, and safe zones. Scriveno's package tells you which canonical build asset to supply; it does not treat hard-coded paper-factor math as the final source of truth for print covers.
165
+
166
+ **Supported trim sizes:** 5" x 8", 5.25" x 8", 5.5" x 8.5", 6" x 9", and others. Set `trim_width` and `trim_height` in `.manuscript/config.json`.
167
+
168
+ ### IngramSpark
169
+
170
+ Complete submission package with CMYK PDF/X-1a interior for offset printing.
171
+
172
+ ```
173
+ /scr:export --format ingram-package
174
+ ```
175
+
176
+ Output: `.manuscript/output/ingram-package/` containing:
177
+
178
+ - `manuscript-cmyk.pdf` -- Interior converted to CMYK color space via Ghostscript
179
+ - `cover-specs.md` -- Full-wrap cover handoff brief pointing at `.manuscript/build/paperback-cover.pdf`
180
+ - `ingram-metadata.md` -- Publishing metadata for IngramSpark
181
+
182
+ **IngramSpark-specific requirements:** PDF/X-1a compliance, CMYK color space, 300 DPI minimum, all fonts embedded, no transparency. Scriveno handles the CMYK conversion automatically for the interior -- review the output for color accuracy, especially blues and greens which can shift during RGB-to-CMYK conversion. Exact print-cover geometry still comes from the IngramSpark Cover Template Generator.
183
+
184
+ ### Submission and Query Packages
185
+
186
+ **Query Package** -- Everything you need to query literary agents: query letter, synopsis, and sample chapters bundled into a single DOCX.
187
+
188
+ ```
189
+ /scr:export --format query-package
190
+ ```
191
+
192
+ Output: `.manuscript/output/query-package/` containing `query-letter.md`, `synopsis.md`, `sample-chapters.md` (first 3 chapters), and a combined `query-package.docx`. If the query letter or synopsis don't exist yet, Scriveno tells you which commands to run (`/scr:query-letter`, `/scr:synopsis`).
193
+
194
+ **Submission Package** -- Full manuscript submission for agents or publishers who request the complete work.
195
+
196
+ ```
197
+ /scr:export --format submission-package
198
+ ```
199
+
200
+ Output: `.manuscript/output/submission-package/` containing `manuscript.docx` (full manuscript in standard format), `synopsis.md`, `cover-letter.md`, `about-author.md`, and a `submission-checklist.md` with formatting reminders and common submission requirements.
201
+
202
+ ## Publish Wizard
203
+
204
+ The publish wizard chains multiple export commands into a single workflow based on your publishing destination.
205
+
206
+ ```
207
+ /scr:publish
208
+ ```
209
+
210
+ Without arguments, the wizard runs interactively. It checks your publishing readiness (complete draft, front/back matter, blurb, synopsis, cover art), offers to generate anything missing, then asks where you're publishing and runs the right pipeline.
211
+
212
+ ### Presets
213
+
214
+ Skip the interactive flow by specifying a preset:
215
+
216
+ ```
217
+ /scr:publish --preset kdp-paperback
218
+ ```
219
+
220
+ Available presets:
221
+
222
+ | Preset | What It Does |
223
+ |--------|-------------|
224
+ | `kdp-paperback` | Print-ready PDF + KDP package with cover specs |
225
+ | `kdp-ebook` | EPUB with KDP-compatible CSS and metadata |
226
+ | `query-submission` | Query letter + synopsis + sample chapters as DOCX |
227
+ | `ebook-wide` | EPUB for all retailers (Apple, Kobo, B&N, Google) |
228
+ | `ingram-paperback` | CMYK PDF/X-1a + IngramSpark package |
229
+ | `academic-submission` | LaTeX or DOCX for journal/conference submission |
230
+ | `thesis-defense` | Formatted PDF + DOCX for committee review |
231
+ | `screenplay-query` | Fountain + PDF + FDX for screenplay submission |
232
+
233
+ Run all available presets at once:
234
+
235
+ ```
236
+ /scr:publish --all
237
+ ```
238
+
239
+ ## Autopilot Publishing
240
+
241
+ For hands-off publishing, autopilot runs quality checks, generates missing prerequisites, executes the export pipeline, and produces a full report -- all without asking questions.
242
+
243
+ ```
244
+ /scr:autopilot-publish --preset kdp-paperback
245
+ ```
246
+
247
+ The autopilot pipeline:
248
+
249
+ 1. **Quality gate** -- Runs voice check and continuity check. Results are advisory -- the pipeline proceeds regardless, but you get a report.
250
+ 2. **Prerequisites** -- Auto-generates any missing front matter, back matter, blurb, synopsis, or query letter needed by your preset.
251
+ 3. **Export** -- Runs the preset pipeline and reports progress.
252
+ 4. **Report** -- Shows everything that happened: quality scores, generated prerequisites, exported files, and any errors with fix instructions.
253
+
254
+ Autopilot requires the `--preset` flag -- there's no interactive mode. Valid presets are the same as the publish wizard.
255
+
256
+ ## Pre-Publish Checklist
257
+
258
+ Before exporting, run these commands to make sure your manuscript is ready:
259
+
260
+ **Manuscript statistics** -- Check your word count, page estimate, and draft completion:
261
+
262
+ ```
263
+ /scr:manuscript-stats
264
+ ```
265
+
266
+ Use `--detail` for a per-chapter breakdown. Estimated page count uses the standard 250 words per page.
267
+
268
+ **Polish** -- Final quality pass over the manuscript:
269
+
270
+ ```
271
+ /scr:polish
272
+ ```
273
+
274
+ **Voice check** -- Verify voice consistency across the manuscript:
275
+
276
+ ```
277
+ /scr:voice-check
278
+ ```
279
+
280
+ ## Template Customization
281
+
282
+ Scriveno ships with templates that control the look of your exported files. You can customize them to match your preferences or publisher requirements.
283
+
284
+ | Template | Location | Controls |
285
+ |----------|----------|----------|
286
+ | `scriveno-book.typst` | `data/export-templates/` | Book interior PDF layout: trim size, margins, headers, page numbers |
287
+ | `scriveno-epub.css` | `data/export-templates/` | EPUB ebook styling and KDP compatibility |
288
+ | `scriveno-academic.latex` | `data/export-templates/` | Academic paper and thesis formatting |
289
+
290
+ To customize a template, edit the file in `data/export-templates/`. Changes apply to all future exports. The Typst template supports variable overrides for trim size and margins through the export command's flags.
291
+
292
+ ## See Also
293
+
294
+ - [Getting Started](getting-started.md) -- Installation and first project
295
+ - [Command Reference](command-reference.md) -- Full list of export and publish commands
296
+ - [Translation Guide](translation.md) -- Translating your manuscript for international publication