Depending on how the names are set up now, you may be able to use GREP to apply no-break to all the names at once. Can you post an example of how the names are set up (including whether some of them include extras like middle names or initials, or Jr., Dr. and the like?
Primarily just first and last names but some hypenated last names. All in a large text box to be embossed on a book cover. I do want to allow breaks between names and have 2 spaces between all the names (and only 1 space between first and last names)
Can you show some samples here (can be made-up names)? They should be representative of the variety of name types, and how they look right now.
You might be able to do this in two steps. First, apply no-break to the whole thing (knowing that it will cause it to overset), and then go back and use GREP to remove the no-break from all double spaces.
Not familiar with GREP? How do I do that?
The names are like this:
JOHN SMITH BEVERLEY SMITH GEORGE JONES ANNA JONES SUSAN MCDONALD-REED
etc. About 800 in two 12-inch text boxes.
(not a GREP master)
Someone may come along with a more elegant solution, but if your description of the list is accurate, this might do it:
Go to Edit > Find/Change...
In the GREP tab, type this in the Find What: field: (?<=\ \ ).*?(?=\ \ )
(copying from here and pasting might be better; there are spaces involved)
Then, at the bottom, click the glass/T icon to the right of the Change Format: field
In the Basic Character Formats section, tick No Break and click OK
Click Change All
(/not a GREP master)
that mostly works, but allows a break in the first and last names on the list. I think that changing all to no-break, and then doing a simple find-change on two spaces together to remove the no-break would work best.
To do this, create a character style with the No Break attribute UNchecked.
After applying no break to the whole list, find two spaces together, and change the character style to the Break style.
Here is a more elegant solution:
Apply style : No Break
This finds any single space between two letters
that mostly works, but allows a break in the first and last names on the list.
Right but I figured it shouldn't be a problem unless the column width only leaves room for one name, in which case I'd just replace all the double spaces with carriage returns and make a proper list of it.
That works like a charm thanks!!
However, I now have to reduce the font size for it to fit perfectly and when I did that half of my text disappears??? So strange!!
First image - all names are correct with no breaks between first and last:
Then I change the font size to fit it all in the 2 linked text boxes:
did you accidentally apply no-break to that entire text frame?
No. All I did was change the font size.
Sent from my Windows Phone
Did you change it by selecting the whole text box with the pointer? If so, and if you did each box separately, you could have typed next to the existing size in the dialog, so that instead of changing from 11 pt to 12 pt, you wound up with 1112 pt.
I changed to text pointer then did ctrl+a to select all and then changed text.
Sent from my Windows Phone
If you are willing and able to share the InDesign file via DropBox or similar service, I will take a look. I can't think off-hand of what else it might be.
Wow. That's a very generous offer. I will look at it again tomorrow with fresh eyes/brain and if I can't figure it out will get back to you! Thanks again for your help!!