* Hyphenation problem
@ 2002-06-10 13:38 Nagy Bence
2002-06-10 16:36 ` Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Nagy Bence @ 2002-06-10 13:38 UTC (permalink / raw)
Hi all,
I would like to typeset hungarian texts with ConTeXt, and
I'm using the following code in LaTeX:
\usepackage[magyar]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
How can I do this with ConTeXt? I want to use Latin-2
encoding in my files and obtain correct hyphenation in words
with accented characters.
My format file was generated with
texexec --make --language=hu en
and I can see, that the hungarian hyphenation patterns are
loaded, when I run ConTeXt. The first line of my document is
%interface=en output=pdftex translate=il2-t1
but I always receive the warning message
Missing character: There is no é in font cmr10!
and similar... (but this error doesn't appear with \'e) And
the hyphenations are missing in these words.
Greetings
Bence Nagy
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Hyphenation problem
2002-06-10 13:38 Hyphenation problem Nagy Bence
@ 2002-06-10 16:36 ` Hans Hagen
0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2002-06-10 16:36 UTC (permalink / raw)
Cc: ntg-context
At 03:38 PM 6/10/2002 +0200, Nagy Bence wrote:
>Hi all,
>
>
>I would like to typeset hungarian texts with ConTeXt, and
>I'm using the following code in LaTeX:
>
> \usepackage[magyar]{babel}
> \usepackage[T1]{fontenc}
> \usepackage[latin2]{inputenc}
>
>How can I do this with ConTeXt? I want to use Latin-2
>encoding in my files and obtain correct hyphenation in words
>with accented characters.
>
>My format file was generated with
>
> texexec --make --language=hu en
>
>and I can see, that the hungarian hyphenation patterns are
>loaded, when I run ConTeXt. The first line of my document is
>
> %interface=en output=pdftex translate=il2-t1
>
>but I always receive the warning message
>
> Missing character: There is no é in font cmr10!
>
>and similar... (but this error doesn't appear with \'e) And
>the hyphenations are missing in these words.
best is:
texexec --make --language=en,hu --bodyf=csr en
in case of english default: \mainlanguage[hu]
now the cmr's are replaced by their il2 csr counterparts
i'm not sure about the translate filter
[btw, it may be that some additional language settings are needed, like
spacing around : as in french, so if this is needed, let me know]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* hyphenation problem
@ 2008-05-12 9:28 Hans van der Meer
2008-05-12 10:50 ` Hans Hagen
2008-05-12 11:01 ` Taco Hoekwater
0 siblings, 2 replies; 9+ messages in thread
From: Hans van der Meer @ 2008-05-12 9:28 UTC (permalink / raw)
To: NTG ConTeXt
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
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hyphenation problem
2008-05-12 9:28 hyphenation problem Hans van der Meer
@ 2008-05-12 10:50 ` Hans Hagen
2008-05-12 12:07 ` Hans van der Meer
2008-05-12 11:01 ` Taco Hoekwater
1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2008-05-12 10:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hyphenation problem
2008-05-12 10:50 ` Hans Hagen
@ 2008-05-12 12:07 ` Hans van der Meer
2008-05-12 12:17 ` Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Hans van der Meer @ 2008-05-12 12:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hyphenation problem
2008-05-12 12:07 ` Hans van der Meer
@ 2008-05-12 12:17 ` Hans Hagen
0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2008-05-12 12:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hyphenation problem
2008-05-12 9:28 hyphenation problem Hans van der Meer
2008-05-12 10:50 ` Hans Hagen
@ 2008-05-12 11:01 ` Taco Hoekwater
2008-05-12 11:14 ` Hans van der Meer
1 sibling, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2008-05-12 11:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: hyphenation problem
2008-05-12 11:01 ` Taco Hoekwater
@ 2008-05-12 11:14 ` Hans van der Meer
2008-05-12 11:35 ` Taco Hoekwater
0 siblings, 1 reply; 9+ messages in thread
From: Hans van der Meer @ 2008-05-12 11:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-05-12 12:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 13:38 Hyphenation problem Nagy Bence
2002-06-10 16:36 ` Hans Hagen
2008-05-12 9:28 hyphenation problem Hans van der Meer
2008-05-12 10:50 ` Hans Hagen
2008-05-12 12:07 ` Hans van der Meer
2008-05-12 12:17 ` Hans Hagen
2008-05-12 11:01 ` Taco Hoekwater
2008-05-12 11:14 ` Hans van der Meer
2008-05-12 11:35 ` Taco Hoekwater
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).