From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69203 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Placing figures flush right and captions in the margin Date: Wed, 15 Jun 2011 15:15:40 +0200 Message-ID: <4E89B9D4-BEB1-43FE-9A94-9A2EE725443C@googlemail.com> References: <4DF61B57.6050708@tu-harburg.de> <4DF7784B.3010603@tu-harburg.de> <4DF86AAD.1020204@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308143762 23231 80.91.229.12 (15 Jun 2011 13:16:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 13:16:02 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 15 15:15:58 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 1QWpwr-0005Im-4q for gctc-ntg-context-518@m.gmane.org; Wed, 15 Jun 2011 15:15:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5D87CADF6; Wed, 15 Jun 2011 15:15:55 +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 YzLfMJKZeniY; Wed, 15 Jun 2011 15:15:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9EB2CADED; Wed, 15 Jun 2011 15:15:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16F09CADED for ; Wed, 15 Jun 2011 15:15:52 +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 QgfZjB3xY36I for ; Wed, 15 Jun 2011 15:15:46 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 41D89CADD8 for ; Wed, 15 Jun 2011 15:15:46 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5FCZp3D006433 for ; Wed, 15 Jun 2011 14:35:52 +0200 Original-Received: by bwz17 with SMTP id 17so673082bwz.14 for ; Wed, 15 Jun 2011 06:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=WqFeGzk43mArvkArj/8y2vNiw+7ZVSn02MtpoUq35Zc=; b=ClNqf9k3W+q/kxGqAebsu3yayhpCsMj1xMRCXyL1W9MdoWTdPNFWnKvgKoyxfJ+B8r TM22FWOqzUXH3iG1HBZkerCZM8IdlG+Nej6NibpOAGKopiGS/qLU87MYs5kPUgE7YQCk VjBOUpkvLuYYY3/tK65GolHe+rfJ4RWk9Gf1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=o0Fm8G+QA3mIr3IRyjSYUCV1MPREMphvMOiEjJI84TRN7VLpx9V8dis5dnlUwXmQZI 4hWba2phi/mZQdLNtVyD/dHZmin25OZRkQ57zFGE3yDbemKjT2z0m6gSkSoNACxf7oum zwISi2dg6Nhcm2ckk7meObrY3FEvrZiQlJUjk= Original-Received: by 10.204.84.36 with SMTP id h36mr531117bkl.76.1308143743771; Wed, 15 Jun 2011 06:15:43 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EE7C8.dip.t-dialin.net [91.14.231.200]) by mx.google.com with ESMTPS id n3sm440842bka.16.2011.06.15.06.15.41 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2011 06:15:42 -0700 (PDT) In-Reply-To: <4DF86AAD.1020204@wxs.nl> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aEUczPkK - d77ca5a289c7 - 20110615 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:69203 Archived-At: 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!inne= rmargin,\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 ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________