Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Pablo Rodriguez
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
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Arthur Reutenauer
On Tue, Jul 07, 2015 at 03:29:11PM +, Meer, H. van der wrote:
 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.

  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.

Arthur
___
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
___

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Meer, H. van der
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 oi...@gmx.esmailto:oi...@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

___
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
___

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Meer, H. van der
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 oi...@gmx.esmailto:oi...@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,


___
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
___

[NTG-context] hyphenation exceptions?

2015-07-07 Thread dr. Hans van der Meer
Has something happened to hyphenation?

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

Neither does \hyphenation{Am-ster-dam}

Only in the context-source Am\-ster\-dam is working.

How to load a series of hyphenation exceptions instead of explicitely spelling 
out the breakpoints in the source?

Hans van der Meer


___
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
___

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Pablo Rodriguez
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,


Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] hyphenation exceptions

2006-01-30 Thread Hans Hagen
� wrote:
 Hello,

 I don't want to tell TeX about hyphenation exceptions in the text, only
 once for all in an environment file. How can I do this with words like
 DNA-Fragmente or $\beta$-Verkn�pfung ?
 \hyphenation{...} does not seem to work here, and I don't want to write
 DNA-Frag\-men\-te nor $\beta$-Ver\-kn�p\-fung in the text.
   
DNA||Fragmente

DNA|-|Fragmente

Hans 



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation exceptions

2006-01-30 Thread Peter Münster
On Sun, 29 Jan 2006, Taco Hoekwater wrote:

 Write: $\beta$||Verknüpfung instead. The two bars break the single
 word in two seperate ones, and both are hyphenated normally ($\beta$
 will not hyphenate of course, but you get the idea, I hope). A few
 things can be inbetween the ||'s, for words like
 
|(|multi|)|valued
 
 but normally you use just ||. This even makes sure that the compound
 hyphen is slightly longer then the auto-inserted one, so that it is
 still possible to distinguish that it is a compound word if hyphenation
 happens right at the ||.

Hello Taco,
thanks, this is a nice little feature! Is it already documented somewhere,
or should I add something to the wiki?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation exceptions

2006-01-30 Thread Hans Hagen
� wrote:
 On Sun, 29 Jan 2006, Taco Hoekwater wrote:

   
 Write: $\beta$||Verkn�pfung instead. The two bars break the single
 word in two seperate ones, and both are hyphenated normally ($\beta$
 will not hyphenate of course, but you get the idea, I hope). A few
 things can be inbetween the ||'s, for words like

|(|multi|)|valued

 but normally you use just ||. This even makes sure that the compound
 hyphen is slightly longer then the auto-inserted one, so that it is
 still possible to distinguish that it is a compound word if hyphenation
 happens right at the ||.
 

 Hello Taco,
 thanks, this is a nice little feature! Is it already documented somewhere,
   
it's an old feature so there should be docu in several places (at least it's 
shown here and there) 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation exceptions

2006-01-29 Thread Taco Hoekwater
Peter Münster wrote:
 Hello,
 
 I don't want to tell TeX about hyphenation exceptions in the text, only
 once for all in an environment file. How can I do this with words like
 DNA-Fragmente or $\beta$-Verknüpfung ?

Write: $\beta$||Verknüpfung instead. The two bars break the single
word in two seperate ones, and both are hyphenated normally ($\beta$
will not hyphenate of course, but you get the idea, I hope). A few
things can be inbetween the ||'s, for words like

   |(|multi|)|valued

but normally you use just ||. This even makes sure that the compound
hyphen is slightly longer then the auto-inserted one, so that it is
still possible to distinguish that it is a compound word if hyphenation
happens right at the ||.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] hyphenation exceptions

2006-01-28 Thread Peter Münster
Hello,

I don't want to tell TeX about hyphenation exceptions in the text, only
once for all in an environment file. How can I do this with words like
DNA-Fragmente or $\beta$-Verknüpfung ?
\hyphenation{...} does not seem to work here, and I don't want to write
DNA-Frag\-men\-te nor $\beta$-Ver\-knüp\-fung in the text.

TIA for any help!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context