From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21105 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: International characters in math Date: Fri, 1 Jul 2005 15:16:47 +0200 Message-ID: <6faad9f0050701061633914c48@mail.gmail.com> References: <42C0C737.40807@mail.ru> <42C0FC04.9040206@wxs.nl> <42C18BA0.6000604@mail.ru> <42C1A90B.3040706@wxs.nl> Reply-To: Mojca Miklavec , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120223365 29053 80.91.229.2 (1 Jul 2005 13:09:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 13:09:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 01 15:09:24 2005 Return-path: 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 1DoLGe-0004E3-Pc for gctc-ntg-context-518@m.gmane.org; Fri, 01 Jul 2005 15:09:16 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E73012788; Fri, 1 Jul 2005 15:16:55 +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 23826-02-5; Fri, 1 Jul 2005 15:16:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4ABE7127ED; Fri, 1 Jul 2005 15:16:51 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80C79127ED for ; Fri, 1 Jul 2005 15:16:49 +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 23826-02-4 for ; Fri, 1 Jul 2005 15:16:48 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by ronja.ntg.nl (Postfix) with ESMTP id 89FBA12788 for ; Fri, 1 Jul 2005 15:16:48 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id x37so77137nfc for ; Fri, 01 Jul 2005 06:16:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SCB9xabOsz1pLayahzgs2yhCyokqwXLfkN0rGxATwJoscYpIviasWXLwZ+FJPxAbL7flKOllht0KcRos5ClB521D2oKv0nylZ/2F/IYHTK2JUfH6oppWKzLtbLPjm4C3i7Ky4M7y0DLAbuD6WOoyZvrvEhJNMtDtGBn12ogYfww= Original-Received: by 10.48.3.18 with SMTP id 18mr53013nfc; Fri, 01 Jul 2005 06:16:47 -0700 (PDT) Original-Received: by 10.48.247.2 with HTTP; Fri, 1 Jul 2005 06:16:47 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <42C1A90B.3040706@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21105 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21105 I also ran into two problems concerning accented math while experimenting a bit (see below). Hans Hagen wrote: > Radhelorn wrote: > > Thanks Hans, Wolfgang for your advice. \mbox and \text in newmath solve= s > > some problems like units, but what if I want bold roman math with > > international characters (or my own fonts) by default? To enable bold math by default write: \definetypeface[somename][mm][boldmath][latin-modern][default][rscale= =3D1] % optional parameter rscale may be any number followed by \setupbodyfont[somename] if you want some other font, for example euler, choose one of the following lines: %\definetypeface[somename][mm][math][euler][euler] %\definetypeface[somename][mm][boldmath][euler][euler] But what exactly do you mean by bold math with accented characters? You can either typeset in mathmode, where you use \hat, \check, \acute, \grave, \bar, \vec, \dot, \ddot, \breve, \tilde or any other accent that you compose by yourself (poor results for accented characters, anyway). You can then set bold math to be the default. Or you can switch to text mode inside math using \hbox{...} as Hans described. If you want bold inside \hbox{...}, you probably have to define it in every \hbox manually or use bold font as default in the whole document. (If I'm wrong, please correct me.) Accented characters should work everywhere inside text mode as long as I understand. But quite some effort was put into ConTeXt to enable more advanced features regarding fonts, so it may be that ConTeXt sometimes accidentally fails to produce the desired result. Send an example if you think that it is causing troubles. > > I'm trying to figure it out from sources, but it's very long and hard w= ay. >=20 > $\hbox{\tf \'e\'erste}$ and $\mbox{\'e\'erste}$ Is there any special reason that we have to write $\hbox{\tf ...}$? In plain TeX $\hbox{\v{c}}$ works just fine, while ConTeXt runs into the same kind of problems as last time with accented characters in MathML. ---------------------------------------------------------------------------= ---------------- Can someone please try this: \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? Mojca