diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-23 09:06:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-23 09:06:37 +0300 |
| commit | 1834c8886b15aa3b868e988c185ac5c344392886 (patch) | |
| tree | 89bab79059910638b7f8b3f865e9feddf95f4b81 /prompts | |
| parent | 0ccc8073852895996ed70c4b2a86c460e3a3ddae (diff) | |
Add ISO A4 PDF print/book pipeline, page-frame prompts, and usage docs
Print and book PDF modes now letterbox each raster to A4 portrait at pdf.density;
print uses the matte color for pads. CLI forces 3:4 generation for print|book unless
--aspect-ratio is set. Cover, gallery, and back prompts gain DINA4PDF instructions when
those modes are active.
Introduce DescribePageFrame and PDF helpers with tests; add CLI tests for presentation
and aspect precedence. Expand README and config example with A4 examples, language
env vars, and page-format vs PDF behavior. Add sample Sumer vocabulary files.
Made-with: Cursor
Diffstat (limited to 'prompts')
| -rw-r--r-- | prompts/back_cover_prompt.md | 5 | ||||
| -rw-r--r-- | prompts/cover_prompt.md | 5 | ||||
| -rw-r--r-- | prompts/gallery_page_prompt.md | 5 | ||||
| -rw-r--r-- | prompts/manual_prompt.md | 1 | ||||
| -rw-r--r-- | prompts/story_page_prompt.md | 1 |
5 files changed, 11 insertions, 6 deletions
diff --git a/prompts/back_cover_prompt.md b/prompts/back_cover_prompt.md index 6242bff..90d3b5d 100644 --- a/prompts/back_cover_prompt.md +++ b/prompts/back_cover_prompt.md @@ -1,8 +1,9 @@ This comic is in {{.LanguageName}}. All visible back-cover text, banners, boxes, and labels must use {{.ScriptName}} script only. Style: {{.Style}}.{{.RenderingRequirement}} -Full back cover {{if .RenderingRequirement}}photographic scene{{else}}illustration{{end}} in landscape 16:9 format. -No panel grid. No speech bubbles. +Full back cover {{if .RenderingRequirement}}photographic scene{{else}}illustration{{end}} in {{.PageFrame}}. +{{if .DINA4PDF}}This file is one ISO A4–class portrait page in the final PDF: use a single unified composition that fills the entire canvas edge to edge (one sheet only — no collage of multiple pages, no inset spreads, no “photo of several sheets” staging). +{{end}}No panel grid. No speech bubbles. {{if .Bible}}CHARACTER AND SETTING REFERENCE: {{.Bible}} diff --git a/prompts/cover_prompt.md b/prompts/cover_prompt.md index f268498..8bd14d6 100644 --- a/prompts/cover_prompt.md +++ b/prompts/cover_prompt.md @@ -1,8 +1,9 @@ This comic is in {{.LanguageName}}. All visible cover text, including the main title, must use {{.ScriptName}} script only. Style: {{.Style}}.{{.RenderingRequirement}} -Full front cover {{if .RenderingRequirement}}photographic scene{{else}}illustration{{end}} in landscape 16:9 format. -No panel grid. No speech bubbles. +Full front cover {{if .RenderingRequirement}}photographic scene{{else}}illustration{{end}} in {{.PageFrame}}. +{{if .DINA4PDF}}This file is one ISO A4–class portrait page in the final PDF: use a single unified composition that fills the entire canvas edge to edge (one sheet only — no collage of multiple pages, no inset spreads, no “photo of several sheets” staging). +{{end}}No panel grid. No speech bubbles. {{if .Bible}}CHARACTER AND SETTING REFERENCE: {{.Bible}} diff --git a/prompts/gallery_page_prompt.md b/prompts/gallery_page_prompt.md index 4cdbd04..9068bce 100644 --- a/prompts/gallery_page_prompt.md +++ b/prompts/gallery_page_prompt.md @@ -9,8 +9,9 @@ VARIETY REQUIREMENTS: • This gallery image should feel like a distinct portfolio shot from a different moment in the story world. Style: {{.Style}}.{{.RenderingRequirement}} -One full-frame {{if .RenderingRequirement}}photograph that looks 100% like a real camera shot{{else}}illustration{{end}} in landscape 16:9 format. -Do not split the image into panels or sections. The entire canvas is one single scene. +One full-frame {{if .RenderingRequirement}}photograph that looks 100% like a real camera shot{{else}}illustration{{end}} in {{.PageFrame}}. +{{if .DINA4PDF}}This file is one ISO A4–class portrait page in the final PDF: one continuous scene must fill the whole canvas edge to edge (never multiple physical sheets, comic spreads, or stacked pages in-frame). +{{end}}Do not split the image into panels or sections. The entire canvas is one single scene. No text of any kind. No title, labels, speech bubbles, panel borders, or UI elements. {{if .Bible}}CHARACTER AND SETTING REFERENCE: {{.Bible}} diff --git a/prompts/manual_prompt.md b/prompts/manual_prompt.md index 177bfca..cebee78 100644 --- a/prompts/manual_prompt.md +++ b/prompts/manual_prompt.md @@ -2,6 +2,7 @@ Create a single image based on this prompt: {{.Prompt}} +Target page shape: {{.PageFrame}}. {{if .Style}}Visual style: {{.Style}}. {{end}}{{if .Theme}}Theme context: {{.Theme}}. {{end}}{{if .RenderingRequirement}}{{.RenderingRequirement}} diff --git a/prompts/story_page_prompt.md b/prompts/story_page_prompt.md index dd2e452..93bc33a 100644 --- a/prompts/story_page_prompt.md +++ b/prompts/story_page_prompt.md @@ -1,4 +1,5 @@ This comic page is in {{.LanguageName}}. All speech, thoughts, captions, and labels inside panels must use {{.ScriptName}} script only. +Page dimensions: {{.PageFrame}}. UNIQUE STORY PAGE {{.PageNum}} OF {{.TotalPages}} — render this page as a NEW story beat, not a repeat of any previous page. The exact page-specific panel plan is the highest priority instruction: |
