I would create a character style for your cross references and include the No Break attribute, but be careful. If the length of a string with no break applied exceeds the column width the story will go into overset.
For Bibles exist a specific plugin or system for InDesign. Problem, it is only available for Bible societies, I have forgotten the name.
But I have often to set up Bible texts, I do it so:
Nested style up to the letter for the verse number, Normal main text
Shift Tabulator before the reference part, this changes the font to the Character style for the refrences.
then I use an m-space with the references
The m space is used as distance holder between text and reference.
The reference style uses a smaller font and no break, that is kept together, if it becomes longer than a line, I have to use a manual line break followed by another shift-tabulator, but I think it would be possible to automate it further.
Good suggestion, didn't know of that feature.
It's very good for me to get input from someone who's set up Bible inserts before, so thanks for all of your input.
Your saying you add tab and also an m space before cross references. Is it because the tab tells the reference to align to the right and the m space is only there to make sure the reference doesn't come too close to the text?
By the way, is there a difference between shift tabulator and a regular tabulator?
I set SHIFT+TAB not only TAB before the reference. The M space makes sure to have distance to the text, you could also try N-space or whatever looks fine with your text and font.
The Character Style for the REF changes via nested style, so you can use either the SHIFT+TAB or the M-SPACE as trigger to change the Character Style.
Shift+Tab aligns the text to the right edge without a tabulator stop needed and is flexible with changes to the column width.
Ok, I get it. Thanks again!
Using the no break setting for my character style works most of the time but I've found that it sometimes interferes with the way InDesign flows the paragraph. Look at the difference in the two attached images. The first one is what InDesign does automatically (flowing the main part over six rows). For some reason it wants the last word of the paragraph to be on the same row as the character style. If I manually insert a shift+enter and a tab before the cross-reference it is evident that five rows is enough for the main text of the paragraph, and I think it looks much better.
Did you also encounter this problem and can it be solved by changing the settings or must it be solved manually?
Try foollowing, instea of a m- or n-space allone, add one normal space before, so:
space m-space shift-tab
Unfortunately that doesn't work. Should it?