Skip to main content
Inspiring
September 18, 2008
Answered

turn off hyphenation throughout a document

  • September 18, 2008
  • 16 replies
  • 233055 views
Is there a checkbox that will turn OFF hyphenation throughout a whole document, or an easy way to disable hyphenation?
Correct answer MT.Freelance
CS/CS2

For NEW documents:

With no documents open, go to your paragraph palette/panel. From the palette menu, select Hyphenation. Deselect the option box.

If you have any paragraph styles pre-defined, be sure to change the setting within them, too.

This sets your default for all new documents.

For EXISTING documents:

You can change the hyphenation option for all new text frames by repeating the step above with a file open and nothing selected. This will not alter existing frames.

Next, edit all your paragraph styles, to change the hyphenation option, if you use them. This will alter all paragraphs using the paragraph styles.

Finally, select all text frames and repeat the steps above.

Other:

Find someone to script it for your (if it hasn't already been done).

HTH

-mt

16 replies

GraphicDesigner0001
Participant
August 1, 2018

Turning off Hyphenation by default. Can it be done?

For New Documents, Yes! For existing documents, No! That would have to be done manually by the user each existing document one at a time.

This is for Adobe CC 2018 but may work for older versions:

Make sure no documents are opened. Better close indesign and re-open it just to make sure.

1) In top menu click on TYPE>PARAGRAPH

2) Top right corner of Paragraph menu is a flyout menu. Click that!

3) Choose HYPHENATION

4) De-activate it by unchecking the "tick" box.

5) Press OK to make sure settings take effect.

Again NEW documents will now auto hyphenate by default. Older documents will have to be changed manually.

-Cheers!

BTW -CorelDraw Graphics Suite has this setup correctly by default!

SumitKumar
Inspiring
December 25, 2016

Turn off hyphenation from all paragraph style.

var doc = app.activeDocument;

var pStyle = doc.allParagraphStyles;

for (i=1; i<pStyle.length; i++){

    pStyle.hyphenation = false;

    };

doc.stories.everyItem().texts[0].hyphenation = false;

Sumit

-Sumit
Participant
December 8, 2016

i haven't tried this but i wonder if you select multiple text boxes, if you could turn hyphenation off on all of them at once?

Participant
October 21, 2015

Hello Can you Explain what I would need to do to eliminate hyphenation throughout an indesign document? We convert print to Epub format and even if we select "Remove forced line breaks" we still must manually verify the document does not have unnecessary hyphens. Is it possible to select all the paragraph styles at once and remove hyphenation? Or must it really be done one by one? You mention using a script to do this? Where might such a script be found and second how to run it in Indesign CC 2014? Thank You.

Peter Spier
Community Expert
Community Expert
October 21, 2015

Uwe Laubender's script above at Re: turn off hyphenation throughout a document should do want you want. Just copy it to a plain text editor and save as TurnHyphenationOFF_Stories_Footnotes_PlainTables.jsx (or another name of your choice, but be sure you use the.jsx extension), then install it into your scripts panel (see How to install scripts in InDesign | InDesignSecrets ) and double click it to run.

Test it on a copy of your file for safety.

Community Expert
October 21, 2015

Thank you Peter for mentioning that script.

For a start we could narrow its scope to plain stories. No footnotes and tables included.

That would be a one line script (JavaScript / ExtendScript) for the active document:

app.documents[0].stories.everyItem().texts.everyItem().hyphenation = false;

It is undoable in one go, because there is just one simple action.

However using no hyphenation could bear side effects like permanently overset text frames.

Uwe

Participant
January 19, 2015

None of the heavy lifting is really necessary to change the Hyphenation.

Just go to the paragraph palette that MT.Freelance has suggested and change the minimum number of characters it takes to activate hyphenation. For instance, if your paragraph style says you need at least 5 characters in a word before InDesign tries to  hyphenate, just change that number to 10. What you're saying is don't even try to break up the word unless it has 10 letters. I could change it to 30 and that would eliminate all hyphenation ... unless you're a doctor using medical terms.

Peter Spier
Community Expert
Community Expert
January 19, 2015

How is changing the hyphenation limit in the style definition faster of better than unchecking the hyphenate box in the same dialog, which was already suggested?

The scripting solutions would probably be faster in a file with a lot of styles.

Participant
January 19, 2015

Hello Peter.

I timed it out. Your solution of unchecking the box is 3 seconds faster. But that doesn't address my own personal preference of hyphenating words like disconnection and recapitulation. These words can be cumbersome in certain parts of a sentence. So I don't want to sink the boat completely. I just want to glide lower in the water.

Participant
June 24, 2013

Yes, I don't understand why Adobe had to make InDesign more "quarky" because a lot of us appreciated InDesign because it WASN'T quark-like.  I hate frames...and hyphenation should be found in the paragraph settings like it used to be!!

Choose to show Paragraph Styles (F11), or choose Paragraph Styles under the "Type" menu.  Make sure your cursor is in the paragraph where you want to turn the hyphenation off. 

Look at the "Basic Paragraph" item in the Styles box (or whatever style you're using).  If it has a plus sign next to it, you have modified this style.  Right click on the name, and choose Redefine Style.  If there is no plus sign, go to the next step.

Choose Edit [style name].  In the Paragraph Style Options, choose Hyphenation from the options in the left panel.  Uncheck the word Hyphenate.

Close the dialog box, and all hyphenation will be turned off.

Participating Frequently
September 22, 2008
>InDesign can do it too!

I still would like the VenturaFrameMaker ability to amend multiple styles at once.
January 26, 2010

Just found this post looking for an answer to my question, and I'm gutted, i would really have liked for there to be a way to turn off all the hyphenation in all the text boxes that have already been created within a document....now I'm going to have to go through 100's of pages, selecting all and turning off the hyphenation. And while i always use paragraph styles and the like, sadly the person who created this document did not. Grr.

Peter Spier
Community Expert
Community Expert
January 26, 2010

If they didn't use another style, then everything will be styled with [Basic Paragraph] with local overrides (unless this is a really old file from the pre-Basic Paragraph days), so editing the [Basic Paragraph] style to tun off hyphenation ought to work.

Inspiring
September 22, 2008
Harbs,

Your one-liner doesn't catch text in tables.

Dave
Harbs.
Legend
September 22, 2008
Hi Dave,

Tables, tables, tables... Maybe if I repeat it enough times, I'll
actually remember about them! ;)

--
Harbs
http://www.in-tools.com
Sandee Cohen
Legend
September 22, 2008
Sorry Rodney,

I wasn't clear.

I didn't mean paragraph alignment justification.

I meant the Justification controls as found in the Paragraph > Justification controls.

This doesn't make any sense that we can't search for all paragraphs with a certain justification Min or Maximum amound.

Or to search for all paragraphs set to hyphenation off.

I really don't understand this at all.
Participating Frequently
September 22, 2008
> However, a feature that Corel Ventura has would be useful. In that app, you can select multiple styles and change properties for all of them at once. For example, I could select all paragraph styles and turn off hyphenation in them all at once.

FrameMaker has this abilty too, though it lacks based-on styles.

Regards,

Peter Gold
KnowHow ProServices
Harbs.
Legend
September 22, 2008
InDesign can do it too! ;)

app.documents[0].stories.everyItem().hyphenation=false;

--
Harbs
http://www.in-tools.com
"Automated Publishing for the Rest of Us!"
December 5, 2013

I try the script, but doesn't work in table, how can also turn off hyphenation in table's text with javascript?