ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Latest ConTeXt: No umlauts :-(
Date: Mon, 01 Feb 1999 00:48:39 +0100	[thread overview]
Message-ID: <36B4EBD6.4545709@wxs.nl> (raw)
In-Reply-To: <36B44A8D.F6CC095E@gmx.de>

Tobias Burnus wrote:

> I have problems with the Umlauts (not in the bookmarks but in the
> text!!!)
> (in the bookmarks they work)

I'll upload a new version. For the impatient: in lang-ini.tex change

\def\startlanguagespecifics%                % we use double to
  {\bgroup
   \catcode`\^^I=\@@ignore
   \catcode`\^^M=\@@ignore
   \catcode`\^^L=\@@ignore
   \dodoubleempty\dostartlanguagespecifics} % get rid of spaces

\long\def\dostartlanguagespecifics[#1][#2]#3\stoplanguagespecifics%
  {\egroup
   \long\def\docommando##1%
     {\doifdefinedelse{\??la\languageencoding##1\??la}
        {\long\def\do####1####2####3%

{\setvalue{\??la\languageencoding####1\??la}{\do{####1}{####2####3}}}%
         \getvalue{\??la\languageencoding##1\??la}{#3}}
        {\setvalue{\??la\languageencoding##1\??la}{\do{##1}{#3}}}%
      \bgroup
      \setbox0=\hbox{\enablelanguagespecifics[##1]}%
      \ifdim\wd0>\!!zeropoint
        \showmessage{\m!linguals}{7}{##1,\the\wd0\space}\wait
      \else
        \showmessage{\m!linguals}{8}{##1}%
      \fi
      \egroup
      \doif{##1}{\currentmainlanguage}
        {\enablelanguagespecifics[##1]}}%
   \processcommalist[#1]\docommando}

(This bug was introduced when I decided to use a second dummy [args] to
get rid of unwanted spaces: #2 had to become #3)  

For Erik: take a look at lang-ger.tex and see how the language specifics
are defined. Different meanings of "e for whatever encoding and pdfdoc. 

The update also takes care of \TeX and \kap and \type and a few more in
bookmarks. 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl

                     ConTeXt and PPCHTeX site: www.ntg.nl/context
-----------------------------------------------------------------


       reply	other threads:[~1999-01-31 23:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <36B44A8D.F6CC095E@gmx.de>
1999-01-31 23:48 ` Hans Hagen [this message]
1999-02-02 11:54   ` Frans Goddijn
1999-02-02 14:08     ` Hans Hagen
1999-02-03 12:01       ` Frans Goddijn
1999-02-03 13:25         ` Hans Hagen
1999-02-02 13:24   ` Taco Hoekwater
1999-02-02 14:11     ` Hans Hagen
1999-02-02 17:07     ` Frans Goddijn
1999-02-03  9:22   ` Taco Hoekwater
1999-02-03 13:47   ` Taco Hoekwater

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=36B4EBD6.4545709@wxs.nl \
    --to=pragma@wxs.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).