non-breaking hyphen getting lost?

This forum is for all Flare issues related to importing files or projects.
Post Reply
pdxwordsmith
Sr. Propeller Head
Posts: 100
Joined: Thu Oct 30, 2008 2:12 pm
Location: Portland, OR

non-breaking hyphen getting lost?

Post by pdxwordsmith »

Frame 7, Flare 4.1, WebHelp output

I use a lot of non-breaking hyphens in my content (because the product name includes a hyphen ("on-Q")). I use "Esc hyphen h". It appears that Flare drops these hyphens completely, so I end up with "onQ".

Anyone else experienced this? Workarounds?

Thx
Hanna

Flare 6.1.0, WebHelp, PDF, and Word targets, sometimes import from FM 8.0p277 and 9.0p196
Submit bugs and feature requests here: http://www.madcapsoftware.com/bugs/submit.aspx
carolynmwallace
Sr. Propeller Head
Posts: 168
Joined: Thu Jan 31, 2008 12:21 pm
Location: Durham, NC

Re: non-breaking hyphen getting lost?

Post by carolynmwallace »

pdxwordsmith wrote:Frame 7, Flare 4.1, WebHelp output
So when you add "Esc hyphen h" are you in Frame or Flare? Because I think that command is only in Frame, not in Flare.

I haven't been able to find any info on non-breaking hyphens in Flare. However, one way to achieve the same effect in Flare would be to create a span style with the "white-space" attribute "nowrap" and then apply that to "On-Q." So in your Flare text editor you'd see something like:

<span class="NonBreaking">On-Q</span>

This tells Flare (and browsers, etc.) not to allow this hyphenated word to break over a line.

You could also save "On-Q" with this special formatting as a snippet.
pdxwordsmith
Sr. Propeller Head
Posts: 100
Joined: Thu Oct 30, 2008 2:12 pm
Location: Portland, OR

Re: non-breaking hyphen getting lost?

Post by pdxwordsmith »

The non-breaking hyphen is in Frame, but gets lost in the conversion to Flare. I'm not yet ready to abandon Frame, so I can't really use snippets (already checked into that since variables lose their formatting on conversion to Flare).

Thx.
Hanna

Flare 6.1.0, WebHelp, PDF, and Word targets, sometimes import from FM 8.0p277 and 9.0p196
Submit bugs and feature requests here: http://www.madcapsoftware.com/bugs/submit.aspx
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: non-breaking hyphen getting lost?

Post by bonnie »

I use a lot of non-breaking hyphens in my content (because the product name includes a hyphen ("on-Q")). I use "Esc hyphen h". It appears that Flare drops these hyphens completely, so I end up with "onQ".

Anyone else experienced this? Workarounds?
I am also in the same boat, having a number of terms that use hyphens in my documents. I worked on this for quite some time, and unfortunately came to the conclusion that there is no way to get a non-breaking hyphen in Flare that converts over to FrameMaker.
Sorry for the bad news.
Bonnie
GregStenhouse
Sr. Propeller Head
Posts: 330
Joined: Tue May 13, 2008 3:27 pm
Location: Christchurch, New Zealand

Re: non-breaking hyphen getting lost?

Post by GregStenhouse »

Suggest sending a bug report through to MadCap. Until it is fixed, you could use a PassThrough marker with the text


Cheers
Greg
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: non-breaking hyphen getting lost?

Post by bonnie »

Suggest sending a bug report through to MadCap. Until it is fixed, you could use a PassThrough marker with the text
Hi Greg,
I know you posted this months ago, but could you please explain to me what a PassThrough marker is?
Thanks,
Bonnie
GregStenhouse
Sr. Propeller Head
Posts: 330
Joined: Tue May 13, 2008 3:27 pm
Location: Christchurch, New Zealand

Re: non-breaking hyphen getting lost?

Post by GregStenhouse »

Passthrough markers can be used if importing from FrameMaker to Flare. In FrameMaker you set up a marker called PassThrough. In the marker you enter raw XHTML code, and Flare will "pass through" that code untouched into Flare. It is really useful and quite powerful, a few possible examples: you can reference a graphic by typing <a href="xyz.gif" /> , create mini TOCs by entering <MadCap:miniTocProxy class="" />, and as mentioned in this thread, enter the HTML code for a symbol.

Cheers
Greg
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: non-breaking hyphen getting lost?

Post by bonnie »

Gregg,
Thanks very much for your explanation of a PassThrough marker.
This information will be very helpful to me.
Bonnie
dtmenges
Propeller Head
Posts: 97
Joined: Tue Oct 28, 2008 6:38 am
Location: Goshen, IN
Contact:

Re: non-breaking hyphen getting lost?

Post by dtmenges »

Is this still a problem in 5.0.1?

While I am an experienced Frame user I have not used pass-through markers. Does this technique require replacing all non-breaking hyphens with the marker?

GregStenhouse wrote:Passthrough markers can be used if importing from FrameMaker to Flare. In FrameMaker you set up a marker called PassThrough. In the marker you enter raw XHTML code, and Flare will "pass through" that code untouched into Flare. It is really useful and quite powerful, a few possible examples: you can reference a graphic by typing <a href="xyz.gif" /> , create mini TOCs by entering <MadCap:miniTocProxy class="" />, and as mentioned in this thread, enter the HTML code for a symbol.

Cheers
Greg
bonnie
Sr. Propeller Head
Posts: 158
Joined: Wed May 14, 2008 4:00 pm

Re: non-breaking hyphen getting lost?

Post by bonnie »

While I am an experienced Frame user I have not used pass-through markers. Does this technique require replacing all non-breaking hyphens with the marker?
What I was trying to do was to get non-breaking hyphens to go from Flare to Frame output. There is no way to do it.
Pass-through markers did not work for me. I gave up on trying to export to FrameMaker for this reason. I am working on going straight to PDF instead.

Sorry for the bad news. If this has been fixed lately, I haven't heard about it.
Bonnie
Post Reply