GREP Style Title Case Exceptions
A couple years ago I found a set of GREP Styles to display text as title case (as described here), but still allow me to cross-reference it in sentence case. I can't seem to dig up where I had gotten it from, but putting it to work in a new document I found it capitalizing things it shouldn't, so I've started to revise the expressions to better reflect "proper" title casing. Originally posting here to seek assistance, I eventually scrapped together enough comprehension of GREP to fix it on my own. Here's what I came up with, maybe you know a better way?
Apply Style: All Caps (style only contains Case set to All Caps)
To Text: ^\S
Apply Style: All Caps
To Text: /\S
Apply Style: All Caps
To Text: :\s\l|[-\s]\l(?!(f|he|nd?|o|y|rom|or|r|ut)?\b)
Apply Style: Normal Case (style only contains Case set to Normal)
To Text: \s(a)\s|\s(an)\s|\s(and)\s|\s(are)\s|\s(but)\s|\s(down)\s|\s(in)\s|\s(is)\s|\s(of)\s|\s(on)\s|\s(or)\s|\s(the)\s|\s(to)\s|\s(up)\s|\s(up,)\s|\s(with)\s
