ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Radhelorn <radhelorn@mail.ru>
Subject: Re: International characters in math
Date: Sat, 02 Jul 2005 15:24:51 +0400	[thread overview]
Message-ID: <42C67983.6090805@mail.ru> (raw)
In-Reply-To: <20050701150229.6878@mail.comp.lancs.ac.uk>

Adam Lindsay wrote:
>>\definetypeface[somename][mm][math][euler][euler]
>>\setupbodyfont[somename]
>>\starttext
>>$$\sqrt{\acute{a}+\bar{b}+\dot{c}}$$
>>\stoptext
>>
>>I don't get any accents. Am I doing something wrong?
> 
> 
> No, I am.
> 
> You can verify further by adding:
> \loadmapfile[original-ams-base]
> \showmathcharacters
> 
> The normal text-ish accents are not present in the eulervm fonts. I
> suppose the rationale is that these are never to be used for text (but
> it becomes questionable when you don't have an overbar or dot!) 
> 
> I have tried to figure out how to get them from other fonts, but am at a
> loss, in terms of the general case.
> 
> No one has mentioned it before now, so I didn't try that hard. :) 
> 
> Anyone have any suggestions on what approach to take, or what they'd
> like to see?

Apart from creating some new virtual euler font with accents I can not 
see any solution. Beforementioned commands (\acute ...) do not work in 
\mbox and \hbox in math mode (writes about '{' and '}' missing).

Another strange thing. After this sequence:

\usetypescript [modern-base] [t2a] % just for example
\setupbodyfont [modern]

\definetypeface[mytf][mm][math][euler][euler]

\startbuffer
$$\sqrt{\acute{a}+\bar{b}+\dot{c}}$$
\stopbuffer

\starttext
\getbuffer
\switchtobodyfont[mytf]
\getbuffer
\switchtobodyfont[modern]
\getbuffer
\stoptext

Third formula remains roman. Why so?


-- 
Radhelorn <radhelorn@mail.ru>

  reply	other threads:[~2005-07-02 11:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28  3:42 Radhelorn
2005-06-28  6:44 ` Wolfgang Zillig
2005-06-28  7:28 ` Hans Hagen
2005-06-28 17:40   ` Radhelorn
2005-06-28 19:46     ` Hans Hagen
2005-06-29 13:42       ` Radhelorn
2005-07-01 13:16       ` Mojca Miklavec
2005-07-01 15:02         ` Adam Lindsay
2005-07-02 11:24           ` Radhelorn [this message]
2005-07-05 13:46             ` Adam Lindsay
2005-07-02 11:01         ` Radhelorn

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=42C67983.6090805@mail.ru \
    --to=radhelorn@mail.ru \
    --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).