From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69204 Path: news.gmane.org!not-for-mail From: Christoph Redecker Newsgroups: gmane.comp.tex.context Subject: Re: Placing figures flush right and captions in the margin Date: Wed, 15 Jun 2011 15:41:17 +0200 Message-ID: <4DF8B67D.7000403@tu-harburg.de> References: <4DF61B57.6050708@tu-harburg.de> <4DF7784B.3010603@tu-harburg.de> <4DF86AAD.1020204@wxs.nl> <4E89B9D4-BEB1-43FE-9A94-9A2EE725443C@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308145303 1187 80.91.229.12 (15 Jun 2011 13:41:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 13:41:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 15 15:41:39 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWqLd-0003Xc-0q for gctc-ntg-context-518@m.gmane.org; Wed, 15 Jun 2011 15:41:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 557A3CADEA; Wed, 15 Jun 2011 15:41:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ngGt6D7gJ0RZ; Wed, 15 Jun 2011 15:41:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66408CADC0; Wed, 15 Jun 2011 15:41:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B2B98CADC0 for ; Wed, 15 Jun 2011 15:41:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rwRzRcN3TzuB for ; Wed, 15 Jun 2011 15:41:21 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 487C1CAD97 for ; Wed, 15 Jun 2011 15:41:21 +0200 (CEST) Original-Received: from smtp3.rz.tu-harburg.de (smtp3.rz.tu-harburg.de [134.28.202.138]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5FDfKRU027853 for ; Wed, 15 Jun 2011 15:41:20 +0200 Original-Received: from mail.tu-harburg.de (mail.tu-harburg.de [134.28.202.179]) by smtp3.rz.tu-harburg.de (8.13.8/8.13.8) with ESMTP id p5FDfKFc006784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 15 Jun 2011 15:41:20 +0200 Original-Received: from [134.28.97.68] (joule.tt.tu-harburg.de [134.28.97.68]) (user=ttcr mech=PLAIN bits=0) by mail.tu-harburg.de (8.13.8/8.13.8) with ESMTP id p5FDfJNl016986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Jun 2011 15:41:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tu-harburg.de; s=x2011-24; t=1308145279; bh=uQHbSX1fbzTiBcHkANzqvnLSgJE/h3DkDkqxU94TWVc=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=RGC55aLJ+O1MplcS7d/rNcVaKTOqR+PxwV9I3nkaSVGY7Pk6sDDPRpoPDJXLEwxG/ hfjEcShRMJlXrnvTD761wBREYZe34t3Z7FgojmEh60KeRppc33LycgZlpzSligu/S8 AtiGzxlU6ER84ppynSViLGMRI8w4uUgDcRrnT72E= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Thunderbird/3.1.7 In-Reply-To: <4E89B9D4-BEB1-43FE-9A94-9A2EE725443C@googlemail.com> X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Scanned-By: TUHH Rechenzentrum content checker on 134.28.202.138 X-Scanned-By: TUHH Rechenzentrum content checker on 134.28.202.179 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.28.202.138; country=DE; region=04; city=Hamburg; latitude=53.5500; longitude=10.0000; http://maps.google.com/maps?q=53.5500,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEUdFkoR - 7ff10846069c - 20110615 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69204 Archived-At: Am 15.06.2011 15:15, schrieb Wolfgang Schuster: > > Am 15.06.2011 um 10:17 schrieb Hans Hagen: > >> Did you check the details.pdf manualal? > > This won=92t help because it=92s ConTeXt=92s fault. > > This is a quick fix for strc-flt.mkiv but the leftmargin etc. keys are > then ignored when the caption is placed in the margin. > > %\def\locatefloatbox > % {\alignstrutmode\zerocount > % \shiftalignedline > % {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% > % {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}% > % \alignedline{\floatparameter\c!location}\v!middle} > > \def\locatefloatbox > {\alignstrutmode\zerocount > \doifnotcommon{\floatcaptionparameter\c!location}{\v!outermargin,\v!i= nnermargin,\v!leftmargin,\v!rightmargin} > {\shiftalignedline > {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% > {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}}% > \alignedline{\floatparameter\c!location}\v!middle} > > The reason why the caption disappears is that you put it > in \everyrightofalignedline and the content is replaced with > the rightmargin skip in the \shiftalignedline command. > > Wolfgang Thank you Wolfgang, I'll try this as soon as I have access to my ConTeXt. Christoph ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________