ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <xmailings@estfiles.de>
Subject: Question on \setupencoding[default=ec]
Date: Wed, 10 Sep 2003 16:39:23 +0200	[thread overview]
Message-ID: <a05210600bb84e1fc46cf@[217.184.12.108]> (raw)

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=ec]

But that's not true (at least for german Umlaute).


A ConTeXt  example:

\language[de]
\mainlanguage[de]
\enableregime[mac]
\setupencoding[default=ec]

\starttext

\showhyphens{alter}

\showhyphens{früher}

\stoptext

doesn't recognize früher (frü-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üher}

\end{document}

brings the right hyphenation (frü-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¸-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
<protectionstate 0>
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-it-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
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 1907] \ifcsname
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
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
<protectionstate 0>
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-it-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
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 1907] \ifcsname
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
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 <v3.7h> 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.sty
(/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¸-her
(./hyplatex.aux) )
(see the transcript file for additional information)
No pages of output.
Transcript written on hyplatex.log.

             reply	other threads:[~2003-09-10 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 14:39 Steffen Wolfrum [this message]
2003-09-10 16:37 ` Jens-Uwe Morawski
2003-09-10 16:54   ` Patrick Gundlach
2003-09-10 22:56   ` Hans Hagen
2003-09-10 16:50 ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='a05210600bb84e1fc46cf@[217.184.12.108]' \
    --to=xmailings@estfiles.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).