Word wrapping issues
Word wrapping issues
Hi Folks,
I've tried to edit the white-space setting so that words don't wrap with a hyphen at the end of a line, but rather carry over to the next line. When I set the white-space to 'nowrap' the lines go beyond the edge of the page on print output. I thought the mc-hyphen setting would solve this but it just removes the hyphen, the word still wraps at the end of a line.
How do I resolve this? To recap, I want the words to be carried over to the next line, not wrapped with a hyphen in the middle.
Thanks,
Niall.
I've tried to edit the white-space setting so that words don't wrap with a hyphen at the end of a line, but rather carry over to the next line. When I set the white-space to 'nowrap' the lines go beyond the edge of the page on print output. I thought the mc-hyphen setting would solve this but it just removes the hyphen, the word still wraps at the end of a line.
How do I resolve this? To recap, I want the words to be carried over to the next line, not wrapped with a hyphen in the middle.
Thanks,
Niall.
Re: Word wrapping issues
Anyone?
-
ChoccieMuffin
- Senior Propellus Maximus
- Posts: 2650
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Word wrapping issues
That's very odd behaviour. Have you made changes in the right medium? I often find that's the cause of style problems.
If you don't want any hyphens anywhere, in the PRINT medium, in the body style set mc-hyphenate to never.
If you don't want any hyphens anywhere, in the PRINT medium, in the body style set mc-hyphenate to never.
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Re: Word wrapping issues
Yes, that removes the hyphen but the word is still split over two lines. That's what I'm trying to avoid.
-
Nita Beck
- Senior Propellus Maximus
- Posts: 3672
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Word wrapping issues
Would using a nonbreaking hyphen solve the problem?
Nita

RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: Word wrapping issues
Where can I select that?
I've looked at the help, again, it mentions editing the 'p' text with the following step:
"In the local toolbar of the editor, click the properties icon. The Properties dialog opens."
I don't have this properties icon. Right clicking the 'p' tag doesn't offer the option. Does anyone know where it is?
I've looked at the help, again, it mentions editing the 'p' text with the following step:
"In the local toolbar of the editor, click the properties icon. The Properties dialog opens."
I don't have this properties icon. Right clicking the 'p' tag doesn't offer the option. Does anyone know where it is?
-
ChoccieMuffin
- Senior Propellus Maximus
- Posts: 2650
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Word wrapping issues
I'm assuming you have a sentence or phrase with spaces in, and the last word is splitting. My thought here is that your spaces are non-breaking, so that Flare thinks that "This is a sentence with lots of words" is just one word - "This.is.a.sentence.with.lots.of.words" (where in this example the full stop stands for a non-breaking space).
To check this, look in the Text Editor and check what's between the words. If you have &160; instead of a bog-standard space, then that's the cause of your troubles. Replace the non-breaking spaces with regular ones and Bob should be your uncle.
Other than that, I don't know what to suggest. Good luck!
To check this, look in the Text Editor and check what's between the words. If you have &160; instead of a bog-standard space, then that's the cause of your troubles. Replace the non-breaking spaces with regular ones and Bob should be your uncle.
Other than that, I don't know what to suggest. Good luck!
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
-
Nita Beck
- Senior Propellus Maximus
- Posts: 3672
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Word wrapping issues
Perhaps I've misunderstood the issue. (Sorry.) Are you looking for a way to not break hyphenated words across two lines? Or are you looking for a way not to automatically hyphenate any words?
Nita

RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: Word wrapping issues
If you have definitely set mc-hyphenate to never, and it's definitely set in the right medium, but you are still getting a line break mid-word (albeit now without the hyphen) then I'm with Choccie Muffin. I suspect that Flare has made the line break where it has because it absolutely cannot fit a single extra character on the line, and Flare genuinely thinks it can't break anywhere else before that. So I would definitely check that you don't have non-breaking spaces between words, instead of ordinary spaces, on that line. It's easy to type these by mistake - the key combination in Flare for a non-breaking space is Shift + Space.
Another thing to consider is this. Are the words that are giving you trouble set as variables? I've found that variables don't always obey hyphenation rules.
Also, out of interest, is this happening to lots of sentences in many topics, or just to one particular sentence in one topic? And what is your output type? PDF? You may like to post a screenshot of what's going wrong too. Someone may spot something suspicious there.
Another thing to consider is this. Are the words that are giving you trouble set as variables? I've found that variables don't always obey hyphenation rules.
Also, out of interest, is this happening to lots of sentences in many topics, or just to one particular sentence in one topic? And what is your output type? PDF? You may like to post a screenshot of what's going wrong too. Someone may spot something suspicious there.
Marjorie
My goal in life is to be as good a person as my dogs already think I am.
My goal in life is to be as good a person as my dogs already think I am.
-
Lydia
- Sr. Propeller Head
- Posts: 373
- Joined: Tue Apr 23, 2013 3:19 am
- Location: The Netherlands, Amsterdam Area
Re: Word wrapping issues
A nonbreaking hyphen is inserted by using (from the Ribbon) Insert > Character So this is not an overall (style) setting, but you have to do this at places, where you want a nonbreaking hyphen to appear.niall77 wrote:Where can I select that?
I've looked at the help, again, it mentions editing the 'p' text with the following step:
"In the local toolbar of the editor, click the properties icon. The Properties dialog opens."
I don't have this properties icon. Right clicking the 'p' tag doesn't offer the option. Does anyone know where it is?
Re. properties icon: you'll find this in the style sheet editor, only when in simplified view. (sorry for the enormous arrow, I quickly added the default one from the pallet, which is big)
You do not have the required permissions to view the files attached to this post.
Using Flare 10.2 and Flare 11 on Win 7
Re: Word wrapping issues
Hi Folks,
1. Setting mc-hyphenate to never just removes the hyphen. The word still breaks. I do not want this, I want the word to remain whole and move to the next line if possible.
2. I changed the properties of the "Enable Hyphenation" to 'never'. It still does the same as above; it just removes the hyphen but the word still splits.
3. I've checked the paragraph's structure by looking at the source code. I do not see any &160.
Regards,
Niall.
1. Setting mc-hyphenate to never just removes the hyphen. The word still breaks. I do not want this, I want the word to remain whole and move to the next line if possible.
2. I changed the properties of the "Enable Hyphenation" to 'never'. It still does the same as above; it just removes the hyphen but the word still splits.
3. I've checked the paragraph's structure by looking at the source code. I do not see any &160.
Regards,
Niall.
Re: Word wrapping issues
Firstly, don't use white-space: nowrap, as the purpose of that setting is to prevent text wrapping - just remove that setting altogether.
See: http://www.w3schools.com/cssref/pr_text_white-space.asp
If you start with a blank stylesheet, then the default behaviour is to wrap text at spaces and not use hyphens.
So I guess the question is, what have you set in the CSS that has changed this?
See: http://www.w3schools.com/cssref/pr_text_white-space.asp
If you start with a blank stylesheet, then the default behaviour is to wrap text at spaces and not use hyphens.
So I guess the question is, what have you set in the CSS that has changed this?
Re: Word wrapping issues
Hi Dave,
No, that didn't work. Setting 'no wrap' leads to the line running outside the margins of the page with some words cut off from the PDF output. All other options in that setting include the hyphen.
Thanks,
Niall.
No, that didn't work. Setting 'no wrap' leads to the line running outside the margins of the page with some words cut off from the PDF output. All other options in that setting include the hyphen.
Thanks,
Niall.
Re: Word wrapping issues
I know it doesn't work - I said don't use the white-space setting (at all), because you mentioned that you had set it in your original post.
There are other CSS settings such as word-wrap and word-break; but I'm not sure if they apply to Flare-generated PDFs.
The default behaviour isn't to split words, so perhaps give a bit more information about what you've done - i.e. what have you set in the CSS, and does it apply to all or just some words?
There are other CSS settings such as word-wrap and word-break; but I'm not sure if they apply to Flare-generated PDFs.
The default behaviour isn't to split words, so perhaps give a bit more information about what you've done - i.e. what have you set in the CSS, and does it apply to all or just some words?
Re: Word wrapping issues
I don't recall changing anything apart from the font, font size and things like that with the original default style sheet. I certainly didn't set anything like splitting of words at the end of the line. I can't see any specific words it applies to as such, there are so many that it's difficult to ascertain a pattern.
I just thought there'd be a simple configuration item in the CSS as other tools have.
I just thought there'd be a simple configuration item in the CSS as other tools have.
Re: Word wrapping issues
I got a workaround it by editing the minimum length of a word before it's hyphenated to be something unrealistic like 20 characters.
Re: Word wrapping issues
Where do you set the minimum length of a word? I'm also having hyphenated word wrapping issues. Thanks in advance
-
Feebeegeebee
- Sr. Propeller Head
- Posts: 213
- Joined: Wed Aug 08, 2012 8:38 am
- Location: UK
Re: Word wrapping issues
If you're in the Stylesheet Editor and in the Simplified View (you should see "View: Simplified" in the toolbar):
Hope that helps.
Feebeegeebee
- - Select the drop-down in the upper-left corner of the editor and choose Show Paragraph Styles.
- Select the appropriate paragraph style, right mouse click and then choose Properties.
- Click on the Hyphenation tab in the Properties Editor.
- You can then specify the Length of shortest word that should be hyphenated
Hope that helps.
Feebeegeebee
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
Using Flare 2022 on Windows 11 (64-bit)
-----------------------------------------------------
Re: Word wrapping issues
Yeh, I think that fixed it. I just checked the output and it doesn't hyphenate anymore. The fix is actually a hard find!! I would definitely not have found it otherwise. Thanks for sharing.
-
katrinabmg
- Jr. Propeller Head
- Posts: 7
- Joined: Wed Feb 22, 2017 9:22 am
Re: Word wrapping issues
I had success giving the body tag a css property of mc-hyphenate: never.
To do this:
view the css -> View:Advanced
find and select the body tag.
In the Add property window on the right, add mc-hyphenate, and set the value to never.
To do this:
view the css -> View:Advanced
find and select the body tag.
In the Add property window on the right, add mc-hyphenate, and set the value to never.