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

Problem with all comment components. - Joomla! Forum - community, help and support

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

Perplessità: Help me please :) - Joomla! Forum - community, help and support