ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to change current directory ?
@ 2011-05-23  8:21 정진기
  2011-05-23  8:34 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: 정진기 @ 2011-05-23  8:21 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/html, Size: 3132 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to change current directory ?
  2011-05-23  8:21 how to change current directory ? 정진기
@ 2011-05-23  8:34 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-05-23  8:34 UTC (permalink / raw)
  To: jinkijinki.jung, mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-23  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23  8:21 how to change current directory ? 정진기
2011-05-23  8:34 ` Wolfgang Schuster

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).