From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20639 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: buffers and mathml Date: Thu, 2 Jun 2005 14:02:20 +0200 Message-ID: Reply-To: jimarin@bayesinf.com, 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: 7bit X-Trace: sea.gmane.org 1117713673 10162 80.91.229.2 (2 Jun 2005 12:01:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2005 12:01:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 02 14:01:10 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 1DdoMB-0000jX-Uc for gctc-ntg-context-518@m.gmane.org; Thu, 02 Jun 2005 13:59:28 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 932A112804; Thu, 2 Jun 2005 14:02:23 +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 02568-05-5; Thu, 2 Jun 2005 14:02:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AFC57127D8; Thu, 2 Jun 2005 14:02:19 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9500127D8 for ; Thu, 2 Jun 2005 14:02:17 +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 02568-05-4 for ; Thu, 2 Jun 2005 14:02:17 +0200 (CEST) Original-Received: from bys.bayesforecast.com (70.Red-80-37-6.pooles.rima-tde.net [80.37.6.70]) by ronja.ntg.nl (Postfix) with ESMTP id 3A41E127D2 for ; Thu, 2 Jun 2005 14:02:16 +0200 (CEST) Original-Received: from sraffa (unknown [192.9.200.119]) by bys.bayesforecast.com (Postfix) with SMTP id 323FB2B849 for ; Thu, 2 Jun 2005 14:03:49 +0200 (CEST) Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal 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:20639 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20639 Hi all, I hope not to be posing a silly question. I am trying something like: usemodule[mathml] \starttext \def\open {<} \def\close {>} \startbuffer \open math display="block"\close \open apply\close \open sin/\close \open apply\close \open plus/\close \open cn\close 2 \open /cn\close \open ci\close a \open /ci\close \open /apply\close \open /apply\close \open /math\close \stopbuffer \processXMLbuffer \stoptext But this does not pass to \processXMLbuffer the result of substituting commands \open and \close... how could this be achieved...? I know that I could have used myself the < and >'s instead of the ugly open and close but that is not my requirement. I tried defining a command \def\Wea { \open math display="block"\close \open apply\close \open sin/\close \open apply\close \open plus/\close \open cn\close 2 \open /cn\close \open ci\close a \open /ci\close \open /apply\close \open /apply\close \open /math\close } and then... \startbuffer \Wea \stopbuffer but that is plain wrong... thanks jima --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01