ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Olya Briginets <bolya@ukrpost.net>
Subject: Re: Still don't understand how to switch fonts in the new context
Date: Tue, 21 Aug 2001 22:59:09 +0300	[thread overview]
Message-ID: <3B82BD8D.C61F51D@ukrpost.net> (raw)
In-Reply-To: <5.1.0.14.1.20010821153743.0208da68@server-1>

Hello Hans,

Thank for your answer, I read it and then I reread mfonts.pdf and I thought that
I got the point, but in practice, something still does not fork, with predefined
typefaces.

I have problem specifying font encoding: it works only until font switching
command. I write (the example from Willi Egger):

  \setupencoding[default=ec]
  \setupbodyfont[pos,ber]
  \enableencoding[ec]
  \enableregime[windows]

  \starttext

  \Adiaeresis Ä\"Argerlicher Fall.

  \"Uberaus gesch\"atzt.

  Gro\SS ist die Zuneigung.

  äöüèàé

  \"a, \"o, \"u, \'e,  \`e

  \aa, \AA

  \tf
  %\enableencoding[ec]

  \Adiaeresis Ä\"Argerlicher Fall.

  \"Uberaus gesch\"atzt.

  Gro\SS ist die Zuneigung.

  äöüèàé

  \"a, \"o, \"u, \'e,  \`e

  \aa, \AA

  \stoptext

And after any font switching command, even \tf, accents go wrong -- id est those
defined via \defineaccent (those that are input verbatim like ä are OK). If I
put \enableencoding[ec] after font switching command, accents are fixed, but
surely I'm not supposed to put \enableencoding[ec] after each font switch.

What have I missed? How to set up encoding globally? (\setupbodyfont does not
seem to accept encoding as argument.)

Olya


  reply	other threads:[~2001-08-21 19:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21 10:15 Olya Briginets
2001-08-21 13:45 ` Hans Hagen
2001-08-21 19:59   ` Olya Briginets [this message]
2001-08-22 12:06     ` Hans Hagen
2001-08-22 18:28       ` Olya Briginets
2001-08-23 16:17         ` Hans Hagen
     [not found]       ` <5.1.0.14.1.20010823181735.0256b7d0@server-1>
     [not found]         ` <3B858F30.4DF1A13B@ukrpost.net>
2001-08-24  8:04           ` Still don't understand how to switch fonts in the new context / ec versus 8r Hans Hagen
2001-08-26  7:23             ` Still don't understand how to switch fonts in the new context / ecversus 8r Olya Briginets
2001-08-27  7:56               ` Still don't understand how to switch fonts in the new context / ec versus 8r Hans Hagen

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=3B82BD8D.C61F51D@ukrpost.net \
    --to=bolya@ukrpost.net \
    /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).