ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: Re: hyphenation exceptions?
Date: Tue, 7 Jul 2015 16:20:03 +0000	[thread overview]
Message-ID: <47CD706F-9EBF-4CDB-A970-57D710F9B95E@uva.nl> (raw)
In-Reply-To: <559BF788.8070101@gmx.es>


[-- Attachment #1.1: Type: text/plain, Size: 887 bytes --]

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@gmx.es<mailto:oinos@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


[-- Attachment #1.2: Type: text/html, Size: 1930 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2015-07-07 16:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 13:33 dr. Hans van der Meer
2015-07-07 14:37 ` Pablo Rodriguez
2015-07-07 15:29   ` Meer, H. van der
2015-07-07 15:41     ` Arthur Reutenauer
2015-07-07 16:00       ` Pablo Rodriguez
2015-07-07 16:20         ` Meer, H. van der [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47CD706F-9EBF-4CDB-A970-57D710F9B95E@uva.nl \
    --to=h.vandermeer@uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).