DTP-to-Print layout automation

Design beautiful textbooks.
Export straight to Adobe InDesign.

Paperflo is a professional block-based visual editor built for educational publishers. Draft outline structures with Gemini, inject custom pedagogy rules, design rich callout components, and export clean, production-ready .idml files for print.

textbook_editor_v1.0.idml
Physics (Grade 10)
Book Navigation
Chapter Outlines
Theme Designer
Chapters
Ch 1: Laws of Motion
Ch 2: Work, Power & Energy
Ch 3: Gravitation & Orbits
Ch 4: Properties of Matter

Pedagogical Framework: Constructivist Outline

Gemini has loaded prompt constraints: inquiry-based headers, visual callouts, and active learning check-points are enabled.

SECTION 1.1

Force and its Effects

We experience forces in almost every action we perform in daily life, such as pulling a cart, opening a door, or hitting a ball. A force can set a stationary body in motion, or change the velocity of a moving object. Let us look at force from a fundamental perspective.

Solved Example 1.1

A block of mass 5 kg is pushed with a net force of 15 N on a frictionless surface. What is its acceleration?

Formula: F = m × a ⇒ a = F / m
a = 15 N / 5 kg = 3 m/s² (towards the direction of force)
Figure 1.2: Free body force mappingFlat Vector Preset
Applied: 15N
5 kg
Frictionless
a = 3m/s²

A force does not just move things; it can also distort their shapes. For example, squeezing an orange, or compressing a spring. In the next section, we study Newton\'s three laws of motion.

Block Properties
Callout Component Frame

InDesign Style Map
Object Style:
Callout_Box_Style
Paragraph Tag:
Callout_Title_Bold
XML Tag Mapping:
<story_callout>

Live Style Engine

Reskin books instantly with global theme controls

Click a subject below to see how our global style sheet re-skins typography, padding, borders, and callout components in real-time.

Theme Style Sheet

Mathematics Preset

Calculus & Algebra

1.2 Gravitational Fields

A gravitational field is the model used to explain the influence that a massive body extends into the space around itself, producing a force of attraction on other massive bodies. Thus, it is a vector field representing the gravitational force per unit mass.

Concept Check

If f is continuous on [a, b], then the function g defined by g(x) = ∫ f(t) dt is continuous on [a, b] and differentiable on (a, b), and g'(x) = f(x).

By understanding how field values diminish according to the inverse-square law, students can construct accurate gravitational maps. In InDesign export, this frame maps directly to ObjectStyle: Callout_Frame.

AI ILLUSTRATIONS

Generate diagrams in multiple style presets

Choose block-level illustration styles to maintain pedagogical branding. Gemini enhances prompts automatically based on your active template style.

Flat Vector

Modern flat elements with vibrant colors, simple gradients, and high contrast.

Cartoon / Sketch

Friendly thick outlines, hand-drawn aesthetics, and cheerful educational characters.

Scientific / 3D

High-fidelity renders, detailed structural diagrams, and photographic fidelity.

Line Art / Blueprint

Clean technical blueprint outlines, minimal shading, and precise geometry.

canvas_block_illustration.pngGemini AI Preset: Flat Vector
Cloudflare R2 Key: physics/illustrations/flat_vector_render.png

Capabilities

Built for professional textbook layout

Visual Block Canvas

Compose chapters visually using structured headings, paragraphs, and list frames. Reorder items with secure drag handlers.

AI Illustration Presets

Generate educational charts, drawings, blueprint diagrams, and cartoons directly on-canvas. Synced to Cloudflare R2.

High-Fidelity IDML Export

Export Visual canvas blocks to Adobe InDesign files. Avoid layout reconstruction from scratch.

Theme Designer Editor

Configure margins, padding, fonts, and borders once. Style templates cascade instantly to all chapters.

Pedagogical Guidelines

Set book-wide teaching rules (e.g. Constructivist, Gamified, Inquiry-based) that prompt-inject when using AI writing drafts.

Safeguarded Deletion

Smart editor warnings protect manual block edits and customized outlines from being overwritten or lost.

Developer Spec sheet

Zero-loss XML IDML mapping engine

Paperflo doesn\'t just output styled HTML. It translates the visual canvas block-hierarchy into an Adobe InDesign XML story catalog. Paragraph Styles, inline fonts, lists, and callout bounding-boxes map to actual Adobe Object Styles.

  • Preserves paragraph style linking in InDesign (Primary_Header, Solver_Body).
  • Exports image placeholders as linked local image frame coordinates.
  • Callouts compile to actual Object Styles inside native text frame threads.
  • Outputs valid ZIP packages containing standard XML structures.
xml_mapping_specification.xmlIDML Schema v1
<!-- IDML Story tag mapping -->
<Story Self="w32_Story">
  <ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Body_Paragraph">
    <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/[No character style]">
      <Content>Newton's first law states that an object...</Content>
    </CharacterStyleRange>
  </ParagraphStyleRange>
  <ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Callout_Header">
    <Content>CONCEPT CHECK</Content>
  </ParagraphStyleRange>
</Story>

Ready to streamline textbook production?

Equip your publication designers with styled assets. Generate outlines, write content, generate illustrations, and export print-ready layout shells in minutes.