RE: How to prevent hyphenation after hyphens?

2012-06-13 Thread SNawa
Thanks Eric How to insert non-breaking hyphen properly? I change content to fo:block margin-right=120pt border-width=1pt border-color=black border-style=solid firstamp;#x2011;second firstamp;#x2011;second firstamp;#x2011;second firstamp;#x2011;second firstamp;#x2011;second

Re: How to prevent hyphenation after hyphens?

2012-06-13 Thread Pascal Sancho
Hi, The '#' means that the character is not found in the used font. You have here 2 alternatives: - either use a font that contains such character (tried successfully with DejaVu collection, follow [1]) - or (as said Eric) use keep-together.within-line on 1 fo:inline for each first-second. [1]

RE: How to prevent hyphenation after hyphens?

2012-06-12 Thread Amick, Eric
Hyphenation means adding a hyphen to text, so the hyphenate property won't help. Most likely your best bet is changing the hyphens in the text to non-breaking hyphens (Unicode U+2011), presumably in the style sheet if you're using one. If that doesn't work, you can try wrapping each word in an

Re: How to prevent hyphenation after hyphens?

2012-06-12 Thread kinda...@gmail.com
Hi, You can define in the hyphenation rules how many characters before and after an hyphen. If you define something like 2 for each property, then the hyphenation patern will skip over any existing hyphenated word in the text. You will have to check the manuals on the precise rules, etc,