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.
- package/LICENSE +21 -0
- package/README.md +222 -0
- package/agents/continuity-checker.md +85 -0
- package/agents/drafter.md +248 -0
- package/agents/plan-checker.md +209 -0
- package/agents/researcher.md +114 -0
- package/agents/translator.md +204 -0
- package/agents/voice-checker.md +154 -0
- package/bin/install.js +1620 -0
- package/commands/scr/add-note.md +51 -0
- package/commands/scr/add-unit.md +101 -0
- package/commands/scr/art-direction.md +225 -0
- package/commands/scr/autopilot-publish.md +210 -0
- package/commands/scr/autopilot-translate.md +237 -0
- package/commands/scr/autopilot.md +200 -0
- package/commands/scr/back-matter.md +630 -0
- package/commands/scr/back-translate.md +197 -0
- package/commands/scr/beta-reader.md +97 -0
- package/commands/scr/blurb.md +149 -0
- package/commands/scr/book-proposal.md +210 -0
- package/commands/scr/build-ebook.md +448 -0
- package/commands/scr/build-poetry-submission.md +202 -0
- package/commands/scr/build-print.md +598 -0
- package/commands/scr/build-smashwords.md +171 -0
- package/commands/scr/build-world.md +158 -0
- package/commands/scr/cast-list.md +104 -0
- package/commands/scr/chapter-header.md +158 -0
- package/commands/scr/character-arc.md +108 -0
- package/commands/scr/character-ref.md +160 -0
- package/commands/scr/character-sheet.md +143 -0
- package/commands/scr/character-touch.md +157 -0
- package/commands/scr/character-voice-sample.md +111 -0
- package/commands/scr/check-notes.md +50 -0
- package/commands/scr/cleanup.md +159 -0
- package/commands/scr/compare.md +112 -0
- package/commands/scr/complete-draft.md +49 -0
- package/commands/scr/continuity-check.md +129 -0
- package/commands/scr/copy-edit.md +118 -0
- package/commands/scr/cover-art.md +382 -0
- package/commands/scr/cultural-adaptation.md +177 -0
- package/commands/scr/demo.md +93 -0
- package/commands/scr/dialogue-audit.md +143 -0
- package/commands/scr/discuss.md +118 -0
- package/commands/scr/discussion-questions.md +129 -0
- package/commands/scr/do.md +68 -0
- package/commands/scr/draft.md +97 -0
- package/commands/scr/editor-review.md +466 -0
- package/commands/scr/export.md +942 -0
- package/commands/scr/fast.md +65 -0
- package/commands/scr/front-matter.md +696 -0
- package/commands/scr/health.md +113 -0
- package/commands/scr/help.md +121 -0
- package/commands/scr/history.md +92 -0
- package/commands/scr/illustrate-scene.md +211 -0
- package/commands/scr/import.md +95 -0
- package/commands/scr/insert-unit.md +108 -0
- package/commands/scr/line-edit.md +146 -0
- package/commands/scr/manager.md +77 -0
- package/commands/scr/manuscript-stats.md +139 -0
- package/commands/scr/map-illustration.md +213 -0
- package/commands/scr/map-manuscript.md +134 -0
- package/commands/scr/merge-units.md +136 -0
- package/commands/scr/multi-publish.md +344 -0
- package/commands/scr/new-character.md +167 -0
- package/commands/scr/new-revision.md +50 -0
- package/commands/scr/new-work.md +148 -0
- package/commands/scr/next.md +125 -0
- package/commands/scr/originality-check.md +170 -0
- package/commands/scr/outline.md +131 -0
- package/commands/scr/pacing-analysis.md +170 -0
- package/commands/scr/panel-layout.md +225 -0
- package/commands/scr/pause-work.md +88 -0
- package/commands/scr/plan.md +112 -0
- package/commands/scr/plant-seed.md +57 -0
- package/commands/scr/plot-graph.md +199 -0
- package/commands/scr/polish.md +141 -0
- package/commands/scr/profile-writer.md +154 -0
- package/commands/scr/progress.md +51 -0
- package/commands/scr/publish.md +455 -0
- package/commands/scr/query-letter.md +183 -0
- package/commands/scr/quick-write.md +82 -0
- package/commands/scr/relationship-map.md +129 -0
- package/commands/scr/remove-unit.md +120 -0
- package/commands/scr/reorder-units.md +126 -0
- package/commands/scr/resume-work.md +97 -0
- package/commands/scr/sacred/annotation-layer.md +105 -0
- package/commands/scr/sacred/chronology.md +121 -0
- package/commands/scr/sacred/concordance.md +88 -0
- package/commands/scr/sacred/cross-reference.md +97 -0
- package/commands/scr/sacred/doctrinal-check.md +129 -0
- package/commands/scr/sacred/genealogy.md +107 -0
- package/commands/scr/sacred/source-tracking.md +101 -0
- package/commands/scr/sacred/verse-numbering.md +103 -0
- package/commands/scr/sacred-numbering-format.md +103 -0
- package/commands/scr/save.md +109 -0
- package/commands/scr/scan.md +291 -0
- package/commands/scr/sensitivity-review.md +169 -0
- package/commands/scr/series-bible.md +127 -0
- package/commands/scr/session-report.md +80 -0
- package/commands/scr/settings.md +58 -0
- package/commands/scr/split-unit.md +123 -0
- package/commands/scr/spread-layout.md +187 -0
- package/commands/scr/storyboard.md +262 -0
- package/commands/scr/subject-touch.md +168 -0
- package/commands/scr/submit.md +50 -0
- package/commands/scr/subplot-map.md +147 -0
- package/commands/scr/sync.md +116 -0
- package/commands/scr/synopsis.md +137 -0
- package/commands/scr/theme-tracker.md +128 -0
- package/commands/scr/thread.md +83 -0
- package/commands/scr/timeline.md +141 -0
- package/commands/scr/track.md +564 -0
- package/commands/scr/translate.md +260 -0
- package/commands/scr/translation-glossary.md +298 -0
- package/commands/scr/translation-memory.md +310 -0
- package/commands/scr/troubleshoot.md +59 -0
- package/commands/scr/undo.md +106 -0
- package/commands/scr/validate.md +133 -0
- package/commands/scr/versions.md +94 -0
- package/commands/scr/voice-check.md +133 -0
- package/commands/scr/voice-test.md +68 -0
- package/data/CONSTRAINTS.json +1606 -0
- package/data/demo/.manuscript/BRIEF.md +37 -0
- package/data/demo/.manuscript/CHARACTERS.md +90 -0
- package/data/demo/.manuscript/OUTLINE.md +46 -0
- package/data/demo/.manuscript/PLOT-GRAPH.md +75 -0
- package/data/demo/.manuscript/STATE.md +44 -0
- package/data/demo/.manuscript/STYLE-GUIDE.md +119 -0
- package/data/demo/.manuscript/THEMES.md +51 -0
- package/data/demo/.manuscript/WORK.md +51 -0
- package/data/demo/.manuscript/config.json +59 -0
- package/data/demo/.manuscript/drafts/body/1-the-letter-DRAFT.md +51 -0
- package/data/demo/.manuscript/drafts/body/2-the-workshop-DRAFT.md +51 -0
- package/data/demo/.manuscript/drafts/body/3-the-pier-DRAFT.md +45 -0
- package/data/demo/.manuscript/drafts/body/4-the-clock-DRAFT.md +59 -0
- package/data/demo/.manuscript/plans/5-the-reunion-PLAN.md +52 -0
- package/data/demo/.manuscript/reviews/2-the-workshop-REVIEW.md +61 -0
- package/data/export-templates/scriveno-academic.latex +184 -0
- package/data/export-templates/scriveno-acm.latex +67 -0
- package/data/export-templates/scriveno-apa7.latex +83 -0
- package/data/export-templates/scriveno-book.typst +175 -0
- package/data/export-templates/scriveno-chapbook.typst +121 -0
- package/data/export-templates/scriveno-elsevier.latex +76 -0
- package/data/export-templates/scriveno-epub.css +386 -0
- package/data/export-templates/scriveno-fixed-layout-epub.css +76 -0
- package/data/export-templates/scriveno-fixed-layout.opf +23 -0
- package/data/export-templates/scriveno-ieee.latex +77 -0
- package/data/export-templates/scriveno-lncs.latex +79 -0
- package/data/export-templates/scriveno-picturebook.typst +113 -0
- package/data/export-templates/scriveno-poetry-submission-styles.md +45 -0
- package/data/export-templates/scriveno-poetry-submission.docx +0 -0
- package/data/export-templates/scriveno-smashwords-styles.md +45 -0
- package/data/export-templates/scriveno-smashwords.docx +0 -0
- package/data/export-templates/scriveno-stageplay.typst +129 -0
- package/data/proof/creative-context/README.md +79 -0
- package/data/proof/voice-dna/GUIDED-SAMPLE.md +19 -0
- package/data/proof/voice-dna/README.md +45 -0
- package/data/proof/voice-dna/STYLE-GUIDE-EXCERPT.md +43 -0
- package/data/proof/voice-dna/UNGUIDED-SAMPLE.md +11 -0
- package/data/proof/watchmaker-flow/README.md +78 -0
- package/docs/architecture.md +425 -0
- package/docs/command-reference.md +2384 -0
- package/docs/configuration.md +228 -0
- package/docs/context-protocol.md +81 -0
- package/docs/contributing.md +430 -0
- package/docs/creative-context.md +158 -0
- package/docs/development.md +152 -0
- package/docs/drafter-quality.md +127 -0
- package/docs/getting-started.md +198 -0
- package/docs/history-protocol.md +96 -0
- package/docs/proof-artifacts.md +56 -0
- package/docs/publishing.md +296 -0
- package/docs/release-notes.md +457 -0
- package/docs/runtime-support.md +77 -0
- package/docs/sacred-texts.md +296 -0
- package/docs/shipped-assets.md +129 -0
- package/docs/testing.md +156 -0
- package/docs/translation.md +343 -0
- package/docs/voice-dna.md +297 -0
- package/docs/work-types.md +339 -0
- package/lib/architectural-profiles.js +134 -0
- package/package.json +54 -0
- package/templates/BRIEF.md +51 -0
- package/templates/CHARACTERS.md +64 -0
- package/templates/CONTEXT.md +56 -0
- package/templates/OUTLINE.md +36 -0
- package/templates/RECORD.md +68 -0
- package/templates/STATE.md +50 -0
- package/templates/STYLE-GUIDE.md +121 -0
- package/templates/THEMES.md +36 -0
- package/templates/WORK.md +67 -0
- package/templates/WORLD.md +62 -0
- package/templates/WRITING-RULES.md +156 -0
- package/templates/academic/ARGUMENT-MAP.md +40 -0
- package/templates/academic/CONCEPTS.md +34 -0
- package/templates/academic/CONTEXT.md +29 -0
- package/templates/academic/PROPOSAL.md +37 -0
- package/templates/academic/QUESTIONS.md +24 -0
- package/templates/config.json +72 -0
- package/templates/pitfalls/comic.md +54 -0
- package/templates/pitfalls/commentary.md +62 -0
- package/templates/pitfalls/memoir.md +48 -0
- package/templates/pitfalls/novel.md +53 -0
- package/templates/pitfalls/poetry_collection.md +63 -0
- package/templates/pitfalls/research_paper.md +66 -0
- package/templates/pitfalls/runbook.md +64 -0
- package/templates/pitfalls/screenplay.md +54 -0
- package/templates/platforms/README.md +16 -0
- package/templates/platforms/apple/manifest.yaml +20 -0
- package/templates/platforms/bn/manifest.yaml +20 -0
- package/templates/platforms/d2d/manifest.yaml +20 -0
- package/templates/platforms/google/manifest.yaml +20 -0
- package/templates/platforms/ingram/manifest.yaml +44 -0
- package/templates/platforms/kdp/manifest.yaml +42 -0
- package/templates/platforms/kobo/manifest.yaml +20 -0
- package/templates/platforms/smashwords/manifest.yaml +26 -0
- package/templates/sacred/COSMOLOGY.md +88 -0
- package/templates/sacred/DOCTRINES.md +45 -0
- package/templates/sacred/FIGURES.md +69 -0
- package/templates/sacred/FRAMEWORK.md +98 -0
- package/templates/sacred/LINEAGES.md +52 -0
- package/templates/sacred/README.md +20 -0
- package/templates/sacred/THEOLOGICAL-ARC.md +69 -0
- package/templates/sacred/catholic/manifest.yaml +93 -0
- package/templates/sacred/islamic-hafs/manifest.yaml +134 -0
- package/templates/sacred/islamic-warsh/manifest.yaml +134 -0
- package/templates/sacred/jewish/manifest.yaml +56 -0
- package/templates/sacred/orthodox/manifest.yaml +98 -0
- package/templates/sacred/pali/manifest.yaml +20 -0
- package/templates/sacred/protestant/manifest.yaml +86 -0
- package/templates/sacred/sanskrit/manifest.yaml +20 -0
- package/templates/sacred/tewahedo/manifest.yaml +106 -0
- package/templates/sacred/tibetan/manifest.yaml +20 -0
- package/templates/technical/AUDIENCE.md +26 -0
- package/templates/technical/DEPENDENCIES.md +19 -0
- package/templates/technical/DOC-BRIEF.md +45 -0
- package/templates/technical/PROCEDURES.md +37 -0
- package/templates/technical/REFERENCES.md +36 -0
- package/templates/technical/SYSTEM.md +25 -0
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Scriveno EPUB Stylesheet
|
|
3
|
+
* Usage: pandoc ... --css=data/export-templates/scriveno-epub.css
|
|
4
|
+
*
|
|
5
|
+
* KDP-compatible: uses em/rem units only (no px for font sizes).
|
|
6
|
+
* No fixed widths or absolute positioning (EPUB reflow requirement).
|
|
7
|
+
* Accessibility: ensure all <img> tags have alt text in the source markdown.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* === Body === */
|
|
11
|
+
|
|
12
|
+
body {
|
|
13
|
+
font-family: Georgia, "Times New Roman", serif;
|
|
14
|
+
line-height: 1.5;
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
text-align: justify;
|
|
18
|
+
orphans: 2;
|
|
19
|
+
widows: 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* === Paragraphs === */
|
|
23
|
+
|
|
24
|
+
p {
|
|
25
|
+
margin-top: 0;
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
text-indent: 1em;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* First paragraph after a heading: no indent */
|
|
31
|
+
h1 + p,
|
|
32
|
+
h2 + p,
|
|
33
|
+
h3 + p,
|
|
34
|
+
h4 + p,
|
|
35
|
+
h5 + p,
|
|
36
|
+
h6 + p,
|
|
37
|
+
hr + p,
|
|
38
|
+
blockquote + p {
|
|
39
|
+
text-indent: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* === Headings === */
|
|
43
|
+
|
|
44
|
+
h1, h2, h3, h4, h5, h6 {
|
|
45
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
text-indent: 0;
|
|
48
|
+
text-align: left;
|
|
49
|
+
margin-bottom: 0.5em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h1 {
|
|
53
|
+
font-size: 1.8em;
|
|
54
|
+
margin-top: 2em;
|
|
55
|
+
margin-bottom: 0.8em;
|
|
56
|
+
text-align: center;
|
|
57
|
+
page-break-before: always;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
h2 {
|
|
61
|
+
font-size: 1.4em;
|
|
62
|
+
margin-top: 1.5em;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
h3 {
|
|
66
|
+
font-size: 1.2em;
|
|
67
|
+
margin-top: 1.2em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
h4 {
|
|
71
|
+
font-size: 1.1em;
|
|
72
|
+
margin-top: 1em;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
h5 {
|
|
76
|
+
font-size: 1em;
|
|
77
|
+
margin-top: 0.8em;
|
|
78
|
+
font-style: italic;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
h6 {
|
|
82
|
+
font-size: 0.9em;
|
|
83
|
+
margin-top: 0.8em;
|
|
84
|
+
font-style: italic;
|
|
85
|
+
font-weight: normal;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* === Chapter breaks === */
|
|
89
|
+
|
|
90
|
+
h1 {
|
|
91
|
+
page-break-before: always;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Prevent orphaned headings */
|
|
95
|
+
h1, h2, h3, h4, h5, h6 {
|
|
96
|
+
page-break-after: avoid;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* === Images === */
|
|
100
|
+
/* ACCESSIBILITY REMINDER: Every <img> must have meaningful alt text.
|
|
101
|
+
In markdown source, use:  */
|
|
102
|
+
|
|
103
|
+
img {
|
|
104
|
+
max-width: 100%;
|
|
105
|
+
height: auto;
|
|
106
|
+
display: block;
|
|
107
|
+
margin: 1em auto;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
figure {
|
|
111
|
+
margin: 1.5em 0;
|
|
112
|
+
text-align: center;
|
|
113
|
+
page-break-inside: avoid;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
figcaption {
|
|
117
|
+
font-size: 0.9em;
|
|
118
|
+
font-style: italic;
|
|
119
|
+
margin-top: 0.5em;
|
|
120
|
+
text-align: center;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* === Blockquotes === */
|
|
124
|
+
|
|
125
|
+
blockquote {
|
|
126
|
+
margin: 1em 0;
|
|
127
|
+
padding-left: 1.5em;
|
|
128
|
+
border-left: none;
|
|
129
|
+
font-style: italic;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
blockquote p {
|
|
133
|
+
text-indent: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* === Lists === */
|
|
137
|
+
|
|
138
|
+
ul, ol {
|
|
139
|
+
margin: 0.8em 0;
|
|
140
|
+
padding-left: 2em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
li {
|
|
144
|
+
margin-bottom: 0.3em;
|
|
145
|
+
text-indent: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* === Horizontal rules (scene breaks) === */
|
|
149
|
+
|
|
150
|
+
hr {
|
|
151
|
+
border: none;
|
|
152
|
+
text-align: center;
|
|
153
|
+
margin: 1.5em 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
hr::after {
|
|
157
|
+
content: "* * *";
|
|
158
|
+
font-size: 1em;
|
|
159
|
+
letter-spacing: 0.5em;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* === Links === */
|
|
163
|
+
|
|
164
|
+
a {
|
|
165
|
+
color: inherit;
|
|
166
|
+
text-decoration: underline;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* === Code === */
|
|
170
|
+
|
|
171
|
+
code {
|
|
172
|
+
font-family: "Courier New", Courier, monospace;
|
|
173
|
+
font-size: 0.9em;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
pre {
|
|
177
|
+
margin: 1em 0;
|
|
178
|
+
padding: 0.5em;
|
|
179
|
+
white-space: pre-wrap;
|
|
180
|
+
word-wrap: break-word;
|
|
181
|
+
font-size: 0.85em;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* === Tables === */
|
|
185
|
+
|
|
186
|
+
table {
|
|
187
|
+
border-collapse: collapse;
|
|
188
|
+
margin: 1em auto;
|
|
189
|
+
max-width: 100%;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
th, td {
|
|
193
|
+
padding: 0.4em 0.8em;
|
|
194
|
+
border-bottom: 0.0625em solid #ccc;
|
|
195
|
+
text-align: left;
|
|
196
|
+
text-indent: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
th {
|
|
200
|
+
font-weight: bold;
|
|
201
|
+
border-bottom-width: 0.125em;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* === Footnotes === */
|
|
205
|
+
|
|
206
|
+
.footnotes {
|
|
207
|
+
margin-top: 2em;
|
|
208
|
+
font-size: 0.85em;
|
|
209
|
+
border-top: 0.0625em solid #ccc;
|
|
210
|
+
padding-top: 0.5em;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* === Title page === */
|
|
214
|
+
|
|
215
|
+
.title-page {
|
|
216
|
+
text-align: center;
|
|
217
|
+
margin-top: 30%;
|
|
218
|
+
page-break-after: always;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* === Table of contents === */
|
|
222
|
+
|
|
223
|
+
nav#toc ol {
|
|
224
|
+
list-style-type: none;
|
|
225
|
+
padding-left: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
nav#toc li {
|
|
229
|
+
margin-bottom: 0.3em;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
nav#toc a {
|
|
233
|
+
text-decoration: none;
|
|
234
|
+
color: inherit;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/* === Emphasis and strong === */
|
|
238
|
+
|
|
239
|
+
em {
|
|
240
|
+
font-style: italic;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
strong {
|
|
244
|
+
font-weight: bold;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* === Superscript and subscript === */
|
|
248
|
+
|
|
249
|
+
sup {
|
|
250
|
+
font-size: 0.75em;
|
|
251
|
+
vertical-align: super;
|
|
252
|
+
line-height: 0;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
sub {
|
|
256
|
+
font-size: 0.75em;
|
|
257
|
+
vertical-align: sub;
|
|
258
|
+
line-height: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* ==========================================================================
|
|
262
|
+
RTL (Right-to-Left) Support
|
|
263
|
+
Languages: Arabic (ar), Hebrew (he), Urdu (ur), Persian (fa),
|
|
264
|
+
Yiddish (yi), Pashto (ps), Sindhi (sd)
|
|
265
|
+
========================================================================== */
|
|
266
|
+
|
|
267
|
+
[dir="rtl"],
|
|
268
|
+
body[dir="rtl"] {
|
|
269
|
+
direction: rtl;
|
|
270
|
+
unicode-bidi: embed;
|
|
271
|
+
text-align: right;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
[dir="rtl"] p {
|
|
275
|
+
text-indent: 1em;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* RTL headings: right-aligned instead of left */
|
|
279
|
+
[dir="rtl"] h1,
|
|
280
|
+
[dir="rtl"] h2,
|
|
281
|
+
[dir="rtl"] h3,
|
|
282
|
+
[dir="rtl"] h4,
|
|
283
|
+
[dir="rtl"] h5,
|
|
284
|
+
[dir="rtl"] h6 {
|
|
285
|
+
text-align: right;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
[dir="rtl"] h1 {
|
|
289
|
+
text-align: center;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* RTL blockquotes: mirror padding */
|
|
293
|
+
[dir="rtl"] blockquote {
|
|
294
|
+
padding-left: 0;
|
|
295
|
+
padding-right: 1.5em;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* RTL lists: right-aligned bullets/numbers */
|
|
299
|
+
[dir="rtl"] ul,
|
|
300
|
+
[dir="rtl"] ol {
|
|
301
|
+
padding-left: 0;
|
|
302
|
+
padding-right: 2em;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* RTL table cells */
|
|
306
|
+
[dir="rtl"] th,
|
|
307
|
+
[dir="rtl"] td {
|
|
308
|
+
text-align: right;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* RTL footnotes */
|
|
312
|
+
[dir="rtl"] .footnotes {
|
|
313
|
+
text-align: right;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* ==========================================================================
|
|
317
|
+
CJK (Chinese, Japanese, Korean) Support
|
|
318
|
+
Languages: Chinese (zh), Japanese (ja), Korean (ko)
|
|
319
|
+
========================================================================== */
|
|
320
|
+
|
|
321
|
+
/* CJK line breaking: allow breaks between any CJK characters */
|
|
322
|
+
[lang="zh"] body,
|
|
323
|
+
[lang="ja"] body,
|
|
324
|
+
[lang="ko"] body,
|
|
325
|
+
body[lang="zh"],
|
|
326
|
+
body[lang="ja"],
|
|
327
|
+
body[lang="ko"],
|
|
328
|
+
.cjk {
|
|
329
|
+
word-break: break-all;
|
|
330
|
+
overflow-wrap: break-word;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* Japanese strict line break rules (kinsoku) */
|
|
334
|
+
[lang="ja"] body,
|
|
335
|
+
body[lang="ja"] {
|
|
336
|
+
line-break: strict;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* CJK justification: inter-ideograph spacing */
|
|
340
|
+
[lang="zh"] p,
|
|
341
|
+
[lang="ja"] p,
|
|
342
|
+
[lang="ko"] p,
|
|
343
|
+
.cjk p {
|
|
344
|
+
text-align: justify;
|
|
345
|
+
text-justify: inter-ideograph;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/* CJK paragraphs: wider indent for ideographic characters */
|
|
349
|
+
[lang="zh"] p,
|
|
350
|
+
[lang="ja"] p,
|
|
351
|
+
[lang="ko"] p,
|
|
352
|
+
.cjk p {
|
|
353
|
+
text-indent: 2em;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/* Vertical CJK text option (for traditional layout) */
|
|
357
|
+
.vertical-cjk {
|
|
358
|
+
writing-mode: vertical-rl;
|
|
359
|
+
text-orientation: mixed;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/* CJK line height: slightly taller for readability with dense characters */
|
|
363
|
+
[lang="zh"] body,
|
|
364
|
+
[lang="ja"] body,
|
|
365
|
+
[lang="ko"] body,
|
|
366
|
+
body[lang="zh"],
|
|
367
|
+
body[lang="ja"],
|
|
368
|
+
body[lang="ko"] {
|
|
369
|
+
line-height: 1.8;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/* CJK punctuation spacing */
|
|
373
|
+
[lang="zh"],
|
|
374
|
+
[lang="ja"],
|
|
375
|
+
[lang="ko"] {
|
|
376
|
+
font-feature-settings: "halt" 1;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/* CJK emphasis: use dots instead of italic (per typographic convention) */
|
|
380
|
+
[lang="zh"] em,
|
|
381
|
+
[lang="ja"] em,
|
|
382
|
+
[lang="ko"] em {
|
|
383
|
+
font-style: normal;
|
|
384
|
+
text-emphasis-style: filled dot;
|
|
385
|
+
text-emphasis-position: under right;
|
|
386
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* Scriveno Fixed-Layout EPUB CSS
|
|
2
|
+
* For picture books and illustrated books exported with --fixed-layout flag.
|
|
3
|
+
* Apple Books compatible: requires rendition:layout=pre-paginated in OPF.
|
|
4
|
+
*
|
|
5
|
+
* CSS property: -epub-layout (EPUB3 fixed-layout CSS declaration)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@namespace epub "http://www.idpf.org/2007/ops";
|
|
9
|
+
|
|
10
|
+
/* Fixed-layout body: each spine item is one pre-paginated page */
|
|
11
|
+
body {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
-epub-layout: pre-paginated;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Full-page image: cover and spread images fill the page exactly */
|
|
19
|
+
.full-page-image img {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
object-fit: contain;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Text overlay: positioned over a spread image */
|
|
26
|
+
.text-overlay {
|
|
27
|
+
position: absolute;
|
|
28
|
+
bottom: 10%;
|
|
29
|
+
left: 5%;
|
|
30
|
+
right: 5%;
|
|
31
|
+
font-size: 1.4em;
|
|
32
|
+
line-height: 1.6;
|
|
33
|
+
color: #1a1a1a;
|
|
34
|
+
background: rgba(255, 255, 255, 0.7);
|
|
35
|
+
padding: 0.5em 1em;
|
|
36
|
+
border-radius: 0.25em;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Spread container: two-page spreads use this wrapper */
|
|
40
|
+
.spread {
|
|
41
|
+
display: flex;
|
|
42
|
+
width: 200%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.spread-page {
|
|
47
|
+
width: 50%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
position: relative;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Typography: large, readable for picture books */
|
|
54
|
+
p {
|
|
55
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
56
|
+
font-size: 1.4em;
|
|
57
|
+
line-height: 1.6;
|
|
58
|
+
text-align: center;
|
|
59
|
+
margin: 0.5em 1em;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
h1 {
|
|
63
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
64
|
+
font-size: 2em;
|
|
65
|
+
font-weight: bold;
|
|
66
|
+
text-align: center;
|
|
67
|
+
margin: 0.5em 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
h2 {
|
|
71
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
72
|
+
font-size: 1.6em;
|
|
73
|
+
font-weight: bold;
|
|
74
|
+
text-align: center;
|
|
75
|
+
margin: 0.4em 0;
|
|
76
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Scriveno Fixed-Layout OPF Stub
|
|
3
|
+
For picture books and illustrated books.
|
|
4
|
+
Merge metadata block into the book's package.opf when packaging the EPUB.
|
|
5
|
+
Apple Books compatibility: rendition:layout + rendition:spread are required.
|
|
6
|
+
-->
|
|
7
|
+
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="uid">
|
|
8
|
+
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
9
|
+
<!-- Fixed-layout metadata (EPUB3 rendition vocabulary) -->
|
|
10
|
+
<meta property="rendition:layout">pre-paginated</meta>
|
|
11
|
+
<meta property="rendition:spread">auto</meta>
|
|
12
|
+
<meta property="rendition:orientation">auto</meta>
|
|
13
|
+
<!-- Apple Books: iBooks-specific metadata for fixed-layout support -->
|
|
14
|
+
<meta name="fixed-layout" content="true"/>
|
|
15
|
+
<meta name="original-resolution" content="1024x768"/>
|
|
16
|
+
<!-- Replace with actual book metadata below -->
|
|
17
|
+
<dc:title>TITLE</dc:title>
|
|
18
|
+
<dc:creator>AUTHOR</dc:creator>
|
|
19
|
+
<dc:language>en</dc:language>
|
|
20
|
+
<dc:identifier id="uid">BOOK-UUID</dc:identifier>
|
|
21
|
+
<meta property="dcterms:modified">YYYY-MM-DDTHH:MM:SSZ</meta>
|
|
22
|
+
</metadata>
|
|
23
|
+
</package>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
% Scriveno IEEE LaTeX Template for Pandoc --template flag
|
|
2
|
+
% Requires IEEEtran.cls (install: tlmgr install ieeetran)
|
|
3
|
+
% Usage: pandoc ... --template=data/export-templates/scriveno-ieee.latex
|
|
4
|
+
%
|
|
5
|
+
% Default class options: [conference] for IEEE conference papers, [journal] for IEEE journal articles.
|
|
6
|
+
% Pass via Pandoc: --metadata classoption=conference
|
|
7
|
+
|
|
8
|
+
\documentclass[$if(classoption)$$for(classoption)$$classoption$$sep$,$endfor$$endif$]{IEEEtran}
|
|
9
|
+
|
|
10
|
+
% Encoding -- safe with IEEEtran when using pdflatex
|
|
11
|
+
\usepackage[T1]{fontenc}
|
|
12
|
+
\usepackage[utf8]{inputenc}
|
|
13
|
+
|
|
14
|
+
% Math support
|
|
15
|
+
\usepackage{amsmath,amssymb}
|
|
16
|
+
|
|
17
|
+
% Graphics
|
|
18
|
+
\usepackage{graphicx}
|
|
19
|
+
\makeatletter
|
|
20
|
+
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
|
21
|
+
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
|
22
|
+
\makeatother
|
|
23
|
+
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
|
24
|
+
|
|
25
|
+
% Pandoc required: code highlighting
|
|
26
|
+
$if(highlighting-macros)$
|
|
27
|
+
$highlighting-macros$
|
|
28
|
+
$endif$
|
|
29
|
+
|
|
30
|
+
% Pandoc required: tight lists
|
|
31
|
+
\providecommand{\tightlist}{%
|
|
32
|
+
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
33
|
+
|
|
34
|
+
% Pandoc required: CSL references (citeproc compatibility)
|
|
35
|
+
$if(csl-refs)$
|
|
36
|
+
\newlength{\cslhangindent}
|
|
37
|
+
\setlength{\cslhangindent}{1.5em}
|
|
38
|
+
\newlength{\csllabelwidth}
|
|
39
|
+
\setlength{\csllabelwidth}{3em}
|
|
40
|
+
\newenvironment{CSLReferences}[2]%
|
|
41
|
+
{\setlength{\parindent}{0pt}%
|
|
42
|
+
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces}%
|
|
43
|
+
{\par}
|
|
44
|
+
\newcommand{\CSLBlock}[1]{\hfill\break#1\hfill\break}
|
|
45
|
+
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
|
|
46
|
+
\newcommand{\CSLRightInline}[1]{\parbox[t]{\dimexpr\linewidth-\csllabelwidth\relax}{\strut#1\strut}}
|
|
47
|
+
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
|
48
|
+
$endif$
|
|
49
|
+
|
|
50
|
+
% Document metadata
|
|
51
|
+
\title{$if(title)$$title$$else$Untitled$endif$}
|
|
52
|
+
\author{$if(author)$$for(author)$$if(it.name)$$it.name$$else$$it$$endif$$sep$ \and $endfor$$else$~$endif$}
|
|
53
|
+
\date{$if(date)$$date$$else$\today$endif$}
|
|
54
|
+
|
|
55
|
+
\begin{document}
|
|
56
|
+
|
|
57
|
+
\maketitle
|
|
58
|
+
|
|
59
|
+
$if(abstract)$
|
|
60
|
+
\begin{abstract}
|
|
61
|
+
\noindent $abstract$
|
|
62
|
+
\end{abstract}
|
|
63
|
+
$endif$
|
|
64
|
+
|
|
65
|
+
$if(keywords)$
|
|
66
|
+
\begin{IEEEkeywords}
|
|
67
|
+
$keywords$
|
|
68
|
+
\end{IEEEkeywords}
|
|
69
|
+
$endif$
|
|
70
|
+
|
|
71
|
+
$body$
|
|
72
|
+
|
|
73
|
+
% Bibliography: use IEEEtran bib style or BibLaTeX with IEEE style
|
|
74
|
+
% \bibliographystyle{IEEEtran}
|
|
75
|
+
% \bibliography{references}
|
|
76
|
+
|
|
77
|
+
\end{document}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
% Scriveno Springer LNCS LaTeX Template for Pandoc --template flag
|
|
2
|
+
% Requires llncs.cls (install: tlmgr install llncs)
|
|
3
|
+
% Usage: pandoc ... --template=data/export-templates/scriveno-lncs.latex
|
|
4
|
+
%
|
|
5
|
+
% Default class options: (no standard class options for llncs)
|
|
6
|
+
% Pass via Pandoc: --metadata classoption=... (if needed)
|
|
7
|
+
|
|
8
|
+
\documentclass[$if(classoption)$$for(classoption)$$classoption$$sep$,$endfor$$endif$]{llncs}
|
|
9
|
+
|
|
10
|
+
% Encoding -- safe with llncs when using pdflatex
|
|
11
|
+
\usepackage[T1]{fontenc}
|
|
12
|
+
\usepackage[utf8]{inputenc}
|
|
13
|
+
|
|
14
|
+
% Math support
|
|
15
|
+
\usepackage{amsmath,amssymb}
|
|
16
|
+
|
|
17
|
+
% Graphics
|
|
18
|
+
\usepackage{graphicx}
|
|
19
|
+
\makeatletter
|
|
20
|
+
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
|
21
|
+
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
|
22
|
+
\makeatother
|
|
23
|
+
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
|
24
|
+
|
|
25
|
+
% Pandoc required: code highlighting
|
|
26
|
+
$if(highlighting-macros)$
|
|
27
|
+
$highlighting-macros$
|
|
28
|
+
$endif$
|
|
29
|
+
|
|
30
|
+
% Pandoc required: tight lists
|
|
31
|
+
\providecommand{\tightlist}{%
|
|
32
|
+
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
33
|
+
|
|
34
|
+
% Pandoc required: CSL references (citeproc compatibility)
|
|
35
|
+
$if(csl-refs)$
|
|
36
|
+
\newlength{\cslhangindent}
|
|
37
|
+
\setlength{\cslhangindent}{1.5em}
|
|
38
|
+
\newlength{\csllabelwidth}
|
|
39
|
+
\setlength{\csllabelwidth}{3em}
|
|
40
|
+
\newenvironment{CSLReferences}[2]%
|
|
41
|
+
{\setlength{\parindent}{0pt}%
|
|
42
|
+
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces}%
|
|
43
|
+
{\par}
|
|
44
|
+
\newcommand{\CSLBlock}[1]{\hfill\break#1\hfill\break}
|
|
45
|
+
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
|
|
46
|
+
\newcommand{\CSLRightInline}[1]{\parbox[t]{\dimexpr\linewidth-\csllabelwidth\relax}{\strut#1\strut}}
|
|
47
|
+
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
|
48
|
+
$endif$
|
|
49
|
+
|
|
50
|
+
% Document metadata
|
|
51
|
+
\title{$if(title)$$title$$else$Untitled$endif$}
|
|
52
|
+
\author{$if(author)$$for(author)$$if(it.name)$$it.name$$else$$it$$endif$$sep$ \and $endfor$$else$~$endif$}
|
|
53
|
+
\institute{$if(author)$$for(author)$$if(it.affiliation)$$it.affiliation$$endif$$sep$ \and $endfor$$else$~$endif$}
|
|
54
|
+
\date{$if(date)$$date$$else$\today$endif$}
|
|
55
|
+
|
|
56
|
+
\begin{document}
|
|
57
|
+
|
|
58
|
+
\maketitle
|
|
59
|
+
|
|
60
|
+
$if(abstract)$
|
|
61
|
+
\begin{abstract}
|
|
62
|
+
\noindent $abstract$
|
|
63
|
+
\end{abstract}
|
|
64
|
+
$endif$
|
|
65
|
+
|
|
66
|
+
$if(keywords)$
|
|
67
|
+
\noindent\textbf{Keywords:} $keywords$
|
|
68
|
+
$endif$
|
|
69
|
+
|
|
70
|
+
$body$
|
|
71
|
+
|
|
72
|
+
% Bibliography: use splncs04 bib style (not llncs -- that style is deprecated)
|
|
73
|
+
% \bibliographystyle{splncs04}
|
|
74
|
+
% \bibliography{references}
|
|
75
|
+
% Note: llncs.cls may also be obtained from Springer's author resources page
|
|
76
|
+
% if tlmgr install llncs is unavailable on your TeX distribution:
|
|
77
|
+
% https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines
|
|
78
|
+
|
|
79
|
+
\end{document}
|