ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: ntg-context@ntg.nl
Subject: Re: relative references in OSX Lion
Date: Fri, 26 Aug 2011 15:02:48 +0200	[thread overview]
Message-ID: <4E579978.4030206@elvenkind.com> (raw)
In-Reply-To: <B81FA983-4CA4-4AB3-A291-ADEFBA7CA603@gmail.com>


You have a problem with your current directory.

On 08/26/2011 02:02 PM, Ian Lawrence wrote:

Here is the file:

> context /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex

And here is the graphic

> graphics>  inclusion>  found: /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf

But here are you:

> Ian-MBP:ConTEXt_production_ws Ian$

Which is probably
   /Users/Ian/SPT_PDF_context/ConTEXt_production_ws
right?

Then that means that the graphics path of

> graphics        > inclusion > path list: . .. ../.. graphics ../graphics

expands into:

    /Users/Ian/SPT_PDF_context/ConTEXt_production_ws
    /Users/Ian/SPT_PDF_context
    /Users/Ian
    /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/graphics
    /Users/Ian/SPT_PDF_context/graphics

none of these contain the file!

You would have needed

   \setupexternalfigures[directory={graphics,trial/graphics}]

Best wishes,
Taco

___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2011-08-26 13:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 15:55 relative references Ian Lawrence
2011-08-11 16:05 ` Wolfgang Schuster
2011-08-11 17:46   ` Alan Braslau
2011-08-12  5:52     ` Ian Lawrence
2011-08-12  7:25       ` Wolfgang Schuster
2011-08-12 10:45         ` Ian Lawrence
2011-08-12 16:50           ` Hans Hagen
2011-08-12 18:02           ` Wolfgang Schuster
2011-08-13 21:16             ` Email Lists
2011-08-23 13:37           ` relative references in OSX Lion Ian Lawrence
2011-08-23 14:49             ` Hans Hagen
2011-08-26 12:02               ` Ian Lawrence
2011-08-26 12:14                 ` Hans Hagen
2011-08-26 13:02                 ` Taco Hoekwater [this message]
2011-08-26 14:32                   ` Ian Lawrence
2011-08-23 14:55             ` Wolfgang Schuster
2011-09-15  5:54               ` Ian Lawrence
2011-08-12 14:44   ` relative references Hans Hagen
2011-08-11 16:11 ` Mari Voipio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E579978.4030206@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).