From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28288 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: eqno not in math Date: Sat, 27 May 2006 17:15:50 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148835638 8350 80.91.229.2 (28 May 2006 17:00:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 May 2006 17:00:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun May 28 19:00:37 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 1FkOcy-0002HZ-OE for gctc-ntg-context-518@m.gmane.org; Sun, 28 May 2006 19:00:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11E6D12849; Sun, 28 May 2006 19:00:32 +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 05787-03-4; Sun, 28 May 2006 19:00:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A34591283D; Sun, 28 May 2006 19:00:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2677612796 for ; Sun, 28 May 2006 19:00:18 +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 05710-04-4 for ; Sun, 28 May 2006 19:00:14 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id DFCDD12836 for ; Sun, 28 May 2006 19:00:09 +0200 (CEST) Original-Received: from 119-119.uva.surfnetthuis.nl [145.98.119.119] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k4SH05Q25467; Sun, 28 May 2006 19:00:06 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Original-To: NTG ConTeXt X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: by amavisd-new 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:28288 Archived-At: Something strange occurs in math, doing: \placeformula\startformula H(K|M,C) = H(K|C) - H(M|C)\eqno{\hbox{(\in{}[eq:keyapp])}} \stopformula produces the following error: ------------------------------------ ! You can't use `\eqno' in math mode. \normalreqno {\doformulanumber [][][]{}} \secondoftwoarguments #1#2->#2 \dostopformula ->\doplaceformulanumber \getvalue {\e!stop \formulaparameter ... l.20 \stopformula ------------------------------------ Why cannot \eqno be used in math mode? It is its raison d'etre! Plain TeX typesets the following input without problems: $$ a = b + c\eqno{(12)} $$ \end Strange enough the following does work as expected: \placeformula\startformula \eqalignno{ H(K|M,C) &= H(K|C) - H(M|C)&\eqno{\hbox{(\in{}[eq:keyapp])}}\cr } \stopformula Is this a little bug perhaps? Hans van der Meer