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