ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ian Lawrence <physics.rooted@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: relative references
Date: Fri, 12 Aug 2011 06:52:39 +0100	[thread overview]
Message-ID: <BE1ACDBB-2F4A-4064-86BE-8B406E53A26D@gmail.com> (raw)
In-Reply-To: <20110811174631.GA2145@iram-hb-003386.extra.cea.fr>

So here is the simplest example I could manage…


There are three folders

trial.. Containing the file that is called relabs.tex

trial/graphics/.. Containing pic.pdf

trial/tex… Containing pickedup.tex


Here is the contents of relabs.tex

\starttext
with absolute reference to another tex file


\input /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/tex/pickedup.tex

with absolute reference to another graphics file


\externalfigure [/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf]

\page

with relative reference to another tex file


\input ./tex/pickedup.tex

with relative reference to another graphics file

\setupexternalfigures[directory={./graphics}]

\externalfigure [pic.pdf]

\stoptext

Those on the first page work - absolute references. Those on the second do not - relative references.

Beer for getting me out of this puzzle, even if I am not at Bassenge.

On 11 Aug 2011, at 18:46, Alan Braslau wrote:

> On Thu, Aug 11, 2011 at 06:05:30PM +0200, Wolfgang Schuster wrote:
>> 
>> The usual payment is a bottle of beer at a TeX conference ;)
>> 
> 
> On Thu, Aug 11, 2011 at 07:11:22PM +0300, Mari Voipio wrote:
>> 
>> This so-called advice is free. :-D
>> 
> 
> Mari,
> 
> Do you mean that you will not be coming to Bassenge (and offering Wolfgang a bottle of beer)?
> 
> Alan
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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


  reply	other threads:[~2011-08-12  5:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 15:55 Ian Lawrence
2011-08-11 16:05 ` Wolfgang Schuster
2011-08-11 17:46   ` Alan Braslau
2011-08-12  5:52     ` Ian Lawrence [this message]
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
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=BE1ACDBB-2F4A-4064-86BE-8B406E53A26D@gmail.com \
    --to=physics.rooted@gmail.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).