On Tuesday 18 March 2003 23:39, Patrick Gundlach wrote:
\setupencoding[default=8r]
what is the advantage of using 8r instead of ec or texnansi?
It is a matter of taste and the characters you need. There is no big difference for my german and english texts. (snip) Sometimes I need glyphs that are encoded in 8r but not in ec (euro sign for example). I never use glyphs that are encoded in ec but not in 8r.
But the disadvantage of 8r is that in most languages the line-breaking algorithm performs badly. Take the dutch "verifi\"{e}ren". If the hyphenation patterns are set up correctly, it should break like "ve-ri-fi-e-ren" (hope I got this right ;-), and you should loose the accent. you can verify this by using \showhyphens{verifi\"{e}ren} in tex. In the log, the possible word breaks will be shown. In the default 8r it doesn't break correcly, near the accent. In ec it does break well. I don't know about texnansi. I'm sure others can give better examples, and explain why the wordbreaking doesn't work correctly. Kind regards, Maarten Sneep