From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66284 Path: news.gmane.org!not-for-mail From: Jeong Dalyoung Newsgroups: gmane.comp.tex.context Subject: about the line break after \inframed Date: Tue, 22 Feb 2011 22:58:21 +0900 Message-ID: <57FB0DEB-3FA0-4982-BA6E-DC0550D00F99@me.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 1298383145 25847 80.91.229.12 (22 Feb 2011 13:59:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 13:59:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 22 14:59:00 2011 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 1PrslY-0006PK-HK for gctc-ntg-context-518@m.gmane.org; Tue, 22 Feb 2011 14:59:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C34D8CAA67; Tue, 22 Feb 2011 14:58:59 +0100 (CET) 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 Frzv3NmGcv2v; Tue, 22 Feb 2011 14:58:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2A3DCAA5E; Tue, 22 Feb 2011 14:58:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0800DCAA5E for ; Tue, 22 Feb 2011 14:58:47 +0100 (CET) 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 gzFNzoYj2cIj for ; Tue, 22 Feb 2011 14:58:27 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 01188CAA34 for ; Tue, 22 Feb 2011 14:58:26 +0100 (CET) Original-Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1MDwPBK007187 for ; Tue, 22 Feb 2011 14:58:26 +0100 Original-Received: from [211.212.210.98] by asmtp025.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LH0006B3UTA6630@asmtp025.mac.com> for ntg-context@ntg.nl; Tue, 22 Feb 2011 05:58:24 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-22_06:2011-02-22, 2011-02-22, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102220056 X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=17.148.16.100; country=US; region=CA; city=Cupertino; postalcode=95014; latitude=37.3042; longitude=-122.0946; metrocode=807; areacode=408; http://maps.google.com/maps?q=37.3042,-122.0946&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEb1Wptm - 12b2287ee59c - 20110222 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:66284 Archived-At: Dear all, I tested the following code from Metafun. \startuseMPgraphic{lions b} picture pic; path p ; p := fullsquare xyscaled (\overlaywidth,\overlayheight) randomized 5pt ; pickup pencircle scaled 1pt ; fill p withcolor .850yellow ; draw p withcolor .5yellow ; \stopuseMPgraphic \defineoverlay[leopard][\uniqueMPgraphic{lions b}] \def\nota#1 {\inframed[frame=off,background=leopard]{#1}} \starttext \nota{test 1:} This is a test for line separation. %\midaligned{\nota{test 2}} \stoptext Then the sentence "This is a test." is written in a new line as following. test 1: This is a test. Q1. I'd like to have it in the same line as "test 1: This is a test." How to surpress the line break after test? Q2. Also, if I try to add \midaligned{}, then an error occured. .... ! Argument of \nota has an extra }. ... ... \par } l.15 \midaligned{\nota{test 2}} How to put it midaligned? Thank you. Best regards, Dalyoung ___________________________________________________________________________________ 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 ___________________________________________________________________________________