From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43276 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: inframed : makes a newline Date: Thu, 21 Aug 2008 09:29:40 +0200 Message-ID: <115224fb0808210029y582f9f1dr3ee68c8c63ccb4e4@mail.gmail.com> References: <870A54AF-87F3-4163-B489-D186F69DAD33@mac.com> <48ABF64B.7050102@gmx.net> <20080820183247.GA6260@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1219303885 12096 80.91.229.12 (21 Aug 2008 07:31:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 07:31:25 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 21 09:32:18 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 1KW4eY-0000O9-Cm for gctc-ntg-context-518@m.gmane.org; Thu, 21 Aug 2008 09:32:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BDFA21FB8F; Thu, 21 Aug 2008 09:31:16 +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 11939-04-25; Thu, 21 Aug 2008 09:30:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9D24E1FC32; Thu, 21 Aug 2008 09:30:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0181F1FC01 for ; Thu, 21 Aug 2008 09:30:22 +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 11939-04-24 for ; Thu, 21 Aug 2008 09:29:42 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.157]) by ronja.ntg.nl (Postfix) with ESMTP id 4A9921FB7F for ; Thu, 21 Aug 2008 09:29:42 +0200 (CEST) Original-Received: by yx-out-1718.google.com with SMTP id 3so577927yxi.74 for ; Thu, 21 Aug 2008 00:29:41 -0700 (PDT) Original-Received: by 10.151.149.14 with SMTP id b14mr1652280ybo.71.1219303780994; Thu, 21 Aug 2008 00:29:40 -0700 (PDT) Original-Received: by 10.151.103.21 with HTTP; Thu, 21 Aug 2008 00:29:40 -0700 (PDT) In-Reply-To: <20080820183247.GA6260@gaston.couberia.bzh> Content-Disposition: inline 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:43276 Archived-At: On Wed, Aug 20, 2008 at 8:32 PM, Peter M=FCnster wrote: > On Wed, Aug 20 2008, Peter Rolf wrote: > >> A \framed at the beginning of a paragraph starts in vertical mode (stuff >> is ordered vertically). The macro \dontleavehmode ensures, that the >> horizontal mode is used. > > Hello, > > Could you now change this behaviour please in MKIV? I think MKIV does not > need to be backward compatible everywhere. You forgot cases where this behavious is wanted and you would use one \framed block on top of another one. > 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 What you want produce also unwanted results in other commands. \starttext \placefigure {Centered?} {\dontleavehmode\framed{No!}} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________