Hi, What is the correct way to set or modify the search path for tex files? I want to make it mode-dependent. For example, for figures I have something like \doifmode{en} {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN}\mainlanguage[en]} \doifmode{de} {\def\FigDirLanguage{fig/lang_de}\def\DocumentSuffix{DE}\mainlanguage[de]} [...] \setupexternalfigures[directory={fig,{\FigDirLanguage},{../fig},{../\FigDirLanguage}}] I want to be able to do for example \input disclaimer And have it use the correct version. (There are more complicated scenarios too). In case there is a better way to do it, what I want is to have language- or mode- specific versions of some "boilerplate" texts. These would be in individual files. Documents elsewhere in a directory tree could reference these using a standard name and it would be picked according to the set language/mode. Thanks, John -- John Devereux