In dutch hyphenated accented characters loose there accent when hyphenated: oö becomes o-o instead of o-ö. But the latter happens when I process the code below. It happens both in mkii and mkiv. The number of a's must be chosen so as to generate hyphenation between the two o's. I tried this also with another font than lmodern, but got the same result. What happened to (dutch) hyphenation? ConTeXt ver: 2008.04.18 14:17 MKII fmt: 2008.4.19 int: english/ english \enableregime[mac] \language[nl] \setupbodyfont[lmodern,10pt] \starttext hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa coördinaat. \par hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa co\"ordinaat. \par \stoptext Hans van der Meer
Hans van der Meer wrote:
In dutch hyphenated accented characters loose there accent when hyphenated: oö becomes o-o instead of o-ö. But the latter happens when I process the code below. It happens both in mkii and mkiv. The number of a's must be chosen so as to generate hyphenation between the two o's. I tried this also with another font than lmodern, but got the same result. What happened to (dutch) hyphenation?
ConTeXt ver: 2008.04.18 14:17 MKII fmt: 2008.4.19 int: english/ english
\enableregime[mac] \language[nl] \setupbodyfont[lmodern,10pt] \starttext hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa coördinaat. \par hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa co\"ordinaat. \par \stoptext
in principle we can make patterns that has this info by adding discretionaries to the patterns ... too much work to do that by hand ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 12 mei 2008, at 12:50, Hans Hagen wrote:
Hans van der Meer wrote:
In dutch hyphenated accented characters loose there accent when hyphenated: oö becomes o-o instead of o-ö. But the latter happens when I process the code below. It happens both in mkii and mkiv. The number of a's must be chosen so as to generate hyphenation between the two o's. I tried this also with another font than lmodern, but got the same result. What happened to (dutch) hyphenation?
ConTeXt ver: 2008.04.18 14:17 MKII fmt: 2008.4.19 int: english/ english
\enableregime[mac] \language[nl] \setupbodyfont[lmodern,10pt] \starttext hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa coördinaat. \par hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa co\"ordinaat. \par \stoptext
in principle we can make patterns that has this info by adding discretionaries to the patterns ... too much work to do that by hand
I am quite surprised by this, because in dutch there are a lot of words with ö, ë to be hyphenated this way. And isn't there something alike in german with the \SS? Anyway, it would be much appreciated as this sort of hyphenation could find its way in ConTeXt. It wouldn't do if LaTeX would keep in front of ConTeXt in this respect ;-) Hans van der Meer
Hans van der Meer wrote:
On 12 mei 2008, at 12:50, Hans Hagen wrote:
Hans van der Meer wrote:
In dutch hyphenated accented characters loose there accent when hyphenated: oö becomes o-o instead of o-ö. But the latter happens when I process the code below. It happens both in mkii and mkiv. The number of a's must be chosen so as to generate hyphenation between the two o's. I tried this also with another font than lmodern, but got the same result. What happened to (dutch) hyphenation?
ConTeXt ver: 2008.04.18 14:17 MKII fmt: 2008.4.19 int: english/ english
\enableregime[mac] \language[nl] \setupbodyfont[lmodern,10pt] \starttext hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa coördinaat. \par hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa co\"ordinaat. \par \stoptext in principle we can make patterns that has this info by adding discretionaries to the patterns ... too much work to do that by hand
I am quite surprised by this, because in dutch there are a lot of words with ö, ë to be hyphenated this way. And isn't there something alike in german with the \SS? Anyway, it would be much appreciated as this sort of hyphenation could find its way in ConTeXt. It wouldn't do if LaTeX would keep in front of ConTeXt in this respect ;-)
this the area were the active " was used to inject disc's: "ck and such at some point we need to fix the pattern files for this since anything active or funnily escaped (using ") will mess up something else context operates within the same constraints as latex so .. -) 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 -----------------------------------------------------------------
Hans van der Meer wrote:
In dutch hyphenated accented characters loose there accent when hyphenated: oö becomes o-o instead of o-ö. But the latter happens when I process the code below. It happens both in mkii and mkiv. The number of a's must be chosen so as to generate hyphenation between the two o's. I tried this also with another font than lmodern, but got the same result. What happened to (dutch) hyphenation?
I do not believe this ever has worked, because it is not supported by Knuth's hyphenation algorithm, at all. In MkIV, the following (in utf-8!) will work: \language[nl] \setupbodyfont[lmodern,10pt] \hyphenation{co{-}{o}{ö}r-di-naat} \starttext hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa coördinaat \stoptext But not the example with the \" coding (and that likely never will). Best wishes, Taco
On 12 mei 2008, at 13:01, Taco Hoekwater wrote:
Hans van der Meer wrote:
In dutch hyphenated accented characters loose there accent when hyphenated: oö becomes o-o instead of o-ö. But the latter happens when I process the code below. It happens both in mkii and mkiv. The number of a's must be chosen so as to generate hyphenation between the two o's. I tried this also with another font than lmodern, but got the same result. What happened to (dutch) hyphenation?
I do not believe this ever has worked, because it is not supported by Knuth's hyphenation algorithm, at all.
In MkIV, the following (in utf-8!) will work:
\language[nl] \setupbodyfont[lmodern,10pt] \hyphenation{co{-}{o}{ö}r-di-naat} \starttext hyphen test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa coördinaat \stoptext
But not the example with the \" coding (and that likely never will).
Best wishes, Taco
In my recollection this worked like a charm in the LaTeX-Babel package! Hans van der Meer
Hans van der Meer wrote:
In my recollection this worked like a charm in the LaTeX-Babel package!
Well, \usemodule[babel] has never worked either ;-) Anyway, I just realised after posting my message that the input could be made to work by making ö active and having it execute a macro like \unexpanded\def\dutchotrema{\dicretionary{-}{o}{\char"F6}} The problem is that there is no infrastructure for such macros (and there really has to be one, because it touches all of the input regime, current language, and font encoding). Best wishes, Taco
participants (3)
-
Hans Hagen
-
Hans van der Meer
-
Taco Hoekwater