Jump to content
You must now use your email address to sign in [click for more info] ×

How to prevent hyphenation of a specific word?


Recommended Posts

I know how to set hyphenation rules in View > Studio > Paragraph per the attached image. But is there a way to mark a specific word so that it will never be auto-hyphenated by Affinity Publisher? For example, let's say I'm ok with hyphenation that creates 2-letter syllables (such as "hu-man"), but I never want the word "woman" to be hyphenated. Thx

 

 

Screen Shot 2020-04-26 at 19.26.15.png

Link to comment
Share on other sites

45 minutes ago, pomme27 said:

but I never want the word "woman" to be hyphenated.

That may be a bad example, as I don't think Publisher hyphenates "woman" :)

But if it does, or for some other word, you could assign the "no break" attribute to the word (highlight it, select that attribute in the Character studio panel, or assign a Character text style with that attribute).

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

5 hours ago, Fixx said:

or you can place discretionary hyphen in front of the word. That is cmd-shift-hyphen in mac keyboard.

But, it is all manual. Maybe you can find-replace specific words with no-break attribute?

Thanks, Fixx. I tried the discretionary hyphen approach but apparently my test case was too simple to have that work properly. It's good to have confirmation that my memory was correct :)

And yes, Find/Replace would be able to find specific words and give them the no-break attribute.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • 1 year later...
On 4/27/2020 at 9:07 AM, Fixx said:

or you can place discretionary hyphen in front of the word. That is cmd-shift-hyphen in mac keyboard.

But, it is all manual. Maybe you can find-replace specific words with no-break attribute?

Super thank you for the tip Fixx. I'm working with text in Basque language, which does not have an hyphenation dictionary and uses the Spanish one. In basque there are three letter combinations that are not breakable (ts, tx and tz) and that does not exist in Spanish hyphenation rules. It was a pain in the… mouse to manually search and re-hyphen it one by one. Search and replace made it perfectly with no-break attribute!!! even searching only for the two letters (no whole word needed)

On InDesign I used GREP styles to detect it automatically on the go. On Publisher there is no similar option (for now I hope) , but this will serve fine. So thank you very much again. You saves me hours of work.

Link to comment
Share on other sites

  • 1 year later...

Hi. My english is very limited, sorry.

Solution for hyphenation in Basque (Euskera):

  1. https://affinity.help/publisher/en-US.lproj/index.html?page=pages/Text/hyphenationInstalling.html?title=Installing hyphenation dictionaries
  2. https://extensions.libreoffice.org/en/extensions/show/xuxen-iv-basque-eu-eu-es-eu-fr-spell-checker-for-libreoffice
  3. Rename the folder with the name "eu" (without the quotes)

Today I found this solution and it seems to work fine.

Captura de pantalla 2022-11-13 a las 3.22.35.png

Captura de pantalla 2022-11-13 a las 3.28.44.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.