Reply To: Keeping text together …

#61416

Hah — I had an idea and it worked!

1. Set all of your text to Keep With Next:1 line. InDesign won't change a thing, because it somehow detects it's nonsense to keep such a long list all together.

2. Run this Javascript:

app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = “r(?=Name)”;
foundList = app.activeDocument.findGrep (true);
for (i=0; i<foundList.length; i++)
foundList[i].keepWithNext = 0;

3. And suddenly you have all of your “Name” items at the top of a column!

(Edited 3 times, this one ought to be okay now)

This article was last modified on January 11, 2012

Comments (0)

Loading comments...