From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50654 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: loading figure in LuaTeX Date: Thu, 21 May 2009 11:58:31 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <200905211158.31564.alan.braslau@cea.fr> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242900012 6516 80.91.229.12 (21 May 2009 10:00:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 10:00:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu May 21 12:00:05 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1M754H-0003kd-5Q for gctc-ntg-context-518@m.gmane.org; Thu, 21 May 2009 12:00:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2469B1FDD5; Thu, 21 May 2009 12:00:02 +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 14477-05-8; Thu, 21 May 2009 11:59:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F80A1FDD8; Thu, 21 May 2009 11:59:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BA761FD75 for ; Thu, 21 May 2009 11:59:07 +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 14477-05-7 for ; Thu, 21 May 2009 11:58:41 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id C0CEC1FD76 for ; Thu, 21 May 2009 11:58:41 +0200 (CEST) Original-Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4L9wd6v028297 for ; Thu, 21 May 2009 11:58:40 +0200 Original-Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id 4F531E0800E for ; Thu, 21 May 2009 11:58:37 +0200 (CEST) Original-Received: from iram-hb-003386.localnet (cev75-1-81-57-248-225.fbx.proxad.net [81.57.248.225]) by smtp6-g21.free.fr (Postfix) with ESMTP id 64006E08134 for ; Thu, 21 May 2009 11:58:35 +0200 (CEST) User-Agent: KMail/1.11.2 (Linux/2.6.29; KDE/4.2.2; x86_64; ; ) In-Reply-To: Content-Disposition: inline X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.27.42.6; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 229568740 - d4a63eab69f2 - 20090521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50654 Archived-At: Or \setupexternalfigures[directory={figures/math-shapes}], assuming that you are running from ~/Documents. This can be a relative path such as {../figures/math-shapes}, for example if you are compiling in a subdirectory. I suspect that your problem, as pointed out, is the expansion of the ~ shortcut to the shell variable $HOME. On Thursday 21 May 2009 11:21:10 Yanrui Li wrote: > Hi Dalyoung, > > You should use the absolute path for your figure, such as: > > \externalfigure[/home/your-name/Documents/figures/math-shapes/moebius-band] >[] > > On Thu, May 21, 2009 at 5:03 PM, Dalyoung Jeong wrote: > > Dear all, > > > > I tried to load figure in LuaTeX, but I couldn't succeed. > > However, it is perfectly working in ConTeXt and XeConTeXt. > > I don't know what is wrong. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________