From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83630 Path: news.gmane.org!not-for-mail From: Jannik Voges Newsgroups: gmane.comp.tex.context Subject: Re: bug in \externalfigure Date: Thu, 01 Aug 2013 17:19:14 +0200 Message-ID: <9FBDCAB8-9C4B-4580-9B80-90EC163E5906@icloud.com> References: <027C1595-7898-4B75-A677-BA4C24FE9B3F@icloud.com> <87a9l1wmae.fsf@micropit.couberia.selfip.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375370388 17515 80.91.229.3 (1 Aug 2013 15:19:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 15:19:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 01 17:19:51 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4ufJ-0001bO-Vm for gctc-ntg-context-518@m.gmane.org; Thu, 01 Aug 2013 17:19:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4DE35101E8; Thu, 1 Aug 2013 17:19:13 +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 eaL8hvMWsqsv; Thu, 1 Aug 2013 17:19:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9DFCE101E5; Thu, 1 Aug 2013 17:19:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29363101E5 for ; Thu, 1 Aug 2013 17:19:11 +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 BhuJfVg1JYeW for ; Thu, 1 Aug 2013 17:19:00 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id A97C5101E4 for ; Thu, 1 Aug 2013 17:19:00 +0200 (CEST) Original-Received: from st11p05mm-asmtp001.mac.com (st11p05mm-asmtpout004.mac.com [17.172.108.249]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r71FJVGV001404 for ; Thu, 1 Aug 2013 17:19:31 +0200 Original-Received: from [10.18.168.205] (unknown [134.76.38.148]) by st11p05mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MQU0068MYK2SW60@st11p05mm-asmtp001.mac.com> for ntg-context@ntg.nl; Thu, 01 Aug 2013 15:19:16 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-08-01_06:2013-08-01,2013-08-01,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1308010115 In-reply-to: <87a9l1wmae.fsf@micropit.couberia.selfip.net> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=17.172.108.249; country=US; region=CA; city=Cupertino; postalcode=95014; latitude=37.3042; longitude=-122.0946; metrocode=807; areacode=408; http://maps.google.com/maps?q=37.3042,-122.0946&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06K7rjvv1 - 4a5daa2d4ccb - 20130801 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83630 Archived-At: You are right. I was a little bit confused, because I didn't know, that you= have to add 'location=3Ddefault' to get the sample files, so I thought, th= at might also be buggy. 'test' is a test-file (pdf, jpeg, ...) in the curre= nt directory (I have not mentioned that). In my second Mail I included the = source files with 'test.pdf'. You can see the bug there or when you compile= the example below. This time, the sample files are loaded correctly and yo= u will see, that the second graphic and sentence are missing. \setupexternalfigures[location=3Ddefault] \starttext \externalfigure[cow.pdf] \page This text will appear. \externalfigure[cow.pdf][width=3D10cm] This text will not appear. \stoptext Am 01.08.2013 um 15:52 schrieb Peter M=FCnster : > On Thu, Aug 01 2013, Jannik Voges wrote: > = >> The first two \externalfigure-commands (with cow) will give a grey place= holder >> with 'state:unknown' in it. > = > Yes, you need "\setupexternalfigures[location=3Ddefault]" for finding the > sample files of the distribution. > = > = >> The third \externalfigure-command (\externalfigure[test]) will work, >> and the last one won't. In this example, you will get an empty third >> page and the text after the \externalfigure-command doesn't appear in >> the pdf. 'test' can be a pdf-file or jpeg-file (I only tested whose >> types of files). > = > If you want, that other people can reproduce your problem, you have at > least 2 possibilities: > 1.) You use "\setupexternalfigures[location=3Ddefault]" and the sample > files of the distribution. > 2.) Or if 1.) doesn't work, you provide somewhere the needed files for > reproducing the problem. > = > See also > http://wiki.contextgarden.net/ConTeXt_Mailing_Lists#Before_asking_on_the_= list > = > -- = > Peter > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________