[NTG-context] hyphenation exceptions?

Meer, H. van der H.vanderMeer at uva.nl
Tue Jul 7 18:20:03 CEST 2015


Indeed, the combination Amsterdam-Buitenveldert is the culprit.
The solution therefore is to use (it is ConTeXt afterall) Amsterdam|-|Buitenveldert, then the word Amsterdam doesn't even needs an exception.
Thanks for the help.

Hans van der Meer


On 07 Jul 2015, at 18:00, Pablo Rodriguez <oinos at gmx.es<mailto:oinos at gmx.es>> wrote:

On 07/07/2015 05:41 PM, Arthur Reutenauer wrote:
[...]
 That's because the word you're trying to hyphenate is
"Amsterdam-Buitenveldert", not "Amsterdam".  Compound words are by
default hyphenated only at the hyphen in TeX.

\setbreakpoints[compound] works in the following sample:

   \language[nl]
   \setbreakpoints[compound]
   \starttext
   \hyphenatedword{Amsterdam--Buitenveldert}
   \stoptext

I don’t know whether it would make sense to use an en-dash for compound
words in Dutch.

I hope it helps now,


Pablo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150707/b61d493f/attachment.html>


More information about the ntg-context mailing list