Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Creating hyperlinks from URLS on two lines

Explorer ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

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.

Screenshot 2017-05-02 14.58.49.png

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?

Views

1.8K

Likes

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

Adobe Community Professional , May 02, 2017 May 02, 2017
I do! Try our https://www.id-extras.com/products/hyperlinkproHyperlink Pro | Id-Extras.com Sounds like it's tailor-made for people like you Ariel

Likes

Translate

Translate
Adobe Community Professional ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

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

Likes

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
Explorer ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

Thanks, Ariel, I will test this right away.

Likes

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
Explorer ,
May 02, 2017 May 02, 2017

Copy link to clipboard

Copied

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.

Likes

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
Adobe Community Professional ,
May 03, 2017 May 03, 2017

Copy link to clipboard

Copied

michelenelson59  wrote

I had to go through and remove the forced line breaks I inserted, but once I did that, it worked fine.

Ah - well that sounds like the answer to your original question. The forced line breaks are what were messing up the 2-line hyperlinks. So replacing those with a discretionary line break character should solve that problem without the use of any script!

Ariel

Likes

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
Explorer ,
May 03, 2017 May 03, 2017

Copy link to clipboard

Copied

Actually, I do still need the script. Without it, the auto-generated hyperlinks for two line URLS still don't work.

For example, this text:

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

/fast15/fast15-paper-aghayev.pdf

Produces this link:

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

Likes

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
New Here ,
Dec 03, 2020 Dec 03, 2020

Copy link to clipboard

Copied

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

Likes

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
New Here ,
Sep 08, 2021 Sep 08, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

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
Adobe Community Professional ,
Dec 03, 2020 Dec 03, 2020

Copy link to clipboard

Copied

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 )

Likes

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