![](https://secure.gravatar.com/avatar/d15b29720cb36114018090f22cb39cb4.jpg?s=120&d=mm&r=g)
2 Nov
2012
2 Nov
'12
6:35 p.m.
Hello!
It would be REALLY NICE if the functionality of "pathrelativetome" was provided by ConTeXt.
in file-job.lua add around the function 'process':
local function toppath() [...]
\component toppath:/subpath/somefile.tex
Works like a charm, Hans! Sorry I took so long to test... I copied file-job.lua from the GIT repository, and changed my tex files to use toppath:/path/to/file. For example: https://bitbucket.org/andrecaldas/math-video-classes/src/b743f22e4f567662ac5... Really nice! Thanks!! :-) Cheers, André Caldas.