currfile

Provide file name and path of input files

Version:
0.7d
Copyright:
Martin Scharrer
License:
lppl1.3
Packaged on:
10/3/2020 8:12:01 PM
Number of files:
6
Size on disk:
198.07 kB

The package provides macros holding file name information (directory, base name, extension, full name and full path) for files read by LaTeX \input and \include macros; it uses the file hooks provided by the author’s filehook. In particular, it restores the parent file name after the trailing \clearpage of an \included file; as a result, the macros may be usefully employed in the page header and footer of the last printed page of such a file. The depth of inclusion is made available, together with the “parent” (including file) and “parents” (all including files to the root of the tree). The package supersedes FiNK.