Table des matières

BookCreator

In a traditional publishing workflow, creating a book involves many tedious and error-prone manual steps. For each new project, the editor or designer must juggle multiple InDesign template files: the cover, title pages, chapters, appendices. For each file, they must manually insert or modify the book’s information: title, subtitle, author, publisher, print date, ISBN, copyright. Often, the text is imported from unreliable Word documents.

These manual entries, repeated file by file, multiply the risk of mistakes: omissions, typos, inconsistencies between files, barcode errors, outdated legal mentions. Added to this are technical tasks like generating a correct EAN13 barcode from the ISBN, checking page numbers, and synchronizing headers.

Each step may seem minor, but the cumulative burden eats up time and makes the process vulnerable to human error. For a publisher managing multiple titles per year, standardizing, automating, and securing these steps becomes essential for efficiency, reliability, and peace of mind.

General Operation

BookCreator is an advanced script for Adobe InDesign designed to automate the entire book creation process from templates.

Starting from a standardized metadata file (YAML, the same format used with Pandoc for epub generation), it allows you to:

In just a few minutes, a complete and clean project is generated — no repetitive manual entries, no typos, and fully compliant with your editorial layout. The book is ready for final proofreading and layout.

Usage

Step 1 — Prepare your files

Step 2 — Launch BookCreator

Step 3 — Fill or verify information

Step 4 — Automatic generation

Step 5 — Content injection

Placeholders and Variables

To allow BookCreator to replace book information in your templates, insert the following specific placeholders into your InDesign documents:

Placeholder Description
«Book_Author» Book author’s name
«Book_Title» Book title
«Subtitle» Subtitle
«ISBN_Print» ISBN for the printed edition
«ISBN_Ebook» ISBN for the ebook edition
«Critical_Apparatus» Critical apparatus
«Translation» Translation
«Original_Title» Original title (with optional prefix)
«Cover_Credit» Cover credit (with optional prefix)
«Print_Date» Print date
«Editions» Editions
«Funding» Funding
«Rights» Rights and licenses
«Price» Price
«Document_Title» Current document title (extracted from Markdown content)
«EAN13_Print» Placeholder for EAN13 barcode for print ISBN
«EAN13_Ebook» Placeholder for EAN13 barcode for ebook ISBN

Markdown Detection and Injection

BookCreator includes a smart system to locate and inject the appropriate Markdown content into each document:

Book Structure

The script supports multiple types of documents to create a complete book:

YAML File Format

BookCreator uses a standard YAML format, compatible with Pandoc:

---
title: Book Title
subtitle: Subtitle
author: Author Name
date: "2023"
isbn-print: 978-2-9565793-4-7
isbn-ebook: 978-2-9565793-5-4
rights: "CC BY-NC-SA 4.0"
originalTitle: Original Title
coverCredit: Artist Name
critical: Editor Notes
translation: Translator Name
editions: Publisher Name
funding: Funding Information
price: €19.90
input-files:
  - 01-introduction.md
  - 02-chapter1.md
  - 03-chapter2.md
  - 04-conclusion.md
---

The `input-files` field is particularly important for Markdown content injection.

Editorial Workflow Optimization

BookCreator integrates perfectly into a modern editorial workflow:

This script is a complete solution to simplify and secure publishing production, combining the advantages of modern digital workflows with the layout power of InDesign.

Advanced Tips

Text Overflow

The PageOverflow module automatically handles text overflow by:

Optional Fields

Some fields are completely removed if left empty:

This feature allows the layout to adapt automatically without empty gaps.

Pandoc Compatibility

The YAML metadata used by BookCreator is fully compatible with Pandoc, enabling a multiformat workflow:

International Support

BookCreator is fully internationalized with support for French and English:

ISBN and Barcode Management

BookCreator offers full ISBN management:

Technical Architecture

BookCreator is modularly structured, using a namespace- and class-based architecture. Main script components include:

Core Modules