ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Uwe Koloska <uwe.koloska@mailbox.tu-dresden.de>
Subject: Re: Problem with AER-Font : ß becomes SS
Date: Mon, 5 Mar 2001 11:45:04 +0100	[thread overview]
Message-ID: <01030511450400.00898@bilbo> (raw)
In-Reply-To: <5.0.2.1.2.20010305080531.00a70a50@rzdspc1.informatik.uni-hamburg.de>

Am Montag,  5. März 2001 08:31 hat Robert F. Beeger geschrieben:
> Thanks for this info, but my problem still remains.
> \useencoding[win] is changing the input encoding. So I should use it
> before there is any text-input.
> In my understanding this should be before my hyphenation file
> (xhyphen.tex) is input.
> When I do this, I get again the hypenation error that complains that the
> word to be hyphenated must contain only letters and hyphens.

Here it would have been a good idea to cite the error message correctly.  
It appears on the "\hyphenation" command and not when the hyphenation is 
really done (that was what I have understand ...)

> So, using the AER-Font doesn't change anything in this situation.
> Only when I use this \useencoding[win] after the hyphenation is done, all
> seems to work.

Have you tried a minimal file without any hyphenation-exception?

> My concern is that when I hyphenate \hyphenate{au\-ßer\-dem} what it will

I think you have mistyped the command here:
  \hyphenation{auß-er-dem}
is the internal TeX command that is meant for hyphenation exceptions

> be hyphenated like.
> Will TeX now have "au\-ßer\-dem" in its hyphenation table or
> "au\-SSer\-dem"? Will an "außerdem"
> after the change to the win-input-encoding be recognized as the one
> hyphenated before the change?

I don't know.  Is there any chance to get the internal hypenation table?

By reproducing your problem with a minimal input for context and latex,  I 
understand it better:

Because "außerdem" will be hyphenated properly, it is a bad example.  So I 
changed the right hyphenation to a wrong one ...

Here is the latex example:
---------------------------------------------------------------
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{german}
\usepackage{ae}

\hyphenation{auß-er-dem}

\begin{document}

außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem
außerdem außerdem außerdem außerdem außerdem außerdem außerdem 

\end{document}
---------------------------------------------------------------

and now the one for context:
---------------------------------------------------------------
\mainlanguage[de]
\language[de]

\setupbodyfont[aer, 10pt]

\hyphenation{auß-er-dem}

\useencoding[win]

\starttext
\dorecurse{100}{außerdem }
\stoptext
---------------------------------------------------------------

The latex example runs correctly and hyphenates like it is given.  Context 
runs properly but doesn't hyphenate the way it is given (it uses the right 
hypenation though)

So I think, there is a problem with contexts input encoding.

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


  reply	other threads:[~2001-03-05 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-04 12:34 Robert F. Beeger
2001-03-04 22:08 ` Uwe Koloska
2001-03-05  7:31   ` Robert F. Beeger
2001-03-05 10:45     ` Uwe Koloska [this message]
2001-03-06 10:12       ` Robert F. Beeger
2001-03-06 22:39         ` Uwe Koloska

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=01030511450400.00898@bilbo \
    --to=uwe.koloska@mailbox.tu-dresden.de \
    /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).