ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: jinkijinki.jung@partner.samsung.com,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: how to change current directory ?
Date: Mon, 23 May 2011 10:34:07 +0200	[thread overview]
Message-ID: <BC11F367-8CC5-4154-B1B6-084D2A46709F@googlemail.com> (raw)
In-Reply-To: <0LLN00BP438HLGC0@mailout3.samsung.com>


[-- Attachment #1.1: Type: text/plain, Size: 1140 bytes --]


Am 23.05.2011 um 10:21 schrieb 정진기:

> Greeting context users,
>  
> Thank you for such a good tool.  Here is my question regarding changing of current directory.
>  
> I have quite a number of separate main.tex in different directories. Each main.tex is calling submain.tex
> in the same directory.  Compilation of each main.tex in its own directory is fine.
> What I am trying to do is compiling all submain.tex into one pdf file with minimum change.
> To accomplish my objective, I made a master file and put “\input  …\every\submain.tex”.
> By now, I assume you know what I am getting at.  My objective is not going to get done.
> I have to change all \input commands inside each submain.tex to reflect the absolute path.
>  
> I guess there should be one way or the other to change current-directory, so that make my job simple.

You can load file in subdirectories when you set the directory with
\usepath[<name>] and \usesubpath[<name>], you have to replace “\input <file>”
also with “\component <file>” (or “\usecomponent[<file>]”) otherwise
context won’t like in the subdirectories.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 4161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-05-23  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23  8:21 정진기
2011-05-23  8:34 ` Wolfgang Schuster [this message]

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=BC11F367-8CC5-4154-B1B6-084D2A46709F@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=jinkijinki.jung@partner.samsung.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).