Andreas wrote:
It would be REALLY NICE if the functionality of "pathrelativetome" was provided by ConTeXt.
Hans wrote:
in file-job.lua add around the function 'process':
local function toppath() [...]
\component toppath:/subpath/somefile.tex
Andreas wrote:
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.
Will this be in the core, or is it just a fix for Andreas? I.e: should we document toppath() as a core command, or as a snippet? (Not that we have a general space on the wiki for snippets yet, but we need one and we will have one. Somethine in the next two weeks I'll write a "State of the Wiki" laying out what we have, what we don't have, and what we want next.) --Sietse