Skip navigation
Currently Being Moderated

Formatting URLs

May 19, 2013 2:19 PM



I'm wondering how to format a long url. I want it to be allowed to break

at the end of the line anywhere within the URL, without adding a hyphen. So:




would be fine.


I've tried creating a character style with the language set to [No

Language] but that doesn't seem to do the trick. If I disable

hyphenation in the paragraph containing the URL, things are better, but

the cost is rather high. I'd rather not disable hyphenation.


I'd also prefer not to have to add discretionary breaks of one sort or

another if avoidable.


Finally, for my scripting brethren, I found this intriguing property:



Data Type: Boolean

Adobe InDesign CS6 (8.0) Object Model

If true, words unassociated with a hyphenation dictionary can break to

the next line on any character.


But applying it to some selected text by running this line of script


app.selection[0].allowArbitraryHyphenation = true;


doesn't seem to achieve anything at all.


Any help would be appreciated.





  • Currently Being Moderated
    May 19, 2013 2:34 PM   in reply to [Ariel]

    Have you tried playing a bit with tracking? It's a little tricky but in some situations it helps.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points