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

Installation database is corrupt

Error compiling for board Arduino/Genuino Uno.

Nogen der kender et simpelt hvidt template med topmenu kun - Joomla! Forum - community, help and support