More sophisticated shell scripts for invoking SLaTeX ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The contents of this directory may be skipped by all but the brave. TEXINPUT(S) is a list of directories where TeX looks for its \input files. SLaTeX keeps track of \input files in the list SLaTeX.*texinputs*, which is ideally the same as TEXINPUT(S). However, many TeX implementations allow abbreviations in TEXINPUT(S), whereby several subdirectories are concisely represented by a single parent directory. The SLaTeX script file created by the configuration process is too naive to expand out the TEXINPUT(S). In any case, it is rather moot if SLaTeX itself can perform file search, since Scheme has no portable file search capability. Thus, it is possible that only files that are in the current directory or are explicitly named get treated by SLaTeX. Luckily, this is often sufficient, since SLaTeX only needs to process user's TeX files that contain Scheme code, and the files in the path TEXINPUT(S) that are lost to consideration are non-user files anyway. If, however, your Scheme does have file search, and you exploit the abbreviation mechanism in TEXINPUT(S), you should improve the script -- and the script language. An example of such improved (arguably anal) scripts is provided in the file scripts\slatex.cmd, intended for use with emtex and scm. You may use it (with your personal modifications) if you wish to recognize fancy TEXINPUT(S). You may also use it as a model to write your own scripts in other scripting languages, e.g., in Perl or Tcl or in Scheme itself (provided your dialect is powerful enough to do file search).