From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17643 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Sidebars and versals Oh my! Date: Mon, 27 Dec 2004 10:10:06 -0500 Organization: WexfordPress Message-ID: <200412271010.06790.john@wexfordpress.com> References: <41CF2028.6050100@wxs.nl> <20041227113358.13693@news.comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104160751 6209 80.91.229.6 (27 Dec 2004 15:19:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 15:19:11 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 27 16:19:04 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CiweG-0005bs-00 for ; Mon, 27 Dec 2004 16:19:04 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9988127BF; Mon, 27 Dec 2004 16:19:03 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10428-02; Mon, 27 Dec 2004 16:18:59 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8F9DF127B1; Mon, 27 Dec 2004 16:18:59 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C257127B1 for ; Mon, 27 Dec 2004 16:18:59 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10243-06-2 for ; Mon, 27 Dec 2004 16:18:58 +0100 (CET) Original-Received: from mta11.adelphia.net (unknown [68.168.78.205]) by ronja.ntg.nl (Postfix) with ESMTP id 1645B127B0 for ; Mon, 27 Dec 2004 16:18:57 +0100 (CET) Original-Received: from 69-174-190-44.frdrmd.adelphia.net ([69.174.190.44]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041227151857.IRBR1403.mta11.adelphia.net@69-174-190-44.frdrmd.adelphia.net>; Mon, 27 Dec 2004 10:18:57 -0500 Original-To: "Adam Lindsay" User-Agent: KMail/1.6.2 In-Reply-To: <20041227113358.13693@news.comp.lancs.ac.uk> Content-Disposition: inline X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17643 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17643 On Monday 27 December 2004 06:33, Adam Lindsay wrote: > h h extern said this at Sun, 26 Dec 2004 21:33:44 +0100: > >> Context already has mechanisms for flowing or wrapping text around a > > > >graphic. > > > >> How well the wraparound feature works when more than one short > > paragraph is > > >> involved I have not tested yet. > > > >the mp based background mechanism can handle that: see plus-rul.tex > > > >(there is also another mechanism available which permits rather nasty > >variants > >but i still had no time to document it, so it's currently a hidden > > feature) > > plus-rul is interesting, but I'm 98% certain that when John talks about > sidebars, he means what you call intermezzos. My interpretation, using > the things I do know (or figured out this morning): Adam is right. Think of an "intermezzo" with a gray background but either in the margin,or placed in the outer part of the text block like an illustration, or protruding from the text block. The term "sidebar" is American magazine usage. Generally a sidebar in this sense contains a summary of the contents of the page or repeats an important point. Bill McClain in his tutorial covers an in margin sidebar but without the gray background which can be tricky. The Context Manual gives examples of graphics in the text block with text flowing around them. The Details Manual shows graphics protruding into the margin, but I would envision protruding no more than 50% of the width of the inserted item. I will play with the code below to see what luck I have. > > \setupfloat [intermezzo] > [leftmargindistance=-\outercombitotal, > rightmargindistance=-\outercombitotal, > default=outer] > \setupcaption[intermezzo][location=none] > \starttext > \showframe > \input ward > \placeintermezzo{}{\framedtext[width=7cm]{\tfx\input dawkins }} > \dorecurse{3}{\input knuth \par} > \stoptext > > What I don't know, however, is: 1) how to force a width on flowed text > within a float without resorting to the internal \framedtext, or 2) how > to use this with \splitfloat, which is what I suspect people who think > about sidebars (intermezzo texts) are going to be worried about in a > batch-based system. -- John Culleton Short list of publishing/marketing books: http://wexfordpress.com/tex/shortlist.pdf