From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52467 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \everymath problem Date: Wed, 19 Aug 2009 16:53:57 +0200 Message-ID: References: <87pras546e.fsf@gmail.com> <4A8C1091.5000601@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250693672 19008 80.91.229.12 (19 Aug 2009 14:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Aug 2009 14:54:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 19 16:54:25 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 1MdmYP-0006Lr-Hg for gctc-ntg-context-518@m.gmane.org; Wed, 19 Aug 2009 16:54:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0C94C9A86; Wed, 19 Aug 2009 16:54:20 +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 BsxepVe56pFs; Wed, 19 Aug 2009 16:54:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06F64C9AB7; Wed, 19 Aug 2009 16:53:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60840C9AB7 for ; Wed, 19 Aug 2009 16:53:57 +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 Kw0l5ikrfYC0 for ; Wed, 19 Aug 2009 16:53:52 +0200 (CEST) Original-Received: from mail-ew0-f223.google.com (mail-ew0-f223.google.com [209.85.219.223]) by balder.ntg.nl (Postfix) with ESMTP id 3539BC9A86 for ; Wed, 19 Aug 2009 16:53:52 +0200 (CEST) Original-Received: by ewy23 with SMTP id 23so4526482ewy.8 for ; Wed, 19 Aug 2009 07:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=OCd94JqoEwgt2DaK8L4U0Vr5CblgQK27Nb+t764w6ZE=; b=CSjjXNCMUmql37tr0adPO0i9exVdbroEXnyZIDFKBExW5ubFkp0mnJKSjMpbCFm7jf GnJCUgYsKq9lucSuvmD9kTjosb2jI1OvWcNH1mKAaj+uWk7tEv+ef+J6zn8EBwUVUIal QbHJHlyWusHyensp30SqFHRatXdCaFwT2Hox4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=T0XrW/2EDAAYdImG1HNXX2TkljVd4bmR06Mb4knzSBCBRMJs4+MkbShz0+KdvbkBVO rwhzawq55d1J2ktezZa0reKVrXZzwXDWpUMSQJzUqV+3xa8NViYcJUUwmzmj6em5El7h 22+eW9QH8Y0RpGcZE4stR1fX565JoKweQcF8s= Original-Received: by 10.210.130.13 with SMTP id c13mr5859609ebd.0.1250693631471; Wed, 19 Aug 2009 07:53:51 -0700 (PDT) Original-Received: from ?10.40.239.177? ([82.113.121.158]) by mx.google.com with ESMTPS id 24sm603152eyx.53.2009.08.19.07.53.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Aug 2009 07:53:50 -0700 (PDT) In-Reply-To: <4A8C1091.5000601@wxs.nl> X-Mailer: Apple Mail (2.936) 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:52467 Archived-At: Am 19.08.2009 um 16:47 schrieb Hans Hagen: > Eythan Weg wrote: >> Hi, >> I use luatex 0.43 with yesterday's beta. Running \everymath = >> {\displaystyle} >> \starttext >> ${a\over b}$ >> \stoptext >> results in ! Use of \dospecialabout doesn't match its definition. >> l.4 ${a\over b >> }$ >> Plain format under luatex has no problem here. >> If I change \over to \times it runs with fonts changed >> to roman (i.e, not math italics). > > taco and i looked into it (fearing big problems) but it's actually > normal; use > > \everymath = \expandafter{\the\everymath \displaystyle} > > or > > \appendtoks \displaystyle \to \everymath > > as (among other important things) \everymath does initialize \over And with \frac it can be configured at context low level (why no key for \setupmathematics?) \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5=mathstyle $\frac{a}{b}$ Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________