mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 23:31:02 +00:00
35acdb8ba1
A new optional directive, layouts: 'templates', lays every entry on the decorated spreads of the book theme's archetype and its kin (design-templated.ts). An entry's photos are cut into page-sized parts that leave no frame empty, at most twelve of them, the first part carrying its story; each part takes the template that suits it best, poured from a page of the entry's photos and story so the title, place, date and story stay bound to the journal. A story longer than its frame is cut at a sentence and goes on over a page of words. Date marks are set as stamps, never in the classic styles. Loose gallery photos go to the entry they are linked to, then to the entry of their day, then to the entry with the fewest (shareGalleryByDay, beside distributeGallery, which stays as it is); what no entry has room for closes the book on up to three pages of more moments, and anything past that is said to be left out, so no photo is dropped without a word. The rest is the composer's: scope, the photo picker, the page budget, the stored pages kept, repair and findings. A book can bring its own theme object (BookDesignInput.theme), recoloured or not, and it is kept whole. Plan rows name the template a page was laid on. Without the directive every design is composed exactly as before, and classic is still buildBook. AUTODSN-001..015 cover the rules, and AUTODSN-020 pins a digest of every page on the auto layout's parity journeys and a fourth one in three themes. design-templated.parity.json was computed with the spec's own canonical form and digest over these inputs, run through tsx; CI checks it from here on.