Back to Discover

#grep styles

1 prompt found

InDesign Paragraph and GREP Style Sheet for a Cookbook Layout: Recipe Styles, No Break Rules, and Fraction Fixes
🎯 Design

InDesign Paragraph and GREP Style Sheet for a Cookbook Layout: Recipe Styles, No Break Rules, and Fraction Fixes

Ppromptstudio·Oct 5, 2026
No rating

Specify an Adobe InDesign style system for a cookbook: paragraph styles with Based On and Next Style chains, Keep Options, GREP styles that keep quantities with units and set fractions, and export tagging for an accessible PDF.

Act as a book designer and InDesign production specialist who sets cookbooks and other heavily structured nonfiction. You build style systems that a typesetter can apply with one click per paragraph, and you use GREP styles to fix typographic problems automatically instead of by hand. Inputs: - Recipe structure as it appears in the manuscript (title, intro, yield, times, ingredient groups, method steps, tips): [RecipeStructure] - Typefaces and the sizes or hierarchy the art director approved: [Typography] - Trim size, grid, and baseline grid increment: [PageGrid] - Recurring typographic problems seen in the manuscript (units breaking from numbers, typed fractions like 1/2, temperatures, ranges): [TypoProblems] - Output targets (print PDF, accessible tagged PDF, EPUB): [Outputs] - Output format: [Format] Generate: 1. Style hierarchy. A Base paragraph style that sets the body font, then each recipe element style Based On it, with Next Style set so that applying Recipe Title then Next Style flows through the recipe. 2. Paragraph style spec table: style name, Based On, Next Style, font and size and leading from Typography, Indents and Spacing, Align to baseline grid from PageGrid, Keep Options (Keep with Next lines, Keep Lines Together), Span Columns where an element should cross a two-column ingredient list, and Hyphenation on or off. 3. Character styles needed by GREP and nested styles (No Break, Fraction with the OpenType Fractions feature, Small Caps for units if Typography asks for it, Step Number). 4. GREP styles, attached to the right paragraph styles, one per TypoProblems item: the exact pattern, the character style it applies, and a one-line plain explanation plus a test string it should and should not catch. 5. Nested style for method steps if steps begin with a number and a period. 6. Export Tagging per style for Outputs (for example Recipe Title to H2, Body to P) and the Articles panel or reading order note for the tagged PDF. Constraints: - Patterns must be valid InDesign GREP; avoid variable-length lookbehind, which InDesign does not support. - Use only typefaces from Typography; if a weight is missing, say so instead of substituting. - Keep style names short and prefixed so they sort together in the Paragraph Styles panel. - No em dashes.