Taco Hoekwater wrote:
Aditya Mahajan wrote:
Can I ask TeX to check if a directory exists or is writable.
I do not think so.
And on second thought: not even \write18 will work always, because whether or not TeX can write a file (in a subdir or even in the local directory) depends in part on settings in texmf.cnf that are not visible outside TeX.
if this is part of a project thing, you can use ctx files to add pre/post stuff like checking files, converting files, in this case making directories, etc Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------