Re: [NTG-context] toppath

2012-11-29 Thread Andre Caldas
Hello! Is 'toppath:' prefix working? I use it only with \component, \environment, \product, \project. It works even if I do like this: $ mkdir build $ cd build $ context ../src/products/assorted.tex context.exe Test\t-TopPath.mkiv In this situation compilation fails. How to make it work?

Re: [NTG-context] toppath

2012-11-29 Thread Andre Caldas
Hello! My case is more complicated - a file is included from more other files in various directory levels. I do this with \component: https://bitbucket.org/andrecaldas/math-video-classes/src/92a8e5b1a6eee07ed3475e20b54b0a566ab57738/src/products/assorted.tex?at=default André Caldas.

Re: [NTG-context] toppath

2012-11-29 Thread Hans Hagen
On 11/29/2012 8:34 PM, Andre Caldas wrote: Hello! Is 'toppath:' prefix working? I use it only with \component, \environment, \product, \project. It works even if I do like this: $ mkdir build $ cd build $ context ../src/products/assorted.tex context.exe Test\t-TopPath.mkiv In this

Re: [NTG-context] toppath

2012-11-27 Thread Hans Hagen
On 11/27/2012 8:43 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, there was a discussion about 'toppath' or 'pathrelativetome'. Is 'toppath:' prefix working? Or what other way is to refer to the path of the current file (i.e. the file I'm referring from)? The following code doesn't

Re: [NTG-context] toppath

2012-11-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... I'd need to refer to a file from within a file, not in via '--path' option... My case is more complicated - a file is included from more other files in various directory levels. BTW: I was also thinking about \processedfile (http://wiki.contextgarden.net/Command/processedfile) and about

Re: [NTG-context] toppath

2012-11-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Tue, 27 Nov 2012 08:43:25 +0100, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Is 'toppath:' prefix working? ... My observation so far: 'toppath' works with \component, so if one needs to include a file, it's better to include it via: \component file.tex where

[NTG-context] toppath

2012-11-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there was a discussion about 'toppath' or 'pathrelativetome'. Is 'toppath:' prefix working? Or what other way is to refer to the path of the current file (i.e. the file I'm referring from)? The following code doesn't work - t-Hello.mkiv is not found although it's located in the same