TEX macro files shall be stored in separate directories, segregated
by TEX format and package name. (We use `format' in its traditional
TEX sense to mean a usefully ||-able package.)
The TDS allows distributions that can be used as either formats or packages (e.g., Texinfo, Eplain) to be stored at either level, at the option of the format author or TEX administrator. We recommend that packages used as formats at a particular site be stored at the format level: by adjusting the TEX inputs search path, it will be straightforward to use them as macro packages under another format, whereas placing them in another tree completely obscures their use as a format.
The TDS reserves the following format names:
Thus, for every format, it is correct to search at least the format directory and then the |generic| directory (in that order). Other directories may need to be searched as well, depending on the format. When using , for example, the |amstex|, |plain|, and |generic| directories should be searched, because is compatible with Plain.
In the case where a format consists of only a single file and has no auxiliary packages, that file can simply be placed in the format directory, instead of format|/base|. For example, Texinfo goes in |texmf/tex/texinfo/texinfo.tex|, not |texmf/tex/texinfo/base/texinfo.tex|.