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 15:29:11 +0000	[thread overview]
Message-ID: <5637B53E-0C2A-4244-8544-8A5546DD0C98@uva.nl> (raw)
In-Reply-To: <559BE415.1000903@gmx.es>


[-- Attachment #1.1.1: Type: text/plain, Size: 1328 bytes --]

The \hyphenatedword works here too. But it does not work out when the word Amsterdam occurs in the text. See tthe two examples. In the first Amsterdam is not broken according to the \hyphenation{Am-ster-dam}-rule. In the second example the linebreak is forced by the explicit use of Am\-ster\-dam in the source text.

So it doesn't work when occurring in the text.

[cid:3FCD961E-655E-4A3A-B889-D6CDB564D4F8@dynamic.ziggo.nl]

[cid:2F0C9076-27B7-4CD4-9965-23FC2141A1E6@dynamic.ziggo.nl]

met vriendelijke groet
Hans van der Meer


On 07 Jul 2015, at 16:37, Pablo Rodriguez <oinos@gmx.es<mailto:oinos@gmx.es>> wrote:

On 07/07/2015 03:33 PM, dr. Hans van der Meer wrote:
Has something happened to hyphenation?

The following does not work
\language[nl]
\startexceptions[nl]
Am-ster-dam
\stopexceptions

Neither does\hyphenation{Am-ster-dam}

Hi Hans,

using latest beta from 2015.07.01 21:40, both options work for me:

   \language[nl]
   %~ \startexceptions[nl]
   %~ Ams-terd-am
   %~ \stopexceptions
   \hyphenation{Ams-terd-am}
   \starttext
   \hyphenatedword{Amsterdam}
   \stoptext

BTW, I have to change the hyphenation points, since the proposed
exception is the default hyphenation in Dutch.

Or how did you know that the exceptions weren’t working?

I hope it helps,



[-- Attachment #1.1.2: Type: text/html, Size: 3007 bytes --]

[-- Attachment #1.2: hyphens-1.jpg --]
[-- Type: image/jpeg, Size: 10109 bytes --]

[-- Attachment #1.3: hyphens-2.jpg --]
[-- Type: image/jpeg, Size: 9463 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 15:29 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 [this message]
2015-07-07 15:41     ` Arthur Reutenauer
2015-07-07 16:00       ` Pablo Rodriguez
2015-07-07 16:20         ` Meer, H. van der

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=5637B53E-0C2A-4244-8544-8A5546DD0C98@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).