From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29171 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \bar missing in euler Date: Thu, 6 Jul 2006 11:53:43 -0400 (EDT) Message-ID: References: <44AD2DBB.2080908@comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152201242 529 80.91.229.2 (6 Jul 2006 15:54:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2006 15:54:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 06 17:54:00 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FyWAw-0007MV-Mf for gctc-ntg-context-518@m.gmane.org; Thu, 06 Jul 2006 17:53:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 82ABE127E7; Thu, 6 Jul 2006 17:53:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12239-02-4; Thu, 6 Jul 2006 17:53:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F4DA127D6; Thu, 6 Jul 2006 17:53:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4BCE7127D6 for ; Thu, 6 Jul 2006 17:53:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12239-02-3 for ; Thu, 6 Jul 2006 17:53:49 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with SMTP id 4C001127D5 for ; Thu, 6 Jul 2006 17:53:47 +0200 (CEST) Original-Received: FROM aditya.engin.umich.edu (udhcp-wlan69.public.engin.umich.edu [141.213.120.79]) BY hackers.mr.itd.umich.edu ID 44AD3209.4EF4.9582 ; 6 Jul 2006 11:53:46 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <44AD2DBB.2080908@comp.lancs.ac.uk> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29171 Archived-At: On Thu, 6 Jul 2006, Adam Lindsay wrote: > Aditya Mahajan wrote: > >> gives just "a". I do not get any bar over "a". > > Yup. You seem to be the first to have noticed (or complained), as well. > >> This is how eulervm.sty defines these characters for T1 encoding. >> ... > > That's the key, though, it apparently pulls in the text accents as well, > and changes the math definitions depending on the text encoding. That > seems rather opposite to how ConTeXt *should* work. > >> I do not know what is the equivalent of 'operators' family in context. >> Any idea how to pull them out of the text fonts? > > Let's open this up to Hans and Taco: any idea? Much of the finer points > of \definemathsymbol et al are voodoo to me. > > The fourth/sixth arguments of \definemathsymbol insist on a (hex) number > to be in that slot. Anything else (like \textmacron) is a no-go. > > So right now, Euler is limited by the math mechanisms/the encoding of > the font. I can imagine two "solutions" of differing hack-ish natures: > > 1) Allow further expansion in \definemathsymbol: > \definemathsymbol [breve] [accent] [tf] [\textbreve] > > 2) Do a hack following LaTeX's imperfect lead: > \definemathsymbol [breve] [accent] [tf] ["15] % for texnansi > % or > \definemathsymbol [breve] [accent] [tf] ["08] % for ec > etc. I have no knowledge of how Context's font stuff works. The first definition looks better to me, as one would not need to worry about the encoding while defining symbols (one needs to worry about the encoding while defining \textbreve etc, anyway). Though the second does have the advantage that it works right away, so there is no need to change the definition of \definemathsymbol. Right now I will use \definemathsymbol [bar] [accent] [tf] ["09] which seems to work with my present setup. Thank you. Aditya