From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43277 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: inframed : makes a newline Date: Thu, 21 Aug 2008 11:23:27 +0200 Message-ID: <20080821092327.GA21130@gaston.couberia.bzh> References: <870A54AF-87F3-4163-B489-D186F69DAD33@mac.com> <48ABF64B.7050102@gmx.net> <20080820183247.GA6260@gaston.couberia.bzh> <115224fb0808210029y582f9f1dr3ee68c8c63ccb4e4@mail.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: ger.gmane.org 1219310755 2656 80.91.229.12 (21 Aug 2008 09:25:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 09:25:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 21 11:26:47 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KW6R6-0007FZ-2d for gctc-ntg-context-518@m.gmane.org; Thu, 21 Aug 2008 11:26:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6354A1FC11; Thu, 21 Aug 2008 11:25:27 +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 06608-03-6; Thu, 21 Aug 2008 11:24:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9CA381FBD5; Thu, 21 Aug 2008 11:24:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C59E01FB39 for ; Thu, 21 Aug 2008 11:24:14 +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 09548-01 for ; Thu, 21 Aug 2008 11:23:29 +0200 (CEST) Original-Received: from smtp21.orange.fr (smtp21.orange.fr [80.12.242.48]) by ronja.ntg.nl (Postfix) with ESMTP id 9943F1FBDB for ; Thu, 21 Aug 2008 11:23:28 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2118.orange.fr (SMTP Server) with ESMTP id 662501C00098 for ; Thu, 21 Aug 2008 11:23:28 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-93-114.w90-54.abo.wanadoo.fr [90.54.148.114]) by mwinf2118.orange.fr (SMTP Server) with ESMTP id 3E0121C00096 for ; Thu, 21 Aug 2008 11:23:28 +0200 (CEST) X-ME-UUID: 20080821092328254.3E0121C00096@mwinf2118.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id B288830582; Thu, 21 Aug 2008 11:23:27 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <115224fb0808210029y582f9f1dr3ee68c8c63ccb4e4@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:43277 Archived-At: On Thu, Aug 21 2008, Wolfgang Schuster wrote: > > For beginners (especially former LaTeX users), this is a real headache: > > \framed, \externalfigure and so on start sometimes a new paragraph, and > > sometimes not. In my opinion, these commands should behave like a simple > > hbox. > > But this is exactly what \framed does. > > \starttext > \framed{text} > \framed{text} > \hbox{text} > \hbox{text} > \stoptext Oh, you're right, I was pretty sure, that \hbox behaved like a normal letter... Ok, then I would rather like to compare this with \parbox and \includegraphics from LaTeX: they behave like normal letters. Perhaps I've just spent too much of my life-time with LaTeX... :( > What you want produce also unwanted results in other commands. > > \starttext > \placefigure > {Centered?} > {\dontleavehmode\framed{No!}} > \stoptext I don't know, why this is not centred, but I would say, that \placefigure{Centred?}{\framed{test}} and \placefigure{Centred?}{test} should behave the same way. Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________