From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36810 Path: news.gmane.org!not-for-mail From: Christof Meigen Newsgroups: gmane.comp.tex.context Subject: placefigure[hang] in columns Date: Mon, 01 Oct 2007 21:13:24 +0200 Message-ID: <87wsu6642z.fsf@nicht-ich.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191273358 14721 80.91.229.12 (1 Oct 2007 21:15:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2007 21:15:58 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 01 23:15:54 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IcScE-0004gl-0h for gctc-ntg-context-518@m.gmane.org; Mon, 01 Oct 2007 23:15:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C9F51FA53; Mon, 1 Oct 2007 23:15:41 +0200 (CEST) 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 14874-03-7; Mon, 1 Oct 2007 23:15:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FFBC1FA5F; Mon, 1 Oct 2007 22:42:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE3191FA59 for ; Mon, 1 Oct 2007 22:41:56 +0200 (CEST) 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 10803-05-8 for ; Mon, 1 Oct 2007 22:41:48 +0200 (CEST) Original-Received: from d36.my-system.de (d36.my-system.de [212.162.15.190]) by ronja.ntg.nl (Postfix) with ESMTP id 2276E1FC51 for ; Mon, 1 Oct 2007 21:13:16 +0200 (CEST) Original-Received: from [89.204.147.183] (helo=dixon) by d36.my-system.de with esmtp (Exim 4.63) (envelope-from ) id 1IcQhf-00066P-VD for ntg-context@ntg.nl; Mon, 01 Oct 2007 21:13:16 +0200 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) X-Info: valid message X-Info: original Date X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36810 Archived-At: Hi, I'm quite new to ConTeXT, so excuse me if the solution is obvious. I'm trying to typeset a document with three columns which contains _a lot_ of graphics, most of which are pretty small, about one third of a column. Unfortunately, while \placefigure[left,hang] works fine with one column, the text doesn't float around the picture when using two or more columns, so when I do ------ \starttext \startcolumns[n=2] \placefigure[left,hang]{none}{\externalfigure[somepic][width=1.6cm]} sometext \stopcolumns \stoptext ------ "sometext" appears in the second column, instead of next to the figure in the first column. To get an impression of what I want to achive you might try the following link: http://213.239.210.141/cgi-bin/lex.pl?titel=David%20Lynch&db=Berlin&id=58,165,166,638,2298,3749,6687,6889,8070,10392,11347,12117,14491,15640 While this comes close to what I mean (it's done in LaTeX), there are some limitations in LaTeX which make the job very painful, one of which is that it's impossible to have floats in columns for larger pictures that span one column (this works fine in Context). Am I just missing something? Ok, if that was too easy, here is the tough problem: *Actually* I would like to let the small pictures float _within_ the paragraph, so that if, say, the paragraph starts three lines before the end of the column, the picture would be set after the first three lines of the paragraph (and thus in the next column). I've experimented with writing \pdflastypos to logfiles, analysing them with a perl script, changing automatically the TeX-File and rerunning latex for days, but the results are ... well, ok, but not perfect. Thanks in advance for any hints, Christof Meigen ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________