Skip to main content
Participating Frequently
May 2, 2017
Answered

Creating hyperlinks from URLS on two lines

  • May 2, 2017
  • 3 replies
  • 5893 views

Our technical journal contains a lot of long URLs that break between two lines.

When I attempt to create hyperlinks from these URLS, the result contains a space where the line break occurs, so I have to go back and edit them all manually to remove the space so the link will work in the exported PDF. This is extremely time-consuming and annoying and I don't want to do it!

For example, this text:

https://www.usenix.org/system/files/conference

/fast15/fast15-paper-aghayev.pdf

Creates this hyperlink:

https://www.usenix.org/system/files/conference/fast15 /fast15-paper-aghayev.pdf

Here is an example of what the formatted text looks like.

I have tried letting Acrobat create the hyperlinks from the URLS, but I get the same result, a space in the hyperlink where the line break occurs.

Does anyone have any suggestions for me?

This topic has been closed for replies.
Correct answer Raphael0101

There might be an easier solution for you and anyone who had this issue, like me. Just put the URL between < >. It worked for me

3 replies

Community Expert
December 3, 2020

Hi Raphael,

would you be so kind to share a sample document where you are using this solution with enclosing < > brackets?

Best put in on Dropbox or a similar service and post the download link.

 

Thanks,
Uwe Laubender

( ACP )

Raphael0101Correct answer
Participant
December 3, 2020

There might be an easier solution for you and anyone who had this issue, like me. Just put the URL between < >. It worked for me

Participant
September 8, 2021

Brilliant! This solved my problem, thanks so much!!!

TᴀW
Legend
May 2, 2017

I do! Try our https://www.id-extras.com/products/hyperlinkpro

Hyperlink Pro | Id-Extras.com

Sounds like it's tailor-made for people like you :-)

Ariel

id-extras.com | InDesign tools & scripts for typesetters, form designers, and translators
Participating Frequently
May 2, 2017

Thanks, Ariel, I will test this right away.

Participating Frequently
May 2, 2017

I downloaded the free version as a test. I had to go through and remove the forced line breaks I inserted, but once I did that, it worked fine.

I assume I can change my forced line breaks to discretionary line breaks with a grep find/change so I don't have to remove them all.

I'll test this a bit more, but it looks like it might be just what I need.