docrev 0.9.13 → 0.9.15

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 (126) hide show
  1. package/.claude/settings.local.json +9 -9
  2. package/.gitattributes +1 -1
  3. package/CHANGELOG.md +149 -149
  4. package/PLAN-tables-and-postprocess.md +850 -850
  5. package/README.md +411 -391
  6. package/bin/rev.js +11 -11
  7. package/bin/rev.ts +145 -145
  8. package/completions/rev.bash +127 -127
  9. package/completions/rev.ps1 +210 -210
  10. package/completions/rev.zsh +207 -207
  11. package/dev_notes/stress2/build_adversarial.ts +186 -186
  12. package/dev_notes/stress2/drift_matcher.ts +62 -62
  13. package/dev_notes/stress2/probe_anchors.ts +35 -35
  14. package/dev_notes/stress2/project/discussion.before.md +3 -3
  15. package/dev_notes/stress2/project/discussion.md +3 -3
  16. package/dev_notes/stress2/project/methods.before.md +20 -20
  17. package/dev_notes/stress2/project/methods.md +20 -20
  18. package/dev_notes/stress2/project/rev.yaml +5 -5
  19. package/dev_notes/stress2/project/sections.yaml +4 -4
  20. package/dev_notes/stress2/sections.yaml +5 -5
  21. package/dev_notes/stress2/trace_placement.ts +50 -50
  22. package/dev_notes/stresstest_boundaries.ts +27 -27
  23. package/dev_notes/stresstest_drift_apply.ts +43 -43
  24. package/dev_notes/stresstest_drift_compare.ts +43 -43
  25. package/dev_notes/stresstest_drift_v2.ts +54 -54
  26. package/dev_notes/stresstest_inspect.ts +54 -54
  27. package/dev_notes/stresstest_pstyle.ts +55 -55
  28. package/dev_notes/stresstest_section_debug.ts +23 -23
  29. package/dev_notes/stresstest_split.ts +70 -70
  30. package/dev_notes/stresstest_trace.ts +19 -19
  31. package/dev_notes/stresstest_verify_no_overwrite.ts +40 -40
  32. package/dist/lib/build.d.ts +38 -1
  33. package/dist/lib/build.d.ts.map +1 -1
  34. package/dist/lib/build.js +68 -30
  35. package/dist/lib/build.js.map +1 -1
  36. package/dist/lib/commands/build.d.ts.map +1 -1
  37. package/dist/lib/commands/build.js +38 -5
  38. package/dist/lib/commands/build.js.map +1 -1
  39. package/dist/lib/commands/utilities.js +164 -164
  40. package/dist/lib/commands/word-tools.js +8 -8
  41. package/dist/lib/grammar.js +3 -3
  42. package/dist/lib/pdf-comments.js +44 -44
  43. package/dist/lib/plugins.js +57 -57
  44. package/dist/lib/pptx-themes.js +115 -115
  45. package/dist/lib/spelling.js +2 -2
  46. package/dist/lib/templates.js +387 -387
  47. package/dist/lib/themes.js +51 -51
  48. package/eslint.config.js +27 -27
  49. package/lib/anchor-match.ts +276 -276
  50. package/lib/annotations.ts +644 -644
  51. package/lib/build.ts +1300 -1251
  52. package/lib/citations.ts +160 -160
  53. package/lib/commands/build.ts +833 -801
  54. package/lib/commands/citations.ts +515 -515
  55. package/lib/commands/comments.ts +1050 -1050
  56. package/lib/commands/context.ts +174 -174
  57. package/lib/commands/core.ts +309 -309
  58. package/lib/commands/doi.ts +435 -435
  59. package/lib/commands/file-ops.ts +372 -372
  60. package/lib/commands/history.ts +320 -320
  61. package/lib/commands/index.ts +87 -87
  62. package/lib/commands/init.ts +259 -259
  63. package/lib/commands/merge-resolve.ts +378 -378
  64. package/lib/commands/preview.ts +178 -178
  65. package/lib/commands/project-info.ts +244 -244
  66. package/lib/commands/quality.ts +517 -517
  67. package/lib/commands/response.ts +454 -454
  68. package/lib/commands/section-boundaries.ts +82 -82
  69. package/lib/commands/sections.ts +451 -451
  70. package/lib/commands/sync.ts +706 -706
  71. package/lib/commands/text-ops.ts +449 -449
  72. package/lib/commands/utilities.ts +448 -448
  73. package/lib/commands/verify-anchors.ts +272 -272
  74. package/lib/commands/word-tools.ts +340 -340
  75. package/lib/comment-realign.ts +517 -517
  76. package/lib/config.ts +84 -84
  77. package/lib/crossref.ts +781 -781
  78. package/lib/csl.ts +191 -191
  79. package/lib/dependencies.ts +98 -98
  80. package/lib/diff-engine.ts +465 -465
  81. package/lib/doi-cache.ts +115 -115
  82. package/lib/doi.ts +897 -897
  83. package/lib/equations.ts +506 -506
  84. package/lib/errors.ts +346 -346
  85. package/lib/format.ts +541 -541
  86. package/lib/git.ts +326 -326
  87. package/lib/grammar.ts +303 -303
  88. package/lib/image-registry.ts +180 -180
  89. package/lib/import.ts +911 -911
  90. package/lib/journals.ts +543 -543
  91. package/lib/merge.ts +633 -633
  92. package/lib/orcid.ts +144 -144
  93. package/lib/pdf-comments.ts +263 -263
  94. package/lib/pdf-import.ts +524 -524
  95. package/lib/plugins.ts +362 -362
  96. package/lib/postprocess.ts +188 -188
  97. package/lib/pptx-color-filter.lua +37 -37
  98. package/lib/pptx-template.ts +469 -469
  99. package/lib/pptx-themes.ts +483 -483
  100. package/lib/protect-restore.ts +520 -520
  101. package/lib/rate-limiter.ts +94 -94
  102. package/lib/response.ts +197 -197
  103. package/lib/restore-references.ts +240 -240
  104. package/lib/review.ts +327 -327
  105. package/lib/schema.ts +417 -417
  106. package/lib/scientific-words.ts +73 -73
  107. package/lib/sections.ts +335 -335
  108. package/lib/slides.ts +756 -756
  109. package/lib/spelling.ts +334 -334
  110. package/lib/templates.ts +526 -526
  111. package/lib/themes.ts +742 -742
  112. package/lib/trackchanges.ts +247 -247
  113. package/lib/tui.ts +450 -450
  114. package/lib/types.ts +550 -550
  115. package/lib/undo.ts +250 -250
  116. package/lib/utils.ts +69 -69
  117. package/lib/variables.ts +179 -179
  118. package/lib/word-extraction.ts +806 -806
  119. package/lib/word.ts +643 -643
  120. package/lib/wordcomments.ts +817 -817
  121. package/package.json +137 -137
  122. package/scripts/postbuild.js +28 -28
  123. package/skill/REFERENCE.md +473 -431
  124. package/skill/SKILL.md +274 -258
  125. package/tsconfig.json +26 -26
  126. package/types/index.d.ts +525 -525
@@ -175,58 +175,58 @@ export function getTheme(name) {
175
175
  * Generate [Content_Types].xml
176
176
  */
177
177
  function generateContentTypes() {
178
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
179
- <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
180
- <Default Extension="jpeg" ContentType="image/jpeg"/>
181
- <Default Extension="png" ContentType="image/png"/>
182
- <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
183
- <Default Extension="xml" ContentType="application/xml"/>
184
- <Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>
185
- <Override PartName="/ppt/slideMasters/slideMaster1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>
186
- <Override PartName="/ppt/slideLayouts/slideLayout1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>
187
- <Override PartName="/ppt/slideLayouts/slideLayout2.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>
188
- <Override PartName="/ppt/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
189
- <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
190
- <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>
178
+ return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
179
+ <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
180
+ <Default Extension="jpeg" ContentType="image/jpeg"/>
181
+ <Default Extension="png" ContentType="image/png"/>
182
+ <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
183
+ <Default Extension="xml" ContentType="application/xml"/>
184
+ <Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>
185
+ <Override PartName="/ppt/slideMasters/slideMaster1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>
186
+ <Override PartName="/ppt/slideLayouts/slideLayout1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>
187
+ <Override PartName="/ppt/slideLayouts/slideLayout2.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>
188
+ <Override PartName="/ppt/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
189
+ <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
190
+ <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>
191
191
  </Types>`;
192
192
  }
193
193
  /**
194
194
  * Generate _rels/.rels
195
195
  */
196
196
  function generateRels() {
197
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
198
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
199
- <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>
200
- <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
201
- <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
197
+ return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
198
+ <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
199
+ <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>
200
+ <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
201
+ <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
202
202
  </Relationships>`;
203
203
  }
204
204
  /**
205
205
  * Generate ppt/_rels/presentation.xml.rels
206
206
  */
207
207
  function generatePresentationRels() {
208
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
209
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
210
- <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>
211
- <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>
208
+ return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
209
+ <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
210
+ <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>
211
+ <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>
212
212
  </Relationships>`;
213
213
  }
214
214
  /**
215
215
  * Generate ppt/presentation.xml
216
216
  */
217
217
  function generatePresentation() {
218
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
219
- <p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" saveSubsetFonts="1">
220
- <p:sldMasterIdLst>
221
- <p:sldMasterId id="2147483648" r:id="rId1"/>
222
- </p:sldMasterIdLst>
223
- <p:sldSz cx="12192000" cy="6858000"/>
224
- <p:notesSz cx="6858000" cy="9144000"/>
225
- <p:defaultTextStyle>
226
- <a:defPPr>
227
- <a:defRPr lang="en-US"/>
228
- </a:defPPr>
229
- </p:defaultTextStyle>
218
+ return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
219
+ <p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" saveSubsetFonts="1">
220
+ <p:sldMasterIdLst>
221
+ <p:sldMasterId id="2147483648" r:id="rId1"/>
222
+ </p:sldMasterIdLst>
223
+ <p:sldSz cx="12192000" cy="6858000"/>
224
+ <p:notesSz cx="6858000" cy="9144000"/>
225
+ <p:defaultTextStyle>
226
+ <a:defPPr>
227
+ <a:defRPr lang="en-US"/>
228
+ </a:defPPr>
229
+ </p:defaultTextStyle>
230
230
  </p:presentation>`;
231
231
  }
232
232
  /**
@@ -235,87 +235,87 @@ function generatePresentation() {
235
235
  function generateTheme(theme) {
236
236
  const c = theme.colors;
237
237
  const f = theme.fonts;
238
- return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
239
- <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="${theme.name}">
240
- <a:themeElements>
241
- <a:clrScheme name="${theme.name}">
242
- <a:dk1><a:srgbClr val="${c.dk1}"/></a:dk1>
243
- <a:lt1><a:srgbClr val="${c.lt1}"/></a:lt1>
244
- <a:dk2><a:srgbClr val="${c.dk2}"/></a:dk2>
245
- <a:lt2><a:srgbClr val="${c.lt2}"/></a:lt2>
246
- <a:accent1><a:srgbClr val="${c.accent1}"/></a:accent1>
247
- <a:accent2><a:srgbClr val="${c.accent2}"/></a:accent2>
248
- <a:accent3><a:srgbClr val="${c.accent3}"/></a:accent3>
249
- <a:accent4><a:srgbClr val="${c.accent4}"/></a:accent4>
250
- <a:accent5><a:srgbClr val="${c.accent5}"/></a:accent5>
251
- <a:accent6><a:srgbClr val="${c.accent6}"/></a:accent6>
252
- <a:hlink><a:srgbClr val="${c.hlink}"/></a:hlink>
253
- <a:folHlink><a:srgbClr val="${c.folHlink}"/></a:folHlink>
254
- </a:clrScheme>
255
- <a:fontScheme name="${theme.name}">
256
- <a:majorFont>
257
- <a:latin typeface="${f.major}"/>
258
- <a:ea typeface=""/>
259
- <a:cs typeface=""/>
260
- </a:majorFont>
261
- <a:minorFont>
262
- <a:latin typeface="${f.minor}"/>
263
- <a:ea typeface=""/>
264
- <a:cs typeface=""/>
265
- </a:minorFont>
266
- </a:fontScheme>
267
- <a:fmtScheme name="${theme.name}">
268
- <a:fillStyleLst>
269
- <a:solidFill><a:schemeClr val="phClr"/></a:solidFill>
270
- <a:gradFill rotWithShape="1">
271
- <a:gsLst>
272
- <a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>
273
- <a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>
274
- <a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>
275
- </a:gsLst>
276
- <a:lin ang="16200000" scaled="1"/>
277
- </a:gradFill>
278
- <a:gradFill rotWithShape="1">
279
- <a:gsLst>
280
- <a:gs pos="0"><a:schemeClr val="phClr"><a:shade val="51000"/><a:satMod val="130000"/></a:schemeClr></a:gs>
281
- <a:gs pos="80000"><a:schemeClr val="phClr"><a:shade val="93000"/><a:satMod val="130000"/></a:schemeClr></a:gs>
282
- <a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="94000"/><a:satMod val="135000"/></a:schemeClr></a:gs>
283
- </a:gsLst>
284
- <a:lin ang="16200000" scaled="0"/>
285
- </a:gradFill>
286
- </a:fillStyleLst>
287
- <a:lnStyleLst>
288
- <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>
289
- <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>
290
- <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>
291
- </a:lnStyleLst>
292
- <a:effectStyleLst>
293
- <a:effectStyle><a:effectLst/></a:effectStyle>
294
- <a:effectStyle><a:effectLst/></a:effectStyle>
295
- <a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle>
296
- </a:effectStyleLst>
297
- <a:bgFillStyleLst>
298
- <a:solidFill><a:schemeClr val="phClr"/></a:solidFill>
299
- <a:gradFill rotWithShape="1">
300
- <a:gsLst>
301
- <a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>
302
- <a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>
303
- <a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>
304
- </a:gsLst>
305
- <a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>
306
- </a:gradFill>
307
- <a:gradFill rotWithShape="1">
308
- <a:gsLst>
309
- <a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>
310
- <a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>
311
- </a:gsLst>
312
- <a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>
313
- </a:gradFill>
314
- </a:bgFillStyleLst>
315
- </a:fmtScheme>
316
- </a:themeElements>
317
- <a:objectDefaults/>
318
- <a:extraClrSchemeLst/>
238
+ return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
239
+ <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="${theme.name}">
240
+ <a:themeElements>
241
+ <a:clrScheme name="${theme.name}">
242
+ <a:dk1><a:srgbClr val="${c.dk1}"/></a:dk1>
243
+ <a:lt1><a:srgbClr val="${c.lt1}"/></a:lt1>
244
+ <a:dk2><a:srgbClr val="${c.dk2}"/></a:dk2>
245
+ <a:lt2><a:srgbClr val="${c.lt2}"/></a:lt2>
246
+ <a:accent1><a:srgbClr val="${c.accent1}"/></a:accent1>
247
+ <a:accent2><a:srgbClr val="${c.accent2}"/></a:accent2>
248
+ <a:accent3><a:srgbClr val="${c.accent3}"/></a:accent3>
249
+ <a:accent4><a:srgbClr val="${c.accent4}"/></a:accent4>
250
+ <a:accent5><a:srgbClr val="${c.accent5}"/></a:accent5>
251
+ <a:accent6><a:srgbClr val="${c.accent6}"/></a:accent6>
252
+ <a:hlink><a:srgbClr val="${c.hlink}"/></a:hlink>
253
+ <a:folHlink><a:srgbClr val="${c.folHlink}"/></a:folHlink>
254
+ </a:clrScheme>
255
+ <a:fontScheme name="${theme.name}">
256
+ <a:majorFont>
257
+ <a:latin typeface="${f.major}"/>
258
+ <a:ea typeface=""/>
259
+ <a:cs typeface=""/>
260
+ </a:majorFont>
261
+ <a:minorFont>
262
+ <a:latin typeface="${f.minor}"/>
263
+ <a:ea typeface=""/>
264
+ <a:cs typeface=""/>
265
+ </a:minorFont>
266
+ </a:fontScheme>
267
+ <a:fmtScheme name="${theme.name}">
268
+ <a:fillStyleLst>
269
+ <a:solidFill><a:schemeClr val="phClr"/></a:solidFill>
270
+ <a:gradFill rotWithShape="1">
271
+ <a:gsLst>
272
+ <a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>
273
+ <a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>
274
+ <a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>
275
+ </a:gsLst>
276
+ <a:lin ang="16200000" scaled="1"/>
277
+ </a:gradFill>
278
+ <a:gradFill rotWithShape="1">
279
+ <a:gsLst>
280
+ <a:gs pos="0"><a:schemeClr val="phClr"><a:shade val="51000"/><a:satMod val="130000"/></a:schemeClr></a:gs>
281
+ <a:gs pos="80000"><a:schemeClr val="phClr"><a:shade val="93000"/><a:satMod val="130000"/></a:schemeClr></a:gs>
282
+ <a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="94000"/><a:satMod val="135000"/></a:schemeClr></a:gs>
283
+ </a:gsLst>
284
+ <a:lin ang="16200000" scaled="0"/>
285
+ </a:gradFill>
286
+ </a:fillStyleLst>
287
+ <a:lnStyleLst>
288
+ <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>
289
+ <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>
290
+ <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>
291
+ </a:lnStyleLst>
292
+ <a:effectStyleLst>
293
+ <a:effectStyle><a:effectLst/></a:effectStyle>
294
+ <a:effectStyle><a:effectLst/></a:effectStyle>
295
+ <a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle>
296
+ </a:effectStyleLst>
297
+ <a:bgFillStyleLst>
298
+ <a:solidFill><a:schemeClr val="phClr"/></a:solidFill>
299
+ <a:gradFill rotWithShape="1">
300
+ <a:gsLst>
301
+ <a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>
302
+ <a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>
303
+ <a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>
304
+ </a:gsLst>
305
+ <a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>
306
+ </a:gradFill>
307
+ <a:gradFill rotWithShape="1">
308
+ <a:gsLst>
309
+ <a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>
310
+ <a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>
311
+ </a:gsLst>
312
+ <a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>
313
+ </a:gradFill>
314
+ </a:bgFillStyleLst>
315
+ </a:fmtScheme>
316
+ </a:themeElements>
317
+ <a:objectDefaults/>
318
+ <a:extraClrSchemeLst/>
319
319
  </a:theme>`;
320
320
  }
321
321
  /**
@@ -54,8 +54,8 @@ export function loadDictionaryFile(dictPath) {
54
54
  * Save words to a dictionary file
55
55
  */
56
56
  export function saveDictionaryFile(words, dictPath) {
57
- const header = `# Custom dictionary for docrev
58
- # One word per line, lines starting with # are comments
57
+ const header = `# Custom dictionary for docrev
58
+ # One word per line, lines starting with # are comments
59
59
  `;
60
60
  const content = header + [...words].sort().join('\n') + '\n';
61
61
  // Ensure directory exists