From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17660 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 15:29:10 -0500 Organization: WexfordPress Message-ID: <200412271529.10169.john@wexfordpress.com> References: <41CF2028.6050100@wxs.nl> <200412271242.09149.john@wexfordpress.com> <41D0628E.2090504@wxs.nl> 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 1104179894 17171 80.91.229.6 (27 Dec 2004 20:38:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 20:38:14 +0000 (UTC) Cc: mailing list for ConTeXt users , Adam Lindsay Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 27 21:38:07 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 1Cj1d1-00077G-00 for ; Mon, 27 Dec 2004 21:38:07 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2433C127AC; Mon, 27 Dec 2004 21:38:07 +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 13331-06-3; Mon, 27 Dec 2004 21:38:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A24812798; Mon, 27 Dec 2004 21:38:04 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 882E912798 for ; Mon, 27 Dec 2004 21:38: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 13331-06-2 for ; Mon, 27 Dec 2004 21:38:02 +0100 (CET) Original-Received: from mta9.adelphia.net (unknown [68.168.78.199]) by ronja.ntg.nl (Postfix) with ESMTP id 8D900126F8 for ; Mon, 27 Dec 2004 21:38:02 +0100 (CET) Original-Received: from 69-174-190-44.frdrmd.adelphia.net ([69.174.190.44]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041227203801.HAGE14945.mta9.adelphia.net@69-174-190-44.frdrmd.adelphia.net>; Mon, 27 Dec 2004 15:38:01 -0500 Original-To: Hans Hagen User-Agent: KMail/1.6.2 In-Reply-To: <41D0628E.2090504@wxs.nl> 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:17660 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17660 On Monday 27 December 2004 14:29, Hans Hagen wrote: > \starttext > > \setupcolors[state=start] > > \framed[corner=round,background=color,backgroundcolor=red]{HELLO} > > \framed[corner=round,background=screen,backgroundscreen=.6]{HELLO} > > \setupfloat > [intermezzo] > [leftmargindistance=-\outercombitotal, > rightmargindistance=-\outercombitotal, > default=outer] > > \setupcaption[intermezzo][location=none] > > \defineframedtext > [myohmy] > > [width=7cm,bodyfont=small,corner=round,background=screen,backgroundscreen=. >6] > > \showframe > \input ward > \placeintermezzo{}{\startmyohmy \input dawkins \relax\stopmyohmy} > \dorecurse{3}{\input knuth \par} > > \stoptext > AHA! I fiddled a bit to correct justification, and to get rid of the frame. Forced hyphenation could have corrected things without so much tolerance. ------------------------------------------------- \setupcolors[state=start] \tolerance=1000 \frenchspacing \starttext \framed[corner=round,background=color,backgroundcolor=red]{HELLO} \framed[corner=round,background=screen,backgroundscreen=.6]{HELLO} \setupfloat [intermezzo] [leftmargindistance=-\outercombitotal, rightmargindistance=-\outercombitotal, default=outer,high] \setupcaption[intermezzo][location=none] \defineframedtext [myohmy] [width=7cm,bodyfont=small, frame=off, backgroundcorner=round, backgroundradius=16pt,background=screen,backgroundscreen=.7] %\showframe \input ward \placeintermezzo{}{\startmyohmy \frenchspacing\tolerance=7000\input dawkins \relax\stopmyohmy} \dorecurse{3}{\input knuth \par} \stoptext -------------------------------------- The only defect I can spot, and this is really a nit-pick, are the short lines in the main body text just above and just below the intermezzo/sidebar. This is really very valuable. A low bow in the direction of my mentors, Hans and Adam. -- John Culleton Short list of publishing/marketing books: http://wexfordpress.com/tex/shortlist.pdf