ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: usepath?
Date: Thu, 29 Sep 2011 19:18:24 +0200	[thread overview]
Message-ID: <C76767EE-C967-48DB-ACA6-833EB4AFF755@googlemail.com> (raw)
In-Reply-To: <3EA6DE4D-E678-4F1E-A530-14E29BB3C6C8@uva.nl>


Am 29.09.2011 um 18:54 schrieb Meer, H. van der:

> This didn't work for me. I guess it has to do with some misunderstanding about the directory from where projects start reckoning. The directory structure is:
> 
> directory-project
> directory-project/product (context runs from here)
> directory-project/product/component-a-subfiles
> directory-project/product/component-b-subfiles
> 
> Code in directory-project/product/component-a-subfile does \input but cannot find files in directories below or in directories alongside. My question is "from what directory starts the search tree?

When you process the product it starts from the directory where the product is (directory-project/product) and when you process a component it starts from the directory where the component files is (“directory-project/product/component-a-subfiles” or “directory-project/product/component-b-subfiles”). You problem could be that you use \input to load the components but you need the \component command.

Wolfgang
___________________________________________________________________________________
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-09-29 17:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 15:18 usepath? Meer, H. van der
2011-09-29 15:23 ` usepath? Wolfgang Schuster
2011-09-29 16:54   ` usepath? Meer, H. van der
2011-09-29 17:18     ` Wolfgang Schuster [this message]
2011-09-29 17:19 ` usepath? Wolfgang Schuster

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=C76767EE-C967-48DB-ACA6-833EB4AFF755@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).