From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14189 Path: main.gmane.org!not-for-mail From: Reimer Behrends Newsgroups: gmane.comp.tex.context Subject: Floats in Columnsets Date: Sat, 6 Dec 2003 23:50:36 +0000 (UTC) Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070755700 6439 80.91.224.253 (7 Dec 2003 00:08:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 00:08:20 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Dec 07 01:08:18 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASmTC-0002f4-00 for ; Sun, 07 Dec 2003 01:08:18 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 444FA10B3E; Sun, 7 Dec 2003 01:08:14 +0100 (MET) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by ref.ntg.nl (Postfix) with ESMTP id 581DB10AFA for ; Sun, 7 Dec 2003 01:00:23 +0100 (MET) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ASmLW-0001xK-00 for ; Sun, 07 Dec 2003 01:00:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ref.ntg.nl Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASmC5-0001tB-00 for ; Sun, 07 Dec 2003 00:50:37 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ASmC4-0001H6-00 for ; Sun, 07 Dec 2003 00:50:36 +0100 Original-Lines: 36 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: slrn/0.9.8.0 (Linux) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14189 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14189 It appears as though \placefigure doesn't work very well with columnsets if the size of the floats isn't an exact multiple of the underlying grid. More precisely, \placefigure and friends, when used with any of the *tb and tb* options (tblr, tbrl, lrtb, rltb, fxtb) snap the bottom of the figure to the grid rather than the top. Of course, that means that most of the time figures will not be aligned at the top. (See below for an example.) Does anybody know of a fix or workaround for this problem? Reimer Behrends \showframe \showgrid \setuplayout[ backspace=0.75in,topspace=0.75in, width=7.0in,height=9.5in, header=0.0in,footer=0.35in] \setuppapersize[letter][letter] \definecolumnset[two][n=2,distance=12pt] \def\myfig#1{\placefigure[tblr]{none}{ \framed[offset=6pt,width=broad,align=right]{ \switchtobodyfont[10pt] #1 }}} \setupbodyfont[12pt] \starttext \startcolumnset[two] \myfig{\input knuth} \dorecurse{3}{\input knuth}\myfig{\input tufte} \stopcolumnset \stoptext