From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52741 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Upright math Date: Tue, 8 Sep 2009 00:14:43 +0200 Message-ID: <20090907221443.GA16371@khaled-laptop> References: <20090907212341.GA13420@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1555097344==" X-Trace: ger.gmane.org 1252361724 4783 80.91.229.12 (7 Sep 2009 22:15:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 22:15:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 08 00:15:17 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkmUX-0006J2-88 for gctc-ntg-context-518@m.gmane.org; Tue, 08 Sep 2009 00:15:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 648B8C9A9C; Tue, 8 Sep 2009 00:15:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8r4ymuq5texl; Tue, 8 Sep 2009 00:15:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B2C68C9A81; Tue, 8 Sep 2009 00:15:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86AF5C9A81 for ; Tue, 8 Sep 2009 00:15:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id deaw3LRPcARt for ; Tue, 8 Sep 2009 00:14:49 +0200 (CEST) Original-Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by balder.ntg.nl (Postfix) with ESMTP id D3C5EC9A63 for ; Tue, 8 Sep 2009 00:14:48 +0200 (CEST) Original-Received: by fxm19 with SMTP id 19so2324339fxm.2 for ; Mon, 07 Sep 2009 15:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=mh4VHC1W8aWgm4BMLSqFt4BHi2ZzjZMdFKk29mtJ8v8=; b=M2H+GumhjcU2u0h5xrBJZtiof8g3lkL0yAi4k00nW4UvEC6fJrIdzsgvIi5l91kGh3 ZNLaaKwmQTGR8aqsRcLXM8cdEalkA8J1FBv/ZeEMhLqZpPXy4GowRyeiQtxVLVzsZRnW gaE9xR/oxWiSQsD9u318pRAv4jlRjiiDDl8jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=uS++Nq7NCTYStAfYxf2JhYKa9f5m7LwZlxIee85THYKbFB+V17mfQ+CxDXve34Hm2m qYeJOKN5AR+YuQdeqA1b2lPcs1W8XlczjCwIS2Nhyh5390fuujlnsmCgTO7o304ni222 WEZzOT0bGMFSCCs0QDzdEHzfVoJO8DI3a7pRw= Original-Received: by 10.204.24.75 with SMTP id u11mr12517993bkb.0.1252361688460; Mon, 07 Sep 2009 15:14:48 -0700 (PDT) Original-Received: from localhost ([41.238.235.74]) by mx.google.com with ESMTPS id 13sm7821416fks.56.2009.09.07.15.14.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Sep 2009 15:14:47 -0700 (PDT) In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52741 Archived-At: --===============1555097344== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 07, 2009 at 05:59:33PM -0400, Aditya Mahajan wrote: > On Mon, 7 Sep 2009, Khaled Hosny wrote: > >> >> Is there a way (MkIV) to set math to use upright symbols globally, for = =20 >> Latin and Greek (I'm working on an OpenType math font that has no =20 >> italics). > > There is no interface yet, but you can set math attributes by > either explicitly setting them > > \appendtoks > \setmathattribute{regular}{tf} > \to \everymathematics > > or by redefining mathdefault > > \unexpanded\def\mathdefault {\setmathattribute{regular}{tf}} Thanks for the tip, but this seems not to work for Greek symbols: \unexpanded\def\mathdefault {\setmathattribute{regular}{tf}} \starttext \startformula ABC \phi\Phi\Omega \stopformula \stoptext Only Latin is upright, but not Greek. Regards, Khaled --=20 Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqlhdMACgkQRoqITGOuyPI4GwCdHrihTemjMo6HOQaY373/Iml2 CQAAn1MT/um0jxOzBwFGtG5FDi6hKH2p =3h0u -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- --===============1555097344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1555097344==--