Steffen Wolfrum wrote: > Hi, > > marking=on often uses \jobname. > > My file's name is not as important as its respective folder name. > > Is it possible to read and reuse this folder's name?
In mkii you would have to do something with \write18, I fear. In mkiv you can simply do: \edef\foldername{\ctxlua{tex.sprint(lfs.currentdir())}} (assuming the jobname file lives inside the current directory) Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________