Separate newspaper house style from issue flow
This commit is contained in:
parent
f7a02bc6c1
commit
eec5168d2e
8 changed files with 402 additions and 143 deletions
|
|
@ -1493,14 +1493,28 @@ Region-based extraction finds all 23 expected copy fragments, and full-page
|
|||
144-DPI visual QA finds no clipping or overlap. Preserve it as the verified
|
||||
Run 60 press baseline.
|
||||
|
||||
The operator has now authorized a new press-layout task over the designated
|
||||
accepted Canopy Ledger edition. Do not rewrite its copy. Build a reusable
|
||||
random-seed-driven newspaper layout script with bounded typography and press
|
||||
variation; the same source and seed must reproduce the same layout choices.
|
||||
Use ImageGen for story-specific woodcuts. Reserve printer's ornaments and
|
||||
fleurons for reusable decoration rather than narrative illustration. Preserve
|
||||
the source identity plus generation and visual provenance with the finished
|
||||
artifact. This task temporarily precedes the Delvehold adapter.
|
||||
The historical press-layout and style/flow seed split are complete. The
|
||||
reference corpus runs through 1914, and
|
||||
`notes/historical-newspaper-layout-grammar.md` preserves the derived grammar.
|
||||
Manifest v2 is
|
||||
`output/tex/canopy-ledger-run-61-style-1847-flow-723.manifest.toml`. It binds
|
||||
`style_seed=1847`, `flow_seed=723`, frozen source SHA-256
|
||||
`8f195140f52a40ba705d6a66987146a1500ae89668e5d82b01d1792eb3afb882`.
|
||||
The final artifact is
|
||||
`output/pdf/canopy-ledger-run-61-style-1847-flow-723.pdf`, SHA-256
|
||||
`a457f4b1702a7a52480e42fce0039f0dbe677ff32958e98f1c412b346237190c`.
|
||||
|
||||
An identical seed pair produces byte-identical TeX and now byte-identical PDF.
|
||||
Changing only `flow_seed` preserves the exact manifest style section while
|
||||
materially changing a plausible layout; changing only `style_seed` preserves
|
||||
flow topology. Cut-first and cut-midstory templates both pass visual inspection.
|
||||
The failed split-card template was deleted. Frozen copy and assets, actual PDF
|
||||
`/BM /Multiply`, and visual provenance remain intact. Layout is closed.
|
||||
|
||||
Future advertisements remain economic content. The layout may reserve typed
|
||||
slots, but only the economic layer may own advertiser identity, goods, price,
|
||||
claims, campaign continuity, and payment. Unfilled slots collapse unless the
|
||||
edition explicitly records unsold space; presentation cannot invent a campaign.
|
||||
|
||||
Run 54 exposed one separate upstream publicity defect: a public strategic
|
||||
activity propagates its channel to private `MemberMemory` outcomes, which is
|
||||
|
|
@ -1512,11 +1526,10 @@ materializing a `NewsIssue`.
|
|||
1. Preserve immutable accepted Run 60 and Run 59; do not rewrite, recompose, or
|
||||
resimulate either edition.
|
||||
2. Preserve the delivered Run 60 PDF and its frozen-copy verification as the
|
||||
baseline. Typeset the operator-designated accepted Canopy Ledger with the
|
||||
reusable seeded press-layout machinery described above; verify the artifact
|
||||
without changing accepted copy.
|
||||
3. After the press-layout task, advance the Delvehold-owned adapter against
|
||||
Ghostlight's admitted generic consumer contract. Defer multiple publications
|
||||
earlier baseline, plus the final Run 61 style/flow artifact, v2 manifest,
|
||||
grammar, hashes, frozen copy, and art assets recorded above.
|
||||
3. Advance the Delvehold-owned adapter
|
||||
against Ghostlight's admitted generic consumer contract. Defer multiple publications
|
||||
until separately authorized, or follow the operator's next directed work.
|
||||
Preserve immutable Runs 60 through 63 and do not replay newspaper work for
|
||||
cache telemetry.
|
||||
|
|
|
|||
|
|
@ -1691,48 +1691,89 @@ write world state.
|
|||
#### Seeded TeX press projection
|
||||
|
||||
- **Owner:** the operator-designated frozen newsroom Markdown owns masthead,
|
||||
edition label, sections, story order, headlines, decks, bylines, and every
|
||||
paragraph. `tools/typeset_newspaper.py` owns presentation only: parsing that
|
||||
copy, choosing bounded seed-driven style, emitting TeX and its manifest, and
|
||||
invoking LuaLaTeX. Woodcut bitmaps and their adjacent prompt sidecars own
|
||||
illustration provenance, not facts or copy.
|
||||
- **Inputs:** one frozen Markdown edition, one required integer seed, zero or
|
||||
more ordered wordless woodcut PNGs, output/TeX/manifest paths, and an optional
|
||||
LuaLaTeX engine or `--no-compile`. The current Run 61 projection uses seed
|
||||
1847 and the `boundary-rail-exchange` and `sinkroot-gauge-gallery` cuts. Their
|
||||
matching prompt files preserve the exact fresh ImageGen requests and record
|
||||
grayscale, 72-percent threshold, and trim preparation.
|
||||
- **Outputs:** escaped TeX, a `ghostlight.seeded_tex_press.v1` TOML manifest, and
|
||||
optionally a compiled PDF. The manifest records source/output/TeX paths,
|
||||
seed, selected style values, ordered woodcut paths, and SHA-256 digests for
|
||||
source, TeX, tool, woodcuts, engine, and compiled output. These are press
|
||||
artifacts, not another newsroom composition or correction surface.
|
||||
- **Derived state:** the parsed `Edition`, seeded `Style`, page grouping,
|
||||
ornament choice, image placement and widths, TeX markup, and PDF pagination
|
||||
are presentation projections. The same seed deterministically selects the
|
||||
same bounded style. Exact portable PDF reproduction additionally depends on
|
||||
the named system fonts; source, woodcut, engine, tool, TeX, and output bytes
|
||||
are bound by the manifest.
|
||||
edition label, article identities, lead designation, sections, headlines,
|
||||
decks, bylines, and every paragraph. `tools/typeset_newspaper.py` owns
|
||||
presentation only through two independent decisions. `style_seed` owns the
|
||||
durable house body: sheet geometry, type, stock, ink, rules, gutters, and
|
||||
ornaments. `flow_seed` owns the per-issue display template, secondary-story
|
||||
grouping, which eligible secondary closes page one, cut-first versus
|
||||
cut-midstory placement, cut scale, and page closure. Both apply the pre-WWI
|
||||
mass-circulation grammar distilled in
|
||||
`notes/historical-newspaper-layout-grammar.md`; neither owns copy. Woodcut
|
||||
bitmaps and their adjacent prompt sidecars own illustration provenance, not
|
||||
facts. A future economic layer owns advertiser identity, goods, prices,
|
||||
claims, campaign continuity, and payment; the press may only place an already
|
||||
admitted ad module in the shared page grid.
|
||||
- **Inputs:** one frozen Markdown edition, required independent style and flow
|
||||
seeds, zero or more article-indexed wordless woodcut PNGs,
|
||||
output/TeX/manifest paths, and an optional LuaLaTeX engine or `--no-compile`.
|
||||
The current Run 61 projection uses style seed 1847 and flow seed 723 and binds
|
||||
`boundary-rail-exchange` to article 0 and
|
||||
`sinkroot-gauge-gallery` to article 1. Their matching prompt files preserve
|
||||
the exact fresh ImageGen requests and record grayscale, 72-percent threshold,
|
||||
and trim preparation. No ad module is currently admitted.
|
||||
- **Outputs:** escaped TeX, a `ghostlight.seeded_tex_press.v2` TOML manifest, and
|
||||
optionally a compiled PDF. Manifest v2 records independent `[style]` and
|
||||
`[flow]` projections and binds both seeds, source/output/TeX paths,
|
||||
article-indexed woodcuts, and SHA-256 digests for source, TeX, tool, woodcuts,
|
||||
engine, and compiled output. The current artifact is
|
||||
`output/pdf/canopy-ledger-run-61-style-1847-flow-723.pdf`, bound by
|
||||
`output/tex/canopy-ledger-run-61-style-1847-flow-723.manifest.toml` with output
|
||||
SHA-256 `a457f4b1702a7a52480e42fce0039f0dbe677ff32958e98f1c412b346237190c`.
|
||||
These are press artifacts, not another newsroom composition or correction
|
||||
surface.
|
||||
- **Derived state:** the parsed `Edition`, house `Style`, per-issue `Flow`,
|
||||
two-page story grouping, continuous four-column reading flow, unbreakable
|
||||
story-header modules, story-local cut placement and widths, TeX markup, and
|
||||
PDF pagination are presentation projections. Flow templates include
|
||||
`display-plate` and `display-band`; inside-story placement includes
|
||||
`cut-first` and `cut-midstory`. TikZ/PDF multiply blending makes monochrome cut
|
||||
paper disappear into the seeded stock. The same style seed preserves the
|
||||
bounded house body across issues while a different flow seed may change
|
||||
grouping and placement without changing that body. Exact portable PDF
|
||||
reproduction additionally depends on the named system fonts; source,
|
||||
woodcut, engine, tool, TeX, and output bytes are bound by manifest v2.
|
||||
- **Forbidden writers:** the press, TeX compiler, manifest, woodcuts, and prompt
|
||||
sidecars cannot add, remove, summarize, reorder, correct, or reinterpret
|
||||
newsroom copy; change bylines or story priority; write newsroom checkpoints
|
||||
or world state; or promote an illustration into evidence. A successful PDF
|
||||
compile cannot admit missing or altered copy.
|
||||
newsroom copy; change bylines, lead designation, or newsroom-owned narrative
|
||||
function; write newsroom checkpoints
|
||||
or world state; promote an illustration into evidence; fabricate an
|
||||
advertiser, offer, price, claim, payment, or campaign; or fill an unadmitted
|
||||
ad slot. Flow may choose which eligible secondary closes page one, but it
|
||||
cannot rewrite article text, change the lead, reassign an indexed cut, detach
|
||||
that cut from its story, or omit it. A successful PDF compile cannot admit
|
||||
missing or altered copy.
|
||||
- **Shared path:** every press run parses the frozen source, derives one style
|
||||
from the seed, writes TeX and manifest, then either stops at `--no-compile` or
|
||||
compiles that exact TeX in a temporary directory and copies the resulting PDF
|
||||
to the named output. Woodcut order alone selects lead and later placement.
|
||||
from `style_seed` and one issue flow from `flow_seed`, verifies that all frozen
|
||||
fields survive, writes TeX, compiles that exact TeX when requested, and then
|
||||
writes manifest v2. Each woodcut is keyed to its owning article index and
|
||||
remains attached to that story's display field in either cut-first or
|
||||
cut-midstory form; accepted copy then flows continuously through the common
|
||||
four-column grid. There is no detached image bank or bottom-art reservation.
|
||||
Any future admitted ad module must use this same grid without changing
|
||||
article-internal copy order or flow-selected grouping.
|
||||
- **Cut line:** the live press path contains no model rewrite, editorial
|
||||
summarizer, copy-fitting loop, or second content owner. Press variation is
|
||||
bounded to page geometry, typography, color, rules, fleurons, and illustration
|
||||
sizing/placement; the former fixed ReportLab front-page renderer is not live.
|
||||
- **Verification layer:** admission requires source-to-TeX/PDF copy completeness
|
||||
and order, a same-source/seed derivation check, successful halt-on-error
|
||||
compilation, rendered-page inspection for clipping and overlap, and matching
|
||||
manifest/woodcut prompt provenance. LuaLaTeX produces a two-page PDF with
|
||||
embedded Times New Roman faces. The parser flushes the final article paragraph
|
||||
at end of file; extracted copy includes the closing `Marshal Eryn Tal`
|
||||
paragraph, and rendered inspection shows no clipping or overlap.
|
||||
sizing/placement. The former fixed ReportLab renderer, three-column lead plus
|
||||
one-column rail, paired story-minipage layout, and detached image bank are not
|
||||
live. Minipages now protect headers only; story bodies remain in continuous
|
||||
column flow. The single-seed manifest v1 and prior
|
||||
`output/pdf/canopy-ledger-run-61-seed-1847.pdf` artifact are not current press
|
||||
authority.
|
||||
- **Verification layer:** admission requires source-to-TeX/PDF field completeness
|
||||
and article-internal order, exact same-pair TeX derivation, independent style-
|
||||
and flow-seed variation checks, successful halt-on-error compilation, rendered-page
|
||||
inspection for clipping and overlap, one attached rendering for every indexed
|
||||
cut, and matching manifest/woodcut prompt provenance. The current manifest v2
|
||||
records `display-plate`, `cut-first`, and page-one secondary article 2. Its
|
||||
final TeX uses four-column `multicols`, article-indexed cuts, `needspace` plus
|
||||
header-only minipages, and TikZ multiply scopes. LuaLaTeX produces a two-page
|
||||
PDF with embedded Times New Roman faces; `SOURCE_DATE_EPOCH=0` and
|
||||
`FORCE_SOURCE_DATE=1` make the same admitted inputs byte-reproducible under the
|
||||
bound engine. Extracted copy includes the closing `Marshal Eryn Tal`
|
||||
paragraph. Rendered inspection confirms continuous reading order, attached
|
||||
cuts blended into the stock, unstranded headers, and no clipping or overlap.
|
||||
|
||||
#### Acceptance-driver per-wave newspaper recovery
|
||||
|
||||
|
|
|
|||
148
notes/historical-newspaper-layout-grammar.md
Normal file
148
notes/historical-newspaper-layout-grammar.md
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
# Historical Newspaper Layout Grammar
|
||||
|
||||
This is a working press grammar, not a costume catalogue. It distills recurring
|
||||
page structures from representative nineteenth-century newspapers into rules
|
||||
the seeded TeX press can actually enforce.
|
||||
|
||||
## Reference set
|
||||
|
||||
- *Pall Mall Gazette*, first issue, 1865: a deliberately spacious evening
|
||||
review using two wide columns, double masthead rules, restrained italic
|
||||
headlines, and long uninterrupted reading measure.
|
||||
<https://academic.oup.com/res/article/77/330/336/8425236>
|
||||
- *Evening Star* (Washington), 28 February 1880 and 17 June 1890: metropolitan
|
||||
sheets with a broad nameplate, six or more narrow continuous columns, dense
|
||||
vertical packing, and advertisements/notices inhabiting the same column grid
|
||||
as news.
|
||||
<https://www.loc.gov/resource/sn83045462/1880-02-28/ed-1/>
|
||||
<https://www.loc.gov/resource/sn83045462/1890-06-17/ed-1/>
|
||||
- *The Sun* (New York), 30 May 1885: a uniform multi-column field with modest
|
||||
story heads and almost no unowned white space.
|
||||
<https://www.loc.gov/resource/sn83030272/1885-05-30/ed-1/>
|
||||
- University of Illinois, *American Newspapers, 1800–1860*: physical and
|
||||
production context for five-to-eight-column sheets, full-height columns,
|
||||
front-page advertising, and the migration of timely news to inside pages.
|
||||
<https://www.library.illinois.edu/hpnl/tutorials/antebellum-newspapers-introduction/>
|
||||
- Robinson, *Newspapers and Advertising*: nineteenth-century advertising moves
|
||||
from small text-heavy insertions intermingled on front and back pages toward
|
||||
larger display advertising and more consistent classified pages late in the
|
||||
century.
|
||||
<https://academic.oup.com/edinburgh-scholarship-online/book/42878/chapter-abstract/361009569>
|
||||
- *New-York Tribune*, 16 April 1912: a page-wide disaster head, central map and
|
||||
photographic display spanning several columns, flanking report columns, and
|
||||
dense continuation below the illustration.
|
||||
<https://www.loc.gov/resource/sn83030214/1912-04-16/ed-1/>
|
||||
- *Richmond Times-Dispatch*, 17 April 1912: a page-wide head and ship image
|
||||
followed by modular three-column packages, lists, subheads, and boxed matter.
|
||||
<https://www.lva.virginia.gov/events/exhibitions/titanic/newspaper_coverage.php>
|
||||
- *St. Louis Globe-Democrat*, 17 April 1912: a large central illustrated package
|
||||
surrounded by independent column-width reports and subordinate display heads.
|
||||
<https://commons.wikimedia.org/wiki/File:St._Louis_Globe-Democrat_17_Apr_1912.png>
|
||||
- *The Daily News* (St. John's), 14 August 1914: narrow continuous news columns
|
||||
coexist with multi-column war heads and boxed display advertisements occupying
|
||||
ordinary grid modules.
|
||||
<https://collections.mun.ca/digital/collection/dailynews/id/240059/>
|
||||
|
||||
Reference scans used for visual comparison live in disposable
|
||||
`tmp/newspaper/references/`; the URLs above remain the durable provenance.
|
||||
|
||||
## Families
|
||||
|
||||
The press selects a family before it varies details.
|
||||
|
||||
### Evening review
|
||||
|
||||
- Two wide columns.
|
||||
- Smaller physical sheet and lower information density.
|
||||
- Long-form reading dominates scanning.
|
||||
- Sparse display hierarchy; italics, rules, and small capitals do more work
|
||||
than large headlines.
|
||||
|
||||
### Metropolitan sheet
|
||||
|
||||
- Four to eight narrow columns depending on sheet size and date.
|
||||
- The nameplate spans the page, while issue data, price, notices, or subscription
|
||||
terms may flank or bracket it.
|
||||
- Stories, notices, and advertisements inhabit one shared vertical grid.
|
||||
- Story heads are usually modest. Late-century sensational sheets may spend
|
||||
several columns on a display head or illustration, but the surrounding text
|
||||
closes around that expenditure.
|
||||
|
||||
The Canopy Ledger currently uses a compact four-column metropolitan sheet. Its
|
||||
small accepted copy body does not earn a six-to-eight-column broadsheet.
|
||||
|
||||
### Mass-circulation display sheet, 1895–1914
|
||||
|
||||
- The underlying narrow-column grid survives, but a major event may spend
|
||||
several columns on one head, deck stack, map, photograph, or illustration.
|
||||
- Display packages remain attached to their story. Copy resumes directly below
|
||||
them or rises in adjacent columns; the illustration does not become a detached
|
||||
gallery object.
|
||||
- Secondary stories become more visibly modular through short rules, boxed
|
||||
lists, subheads, and column-spanning heads.
|
||||
- A large central image may organize the entire page, with flanking text fields
|
||||
and subordinate modules closing around it.
|
||||
- Display advertisements become visually distinct boxed modules while small ads
|
||||
and notices continue to occupy ordinary column measure.
|
||||
|
||||
The accepted Run 61 special issue uses this family. Its crisis head and cut earn
|
||||
a page-wide display package; accepted story copy then returns immediately to the
|
||||
four-column grid.
|
||||
|
||||
## Composition rules
|
||||
|
||||
1. **The page is a column economy.** Every occupied region begins and ends on
|
||||
column or half-column lines. Large vacant regions require an owned reason
|
||||
such as an absent paid advertisement; they are not a centering technique.
|
||||
2. **Build fields, not isolated boxes.** A story field contains its head, deck,
|
||||
byline, cut, caption when present, and body measure. Adjacent fields share a
|
||||
top line or establish an intentional stepped hierarchy.
|
||||
3. **Cuts spend story measure.** A narrative cut is assigned to one story and
|
||||
placed inside that story's contiguous field. It may span multiple columns,
|
||||
with the story flowing above, beside, or below it. It may not be deposited at
|
||||
a page edge after unrelated columns have ended.
|
||||
4. **Ink blends with stock.** Monochrome cuts use multiply compositing (or its
|
||||
alpha-equivalent against a flat stock color) so white image paper disappears
|
||||
and black linework shares the page ink.
|
||||
5. **Reading order remains typographic.** Column traversal, rules, heads, and
|
||||
continuation labels must make the next fragment unambiguous. Geometry may
|
||||
not reorder accepted copy.
|
||||
6. **Density follows the edition.** Type size, page dimensions, column count,
|
||||
and cut expenditure are solved together from copy volume. A short edition
|
||||
becomes a smaller sheet or fewer columns; it does not become a broadsheet
|
||||
with a desert under it.
|
||||
7. **Hierarchy is rationed.** One lead field may spend a multi-column head and
|
||||
large cut. Secondary heads stay within their field. Masthead display does not
|
||||
authorize every story to shout.
|
||||
8. **Rules join related matter.** Column rules and horizontal rules articulate
|
||||
the grid. Ornaments close or divide small matter; they do not substitute for
|
||||
missing content.
|
||||
9. **Advertisements are economic content.** The press may reserve typed ad
|
||||
slots by column width and depth. Only the economic layer may fill them with
|
||||
advertiser identity, goods, price, claims, campaign continuity, and payment.
|
||||
Unfilled slots collapse unless the edition explicitly records unsold space.
|
||||
10. **House and issue variation are separate.** `style_seed` owns the durable
|
||||
publication body: sheet, grid, fonts, type scale, stock, ink, rules, gutter,
|
||||
and ornament vocabulary. `flow_seed` owns one issue's imposition: display
|
||||
template, story grouping, page-one closure, cut span and placement, page
|
||||
breaks, and continuation rhythm. Neither may detach art, rewrite copy,
|
||||
fabricate ads, or create barren pages.
|
||||
11. **A house remains recognizable across flows.** Holding `style_seed` fixed
|
||||
must preserve typography, stock, ink, rules, sheet geometry, and base grid
|
||||
while materially different `flow_seed` values produce distinct plausible
|
||||
readings of the same admitted content. Holding `flow_seed` fixed while the
|
||||
style changes must preserve its story/cut topology.
|
||||
|
||||
## Current Run 61 imposition
|
||||
|
||||
- House style seed `1847`; issue flow seed `723`. The manifest records both as
|
||||
independent inputs under `ghostlight.seeded_tex_press.v2`.
|
||||
- Page one: full-width nameplate and crisis head; a centered page-wide Boundary
|
||||
Rail cut; lead and secondary copy flowing continuously through four columns.
|
||||
- Page two: a compact repeated nameplate and Sinkroot head; the centered gauge
|
||||
cut immediately below its owning head; Sinkroot and Dispatches copy flowing
|
||||
continuously through the same four-column grid.
|
||||
- Secondary story headers are unbreakable column modules, so a section label or
|
||||
head cannot strand at the foot of the preceding column.
|
||||
- Both cuts use PDF multiply blending so their white image stock disappears into
|
||||
the seeded paper stock. No image bank or detached bottom art reservation exists.
|
||||
Loading…
Reference in a new issue