From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13169 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Question on \setupencoding[default=ec] Date: Wed, 10 Sep 2003 16:39:23 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1063205421 15532 80.91.224.253 (10 Sep 2003 14:50:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 14:50:21 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Sep 10 16:50:19 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19x6IV-0005Jp-00 for ; Wed, 10 Sep 2003 16:50:19 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 891B310BA2; Wed, 10 Sep 2003 16:50:09 +0200 (MEST) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [62.67.200.157]) by ref.ntg.nl (Postfix) with ESMTP id 3C65C10B91 for ; Wed, 10 Sep 2003 16:40:22 +0200 (MEST) Original-Received: (qmail 20841 invoked from network); 10 Sep 2003 14:40:19 -0000 Original-Received: from unknown (HELO [217.184.8.75]) (664943@[217.184.8.75]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 10 Sep 2003 14:40:19 -0000 X-Sender: 664943@pop3.estfiles.de Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13169 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13169 Hallo, I have re-read the mailings in the archive concerning proper hyphenation and I saw that it is a known problem to have hyphenation in words containing cedilla, accent or umlaut. As it is solved in LaTeX with the [T1]{fontenc} package some people wrote that in ConTeXt the equivalent should be: \setupencoding[default=3Dec] But that's not true (at least for german Umlaute). A ConTeXt example: \language[de] \mainlanguage[de] \enableregime[mac] \setupencoding[default=3Dec] \starttext \showhyphens{alter} \showhyphens{fr=FCher} \stoptext doesn't recognize fr=FCher (fr=FC-her): Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] /cmr10/al-ter Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] /cmr10/fr^^?uher (the whole log see below) While a LaTeX example \documentclass{book} \usepackage{german} \usepackage[applemac]{inputenc} \usepackage[T1]{fontenc} \begin{document} \showhyphens{alter} \showhyphens{fr=FCher} \end{document} brings the right hyphenation (fr=FC-her) Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] /ecrm1000/al-ter Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] /ecrm1000/fr=B8-her (the whole log see below) Don't ConTeXt and LaTeX use both the same hyphenation patterns? So what must be done in ConTeXt that it also works? Thanks for any reply, Steffen ********************************************* p.s. context and latex log files: ********************************************* TeXExec 3.3 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : hypcontext output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) entering extended mode (./hypcontext.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.8.21 fmt: 2003.9.6 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-i= t-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : hypcontext.top loaded (./hypcontext.top specials : loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex system (E-TEX) : [line 1907] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded ) pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map systems : begin file hypcontext at line 6 Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] /cmr10/al-ter Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] /cmr10/fr^^?uher systems : end file hypcontext at line 12 ) (see the transcript file for additional information) No pages of output. Transcript written on hypcontext.log. return code : 0 run time : 2 seconds sorting and checking : running texutil TeXUtil 7.5 - ConTeXt / PRAGMA ADE 1992-2003 action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : hypcontext.tui output file : hypcontext.tuo passed commands : 8 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 utility file analysis : another run needed TeX run : 2 This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) entering extended mode (./hypcontext.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.8.21 fmt: 2003.9.6 int: english mes: english language : language en is active system : cont-new loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-i= t-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : hypcontext.top loaded (./hypcontext.top specials : loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex system (E-TEX) : [line 1907] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded ) pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) (./hypcontext.tuo) systems : begin file hypcontext at line 6 Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] /cmr10/al-ter Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] /cmr10/fr^^?uher systems : end file hypcontext at line 12 ) (see the transcript file for additional information) No pages of output. Transcript written on hypcontext.log. return code : 0 run time : 1 seconds sorting and checking : running texutil TeXUtil 7.5 - ConTeXt / PRAGMA ADE 1992-2003 action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : hypcontext.tui output file : hypcontext.tuo passed commands : 8 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 total run time : 5 seconds ********************************** This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) \write18 enabled. entering extended mode (./hyplatex.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg} LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german,= ngerman, c zech, dutch, greek, italian, latin, magyar, russian, spanish, nohyphenation,= lo aded. (/Users/himmelblau/Library/texmf/tex/latex/base/book.cls Document Class: book 2001/04/21 v1.4e Standard LaTeX document class (/Users/himmelblau/Library/texmf/tex/latex/base/bk10.clo)) (/usr/local/teTeX/share/texmf.tetex/tex/generic/german/german.sty v2.5e 1998-07-08) (/Users/himmelblau/Library/texmf/tex/latex/base/inputenc.s= ty (/Users/himmelblau/Library/texmf/tex/latex/base/applemac.def)) (/Users/himmelblau/Library/texmf/tex/latex/base/fontenc.sty (/Users/himmelblau/Library/texmf/tex/latex/base/t1enc.def)) (./hyplatex.aux) Underfull \hbox (badness 10000) in paragraph at lines 8--8 [] /ecrm1000/al-ter Underfull \hbox (badness 10000) in paragraph at lines 10--10 [] /ecrm1000/fr=B8-her (./hyplatex.aux) ) (see the transcript file for additional information) No pages of output. Transcript written on hyplatex.log.