Ask Your Question
0

Enabling hyphenation for hyperlinks?

asked 2017-12-09 18:35:51 +0100

marcom gravatar image

Hey there,

I formatted my footnotes in a writer document with justification. To maintain the layout, I have activated hyphenation. The problem is that the hyphenation doesn't work for hyperlinks. There are always horrible gaps in the layout. Is Libreoffice not able to separate hyperlinks so that it suits the layout? Is it possible to do this automatically? I don't care at which point the links are broken. All I care about is the layout. Thank you very much!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-12-09 21:05:27 +0100

floris v gravatar image

Works for me, urls aren't converted to hyperlinks in the footnote area, but they're still hyphenated. Make sure that the hyphenation settings in the corresponding paragraph styles match what you want - hyphenation on, and enough characters at start and end of line to allow hyphenation. That's on Versie: 5.4.1.2, Windows 10. Maybe you have another version that doesn't allow it.

edit flag offensive delete link more

Comments

I'm using Libreoffice 5.4.3. Hyphenation is indeed also working for me, but it follows some sort of internal logic. Accordingly, a url is not separated at any point, but only at certain characters such as "-". However, this often leads to ugly formatting in justification. I would like LibreOffice Writer to perform hyphenation at any point on a url so that the formatting is always perfectly maintained and there are no ugly spaces. BTW, I have deactivated automatic conversion of urls to hyperlinks

marcom gravatar imagemarcom ( 2017-12-10 09:09:28 +0100 )edit
1

I tested again, both in 5.4 and 6.0 beta, and found that it does indeed prefer to break at hyphens in the url, and it doesn't break anywhere else. That's in live links and in plain text urls. But after applying Tools - Language - Hyphenation, Hyphenate all, it suddenly breaks in the middle of a word.

floris v gravatar imagefloris v ( 2017-12-10 14:43:34 +0100 )edit

Indeed, this helps a little bit but it still does not work as intended. I guess LibreOffice is not equipped for this sort of thing... Thank you for your help!!

marcom gravatar imagemarcom ( 2017-12-10 19:22:10 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-09 18:35:51 +0100

Seen: 143 times

Last updated: Dec 09 '17