From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77337 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: indent a block of text Date: Sun, 15 Jul 2012 21:02:15 +0200 Message-ID: <87629o7sqw.fsf@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342378943 6534 80.91.229.3 (15 Jul 2012 19:02:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2012 19:02:23 +0000 (UTC) To: ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 15 21:02:23 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SqU5H-00064M-2d for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jul 2012 21:02:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E00BC101E8; Sun, 15 Jul 2012 21:02:21 +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 BkPj7RfmnNZb; Sun, 15 Jul 2012 21:02:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59A8F101EC; Sun, 15 Jul 2012 21:02:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5276E101EC for ; Sun, 15 Jul 2012 21:02:18 +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 Fi705L31NZJ5 for ; Sun, 15 Jul 2012 21:02:17 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 9687A101E8 for ; Sun, 15 Jul 2012 21:02:17 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6FJ2Gc2002440 for ; Sun, 15 Jul 2012 21:02:16 +0200 Original-Received: from micropit.couberia.bzh ([2.2.69.20]) by mwinf5d67 with ME id aj2F1j00G0SEP0J03j2Fue; Sun, 15 Jul 2012 21:02:16 +0200 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 88D8D5007D7; Sun, 15 Jul 2012 21:02:15 +0200 (CEST) Mail-Followup-To: ConTeXt users User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.130; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHyH2gOQ - a2aaa8e01b1f - 20120715 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77337 Archived-At: Hi, I want to indent a block of text to the right by the width of some other short text: --8<---------------cut here---------------start------------->8--- \starttext \framed[height=5cm, offset=0pt, strut=no, frame=off]{% Bla:~\framed[location=top, align=flushleft, height=max, offset=pt, frame=off]{% This text is indented to the right by the amount of the width of \quote{Bla:~}. Can this be done better? \vfill \rightaligned{At the bottom of the outer box.}}} \stoptext --8<---------------cut here---------------end--------------->8--- Any hints, how to do this in a cleaner way? TIA, -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________