-
1. Re: How to use GREP to find one particular word with automatic hyphen?
John Mensinger Mar 26, 2010 5:42 AM (in response to jkdsfsdg;dsghhfdd)Using your example:
Find: Wo~rd
-
2. Re: How to use GREP to find one particular word with automatic hyphen?
jkdsfsdg;dsghhfdd Mar 26, 2010 5:47 AM (in response to John Mensinger)No, it doesn't work.
-
3. Re: How to use GREP to find one particular word with automatic hyphen?
P Spier Mar 26, 2010 6:20 AM (in response to jkdsfsdg;dsghhfdd)What do you mean by an "automatic" hyphen? Are you talking about hyphens inserted by ID to break a word according to the hypenation settings in order to fit a line?
Are you looking for a particular word, or just any word that has such a hyphen? What are you trying to do once you find it?
-
4. Re: How to use GREP to find one particular word with automatic hyphen?
jkdsfsdg;dsghhfdd Mar 26, 2010 6:24 AM (in response to P Spier)Yes, I am looking for particular word with hyphen inserted by ID to break a word according to the hypenation settings in order to fit a line.
I know this particular hyphenation is wrong, so I would like to find it and change it.
-
5. Re: How to use GREP to find one particular word with automatic hyphen?
P Spier Mar 26, 2010 6:39 AM (in response to jkdsfsdg;dsghhfdd)I think you might do better to edit the hyphenation in the Dictionary.
One reason words hyphenate incorrectly is the wrong language has been applied. Both spell checking and hyphenation rules are governed by the language selected for the text, and language is a character-level attribute so that you can select inidvidual words and assign a different language to them if you like.
If that's the probelm here, you can look for the word using find/change (without worying about the hyphen) and change the language for all instances.
In either case you will be far better off fixing the problem on a global scale in the document than you will be finding a particular instance of that word at the end of a line. Any editing you do in the future may cause the problem to reappear somewhere else.
-
6. Re: How to use GREP to find one particular word with automatic hyphen?
Harbs. Mar 26, 2010 6:39 AM (in response to jkdsfsdg;dsghhfdd)GREP will not help. You'll need a script.
Search the forums. If I'm not mistaken we've written scripts which
handle this...
Harbs
-
7. Re: How to use GREP to find one particular word with automatic hyphen?
jkdsfsdg;dsghhfdd Mar 26, 2010 6:45 AM (in response to P Spier)Even if I will edit the hyphenation in the Dictionary, I would like to SEE the change since there is very complex layout...
-
8. Re: How to use GREP to find one particular word with automatic hyphen?
P Spier Mar 26, 2010 6:55 AM (in response to jkdsfsdg;dsghhfdd)Youcan use find/change to locate every instance of the word and step though the entire document to examine them all. That shouldn't really be necessary, though. If it's hyphenating correctly in one place it should be doing so everywhere.
-
9. Re: How to use GREP to find one particular word with automatic hyphen?
jkdsfsdg;dsghhfdd Mar 26, 2010 7:02 AM (in response to P Spier)It bothers me since the word is there say 300 times and hyphenated is just very few times.



