How can find hyphenated word?


hi all

 

this word "nineteenth-century" hyphen. , in indesign hyphenates again "nine-teenth-century" or "nineteenth-cen-tury". how can find such words in javascript??.

 

many thanks

 

hakkim

in cs3 , later find hyphenated words using grep expression "\\w+-\\w+"

to find out if break across lines, check if first , last characers on same line, example comparing baseline values.

 

peter



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???