From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30207 Path: news.gmane.org!not-for-mail From: The Wizard Newsgroups: gmane.comp.tex.context Subject: Re: Problem with external graphics Date: Wed, 09 Aug 2006 15:27:25 -0700 Organization: Sun Client Solutions Message-ID: <44DA614D.5050608@sun.com> References: <44DA4149.7090500@sun.com> <44DA4F83.7010109@wxs.nl> Reply-To: Mark.Almeida@Sun.COM, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155162470 31927 80.91.229.2 (9 Aug 2006 22:27:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2006 22:27:50 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 10 00:27:46 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GAwWb-0006ib-Dv for gctc-ntg-context-518@m.gmane.org; Thu, 10 Aug 2006 00:27:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 87AD31FE75; Thu, 10 Aug 2006 00:27:40 +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 03514-05; Thu, 10 Aug 2006 00:27:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 136DC1FE6D; Thu, 10 Aug 2006 00:27:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CCD4C1FE6D for ; Thu, 10 Aug 2006 00:27:32 +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 03645-06 for ; Thu, 10 Aug 2006 00:27:29 +0200 (CEST) Original-Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by ronja.ntg.nl (Postfix) with SMTP id 37AD01FE3D for ; Thu, 10 Aug 2006 00:27:27 +0200 (CEST) Original-Received: from fe-amer-09.sun.com ([192.18.108.183]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k79MRQVB022372 for ; Wed, 9 Aug 2006 16:27:27 -0600 (MDT) Original-Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J3R00F014XGHH00@mail-amer.sun.com> (original mail from Mark.Almeida@Sun.COM) for ntg-context@ntg.nl; Wed, 09 Aug 2006 16:27:26 -0600 (MDT) Original-Received: from [192.168.1.28] ([71.146.74.254]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J3R00EES51QSL5J@mail-amer.sun.com>; Wed, 09 Aug 2006 16:27:26 -0600 (MDT) In-reply-to: <44DA4F83.7010109@wxs.nl> Original-To: Hans Hagen User-Agent: Thunderbird 1.5.0.5 (X11/20060730) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30207 Archived-At: Hans Hagen wrote: > The Wizard wrote: > >> All - >> I am experiencing some strange behavior with external graphics. I >> use one file to setup all the graphics for later inclusion. All that is >> in the file is a bunch of "\useexternalgraphics" statements, so I can >> reference the graphics by name later. The problem comes when I try to >> use "\placefigure" instead of "\externalfigure". Here is an example: >> >> Figure setup: >> >> \useexternalfigure[Figure 1][Figure1][scale=520,type=pdf,factr=broad] >> % This sets up the file 'Figure1.pdf' for later inclusion >> >> If I then reference it using >> >> \externalfigure[Figure 1] >> >> the figure is included at the spot following the text, and fits on the >> remainder of the page, which is what I want. But if I try to add a >> caption to it by using >> >> \placefigure >> [force][] >> {} >> {\externalfigure[Figure 1][Figure 1]} >> >> the figure gets the caption, but always is placed on the top of the >> following page. Why is this? >> >> >> > because it dos not fit (spacing around it, > > \placefigure > [force,none][] > {} > {\externalfigure[Figure 1][Figure 1]} > > > may help > > Hans - I tried this solution, the result is still the same. Is there an easy way to find out why it doesn't fit? Does adding the caption cause it to require more space? I also tried the answer offered by Renaud, "\placefigure[here]{none}{\externalfigure[Figure1]}", which results in no figure at all. -- Mark Almeida mark.almeida@sun.com Solutions Architect (707)398-9524/x81132 Sun Client Solutions (707)429-0341 Home Office (707)480-5038 Cell