Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

How to keep www.website.tld from breaking?

Return to Member Forum

  • Author
    Posts
    • #57461
      Roland
      Member

      Thanks to the periods in URLs I can't seem to keep them from breaking when they're at the end of a line. Is there a trick I'm missing?

    • #57462

      (cough) “No Break”? In the Character panel?

      (It's possible to put No Break in a character style and then relentlessly have it applied using a GREP style. However, I would recommend against such a draconic measure, because sometimes URLs can be very very long …)

    • #57463
      Roland
      Member

      Thanks, but that didn't work (I tried before I posted) but now I've got it working; the no break setting's a load of crap when the Adobe Paragraph Composer is turned on. Setting it to Adobe Single-line Composer makes no break behave as it should.

    • #57465

      .. the no break setting's a load of crap when the Adobe Paragraph Composer is turned on.

      Can you expand on that? Perhaps your URLs are too long to fit comfortably on a single line. The Paragraph Composer should try to work around it by distributing the excess space all over the entire paragraph, where the Single-line Composer just gives up, spaces out that one line beyond belief, then merrily continues with the rest of the text.

    • #57485
      Roland
      Member

      I have three lines of text in a 95mm wide text frame (font is Myriad Pro at 8pt). The second line ends with https://www.somesite.com. That URL shouldn't be broken into www. and somesite.com unless the frame's too small to hold the URL in one piece. Unfortunately, even with No Break applied to the entire URL, it breaks unless the entire sentence fits on one line.

      It wouldn't be bad if No Break actually kept the URL in one piece and moved it in its entirity to the next line, but messing up a URL the way it did seriously ticked me off as I had a sort of deadline to meet.

      At least now I know what to look for if No Break doesn't work as expected.

    • #57487
      Tim Hughes
      Member

      I was curious because it didn't sound right, so I tried out what you described. It worked, no break stopped the url from breaking and it was forced down to the next line plus, this was with Paragraph composer on, which is the default and a preferred setting.

Viewing 5 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads