From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24137 Path: news.gmane.org!not-for-mail From: "John R. Culleton" Newsgroups: gmane.comp.tex.context Subject: Back to sidebars. Date: Mon, 5 Dec 2005 11:28:57 -0500 Organization: WexfordPress Message-ID: <200512051128.58177.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133805516 6505 80.91.229.2 (5 Dec 2005 17:58:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 17:58:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 05 18:58:31 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjKZs-0002PC-9z for gctc-ntg-context-518@m.gmane.org; Mon, 05 Dec 2005 18:56:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D34D9127BD; Mon, 5 Dec 2005 18:56:39 +0100 (CET) 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 19677-05; Mon, 5 Dec 2005 18:56:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6101127C6; Mon, 5 Dec 2005 18:29:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72929127C6 for ; Mon, 5 Dec 2005 18:29:49 +0100 (CET) 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 13464-08 for ; Mon, 5 Dec 2005 18:29:48 +0100 (CET) Original-Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by ronja.ntg.nl (Postfix) with ESMTP id 4A6F7127BD for ; Mon, 5 Dec 2005 18:29:45 +0100 (CET) Original-Received: from 69-174-190-44.frdrmd.adelphia.net ([69.174.190.44]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051205172944.ZDOO26058.mta11.adelphia.net@69-174-190-44.frdrmd.adelphia.net> for ; Mon, 5 Dec 2005 12:29:44 -0500 Original-To: mailing list for ConTeXt users User-Agent: KMail/1.7.2 Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24137 Archived-At: Some time back (maybe three years ago) Hans showed me a way to create a sidebar, with optional background and hanging out half way into the margin. Now I would like to encapsulate the commands into a simple \start \stop sequence. But I don't know how to do it. Hans started off with some definitions: \setupfloat [intermezzo] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default={outer,high}] \setupcaption[intermezzo][location=none] \defineframedtext [myohmy] [width=6cm,bodyfont=small, frame=off, backgroundcorner=round, backgroundradius=16pt,background=screen,backgroundscreen=.7] Then he called these two definitions with a sequence like: (some text) \placeintermezzo{}{\startmyohmy\input dawkins \relax\stopmyohmy} (some text) What I would like to do is boil down the last mentioned command sequence into \startsidebar (some text) \stopsidebar But I am stumped by the task. If there were a \startintermezzo and \stopintermezzo pairing then the task would be simpler. John Culleton