From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74312 Path: news.gmane.org!not-for-mail From: Peter Park Nelson Newsgroups: gmane.comp.tex.context Subject: Graphics positioning problems in current/recent betas Date: Sat, 4 Feb 2012 23:47:48 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328420889 4279 80.91.229.3 (5 Feb 2012 05:48:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2012 05:48:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 05 06:48:09 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtuxL-0001LK-Js for gctc-ntg-context-518@m.gmane.org; Sun, 05 Feb 2012 06:48:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF2DCCB203; Sun, 5 Feb 2012 06:48:06 +0100 (CET) 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 NR7V77gmF6an; Sun, 5 Feb 2012 06:48:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 058CCCB1F4; Sun, 5 Feb 2012 06:48:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 593C9CB1F4 for ; Sun, 5 Feb 2012 06:48:02 +0100 (CET) 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 wmUmBunKN9CJ for ; Sun, 5 Feb 2012 06:47:51 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 2384ACB1E4 for ; Sun, 5 Feb 2012 06:47:50 +0100 (CET) Original-Received: from mail-tul01m020-f169.google.com (mail-tul01m020-f169.google.com [209.85.214.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q155lnAY014340 for ; Sun, 5 Feb 2012 06:47:49 +0100 Original-Received: by obbta7 with SMTP id ta7so7771162obb.14 for ; Sat, 04 Feb 2012 21:47:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=t34PvZ10GmD7NvWx9zT5lBMMgyz/lGw6PykYWA7DYP4=; b=kYjw8OyV4YqrU5WbgmXDKJhLOWDy/8uY3/m/tAXmsubwJuCIwcezTbJZ8TuduVKMSA vDquXORoO1VkfUYmMtzC9XnkKeu3a1XW/Ow8fm+/EUDcp690pCDzYGJpM3Qckzo3qrDz QRhn6jTlOwtmjkUYjeJsmsQhQVGHdDmgAMHbo= Original-Received: by 10.182.38.7 with SMTP id c7mr12216619obk.44.1328420868574; Sat, 04 Feb 2012 21:47:48 -0800 (PST) Original-Received: by 10.182.251.38 with HTTP; Sat, 4 Feb 2012 21:47:48 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; 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: 0cGu5LNyb - c5deeab002b0 - 20120205 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:74312 Archived-At: I have been studying the Details manual and have found that many of the examples presented there do not work correctly with the current or recent betas. The ones I have tested work correctly on texshow and with the Texlive 2011 (MkIV Luatex) version. 1. In the first example below (based on Details p. 25), note that the graphic is positioned very high relative to the paragraph, although vertical space appears to be reserved correctly: %%-------------------- start ----------------------------------%% \starttext \setupfloat[figure] [sidespacebefore=none,sidespaceafter=none,sidealign=depth] \input tufte\par \placefigure[inner,none]{caption}{\framed[height=3cm]{graphic}} \input tufte\par \stoptext %%------------------------ stop -----------------------%% 2. Figure position in the second example below (Details p.65) is similar, but an empty box is placed instead of the figure: %% -------------------------- start ------------------------- %% \starttext \showboxes \definelayer[text-1][position=yes] \defineanchor[rightbottom][text-1][location=lt,hoffset=max,voffset=max] \definefloat[myfigure][figure] \setupfloat[myfigure][sidespaceafter=,sidespacebefore=] \defineanchor[rightbottom][text-1][location=lt,hoffset=max,voffset=max] \input tufte\par \placemyfigure [left,none] {} {\anchor[rightbottom] {\externalfigure[dummy][width=5cm,frame=on]}} \input tufte\par \stoptext %% ----------------------------- stop ----------------------%% -- Peter Park Nelson peter.park.nelson@gmail.com ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________