• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

URLs in small column make text disappear: How to force break only URLs (no hyphenation)?

Engaged ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Hello,

As a contrived example, I have this url:

https://www.google.com/search?ei=5VFtW-jWN8fC0PEP9LGp4AM&q=Adobe+Indesign&oq=Adobe+Indesign&gs_l=psy...

I am trying to put it in a 3-column master text frame.

Unfortunately, it only shows a small portion:

Screenshot 2018-08-10 01.52.31.png

How can I force just the URL to break no matter the character?

I am aware of discretionary line breaks; I would prefer to not manually insert these as this is for an appendix with many URLs (and other text).

I'm running Indesign CC 13.1. Oddly, I don't remember having this issue in previous versions of Indesign.

Thanks for your help!

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Aug 10, 2018 Aug 10, 2018

Hi Micky

I think you should be able to perform the GREP search and replace as explained in the article, but just remember to include the character style sheet you have created for underlining hyperlinks in the 'Find' field.

Votes

Translate

Translate
People's Champ ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

My https://www.id-extras.com/products/hyperlinkpro  (not free) will insert the discretionary line breaks for you, and in the optimal place from a spacing point of view, plus it respects the Chicago Manual's rules about where URLs are allowed to be broken.

May be worth checking out.

Ariel

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Tá´€W  wrote

My https://www.id-extras.com/products/hyperlinkpro  (not free) will insert the discretionary line breaks for you, and in the optimal place from a spacing point of view, plus it respects the Chicago Manual's rules about where URLs are allowed to be broken.

May be worth checking out.

Thanks Ariel! I will check it out!

In this case, I just need the url to break irrespective of any conventions... basically, I don't want my text to disappear and am not worried about rules per se. Don't get me wrong, I used to work at a newspaper so I am all for rules, but in this case, I just want only the URLs to force wrap ... They should always start on a newline, so the part of the URL that is problematic is the bits after the TLD/.com.

Oddly enough, I swear that I never noticed this problem with Indesign in recent previous versions. Strange.

Thanks for your help!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Marie_D  wrote

This tip might also help:

https://indesignsecrets.com/breakinglines.php

Thanks Marie! That totally helped!!!

Unfortunately, I need to only apply the discretionary line breaks to URLs.

Can I do this with a character style? I already have a character style that underlines hyperlinks .... Perhaps it could also apply a discretionary line break to each character in the matched character style?

I'm almost thinking Hyperlink Pro plugin might do trick. On the other hand, I just need a simple script that will insert discretionary line breaks for URLs only ... I'm decent at scripting, so it seems like a simple jsx script would do the trick.

Again though, not to sound like a broken record, but I don't remember having this issue in previous versions of Indesign. Hahah.

Thanks for your help Marie, I greatly appreciate it!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Hi Micky

I think you should be able to perform the GREP search and replace as explained in the article, but just remember to include the character style sheet you have created for underlining hyperlinks in the 'Find' field.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

Marie_D  wrote

I think you should be able to perform the GREP search and replace as explained in the article, but just remember to include the character style sheet you have created for underlining hyperlinks in the 'Find' field.

Oh yah? Shoot, that would be cool! I only played with it a little, and couldn't think of a way to add discretionary line break after each character of the matched grep. I was late at night though, so I'll give it another shot and report back my findings! Thank you so much for your help and motivation!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 10, 2018 Aug 10, 2018

Copy link to clipboard

Copied

LATEST

Ah, cool! You were right Marie! I just had to limit the grep to applied the character style:

Screenshot 2018-08-10 10.23.16.png

Awesome! Thanks again for the help Marie and Ariel!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines