From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58578 Path: news.gmane.org!not-for-mail From: Hongwen Qiu Newsgroups: gmane.comp.tex.context Subject: Running standalone metapost file omits spaces between btex and etex Date: Fri, 07 May 2010 15:23:39 +0800 Message-ID: <4BE3BFFB.80503@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273216984 1260 80.91.229.12 (7 May 2010 07:23:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 07:23:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 07 09:23:02 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OAHtk-0003ib-I3 for gctc-ntg-context-518@m.gmane.org; Fri, 07 May 2010 09:23:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BD74C9C92; Fri, 7 May 2010 09:23:00 +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 1zitKZfS4ej8; Fri, 7 May 2010 09:22:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B476C9C1A; Fri, 7 May 2010 09:22:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82207C9C1A for ; Fri, 7 May 2010 09:22:56 +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 AGjsksfaWDPu for ; Fri, 7 May 2010 09:22:54 +0200 (CEST) Original-Received: from mail-pv0-f169.google.com (mail-pv0-f169.google.com [74.125.83.169]) by balder.ntg.nl (Postfix) with ESMTP id BA0A3C9BB5 for ; Fri, 7 May 2010 09:22:53 +0200 (CEST) Original-Received: by pvg7 with SMTP id 7so180824pvg.14 for ; Fri, 07 May 2010 00:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=TV8QcAaaoDhp0s4xWXJ+yTVynIQtvgOeG+JLJF8xDwA=; b=WRcrWA6efUogHtpomlJ4mSuHkh/qQIHwV+UTtN784JnYXl5c1cQvvP6PbM50NDn69g lBI98XbNsHadNqjpCosngBJ6iLLthlA+6oPvrKkEuftLuMIHgLJDiMlIFuTZ3O2ijtXF ZWI2+SmRdCeKoiXvVANMIdLF849bRBFeWbplg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Bm2KQHcWdQnxbftiOgXwc4BMKn/QVy5W2NBPxWm+022raw38amJwN/PSUJqaUn40mP sTo6LM30xjpTAongybtR8pIvEubry/bHjv2nrAqhEPfSc4flBufMPV+dMrvnlfetUpU3 ZwwPtXVHA71lNeJTQ0AWrKSewPmDy+ZYE8tgo= Original-Received: by 10.115.101.14 with SMTP id d14mr13475674wam.176.1273216972502; Fri, 07 May 2010 00:22:52 -0700 (PDT) Original-Received: from feng.linfeng ([116.6.21.97]) by mx.google.com with ESMTPS id c1sm8097742wam.7.2010.05.07.00.22.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 May 2010 00:22:52 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 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:58578 Archived-At: I found that the following example \starttext \startuseMPgraphic{test} draw btex some text with space etex; \stopuseMPgraphic \useMPgraphic{test} \stoptext can generate the text between "btex" and "etex" correct no matter I use MKII or MKIV. But, when I running the following example beginfig(0); draw btex some text with space etex; endfig; end with the command line: $ mpost --mem=metafun test.mp or $ texexec --mptex test.mp It dose generate output. But the output omits all the spaces between btex and etex, with the resulting string to be "sometextwithspace". So, the question is how to get the correct results when running standalong metapost file with btex-etex strings. Thanks. ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________