Prevent hyphens being inserted into words in PDF output

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Psider
Propellus Maximus
Posts: 902
Joined: Wed Jul 06, 2011 1:32 am

Prevent hyphens being inserted into words in PDF output

Post by Psider »

Hi all,

I've noticed that hyphens are being inserted into long "words" when generating direct to PDF. I want to prevent this, as the "words" in question are code snippets, and the hyphen could be misconstrued. I just want the lines to wrap at the spaces between the words.

Any suggestions on how to turn this off? I've looked in my Target settings and can't see anything that looks relevant. Additionally, the hyphens aren't added when converting to PDF via Word (but I haven't figured out how to get the styles to look any good in that output).

Thanks,
Amber
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Prevent hyphens being inserted into words in PDF output

Post by SteveS »

Hi Amber,

If you open your stylesheet in advanced view using the stylesheet editr and expand the <p> style, then expand the unclassified properties you will find a group of properties related to hyohenation. Have you tried setting these properties?

I'd try setting mc-hyphenation to never to start with, if only for the print media.

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Psider
Propellus Maximus
Posts: 902
Joined: Wed Jul 06, 2011 1:32 am

Re: Prevent hyphens being inserted into words in PDF output

Post by Psider »

Thanks, that was exactly what I needed. :)
Post Reply