Ask Your Question
1

disable hyperlink hyphenation with automatic hyphenation of other text [closed]

asked 2013-09-05 17:09:20 +0100

eudoxos gravatar image

updated 2013-10-22 15:43:14 +0100

manj_k gravatar image

I am using automatic hyphenation for breaking text into paragraph. The text contains some hyperlinks which I would like to keep unbroken for readability (it is not clear if the hyphen is dash in the hyperlink or just a hyphen). Is there an option to disable breaking certain words? Or can I disable hyperlink hyphenation globally?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-07 23:17:50.169156

Comments

Which operating system and LO version are you using? Also, which file format (ODT, DOC/X) are you using?

oweng gravatar imageoweng ( 2013-09-06 01:32:31 +0100 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2013-09-06 01:31:31 +0100

oweng gravatar image

The characters in the hyperlink should be the hyphen-minus (U+002d) character. Automatic hyphenation is used to break words rather than paragraphs i.e., "relative" can become "rel-" at the end of one line and "ative" at the start of the next. Hyperlinks are generally set in the Internet Link character style, but unfortunately character styles do not deal with breaking, as this is handled by paragraph styles. Even taking this into account and with hyphenation turned on (and set to 2 characters) a hyperlink will only break at an existing hyphen (e.g., http://this-and-that.com/) rather than break a lengthy non-hyphenated string (e.g., http://reallylongdomainname.com/). Can you edit your question to provide an example of how the hyperlinks are being broken?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2013-09-05 17:09:20 +0100

Seen: 367 times

Last updated: Sep 06 '13