currfile – Provide file name and path of input files
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.
|Licenses||The LaTeX Project Public License 1.3|
|Copyright||2010–2016 Martin Scharrer|
|Contained in||TeX Live as currfile|
MiKTeX as currfile
Download the contents of this package in one zip archive (180.2k).
Maybe you are interested in the following packages as well.
- filemod: Provide file modification times, and compare them
- unixman: Typeset to look like Unix man output
- fourproject: Analyse and display the structure of a TeX document
- varsfromjobname: Extract variables from the name of the LaTeX file