I am currently working on a catalog with a lot parts and there is limited space for characters.
The catalog currently has a part number followed by a tab, then the product name, another tab, then the size.
example: 132756 [tab] RTD ULTRAMET BANA CRM [tab] 12/17OZ
The problem is that when the product name gets too long the entire line no longer fits. The client does not want to change fonts and the part number and size can't be changed. Don't even think cutting the text.
Ideally the solution that that I trying to achieve is to apply a character style with -5 tracking and a 95% horizontal scale to the product name after the first tab in that paragraph once there are too many characters for the product name (lets say 25).
What I was thinking would be possible with GREP (what isn't possible with GREP:) would be to search for the patten:
Tab (followed by) 25 or more characters (followed by) tab.
To add another wrinkle, it would be even more interesting if it was possible to set it up so that if that character count was over 30, a different character style was applied that applied even stronger negative tracking and more horizontal scale.
I think this is possible in GREP (someone at the last InDesign Conference talked to me about it).
Thanks again for whoever happens to read this. Maybe this will be fodder for a new blog post:)