Indiscripts

Tag : Table

Improve the Way you Merge Cells in InDesign

In a recent tutorial from ExpertsGraphiques (in French), Pierre Labbe has demonstrated a GREP-based method to merge two adjacent columns in a table while preserving the corresponding rows. It lies in fact that InDesign does not offer a so basic functionality! The “Merge cells” feature (which you access from the Table menu) is confined to globally merge all selected cells in a single one. Although P. Labbe showed great ingenuity, it seemed natural to investigate a more effective approach…

Continue reading...

What Exactly is a Word?

A number of InDesign scripts manipulate words for counting, indexing, or other processing purposes. Given a text container—basically a Story—the InDesign Scripting DOM provides many ways to handle text contents through specialized subclasses of the Text interface: one can easily access to insertion points, character ranges, lines, paragraphs, text columns, styled-text chunks, and… words. Although this concept seems pretty straightforward, I tried to understand a bit better what it really means.

Continue reading...

A Simple Script to Fix Table Widows

FixTableWidows in action (InDesign CS4/CS5).

Continue reading...