CTAN Has a new package: currfile
Date: April 8, 2010 5:05:51 PM CEST
This should within a day be at your local mirror.
Jim Hef{}feron
Saint Michael's College
..............................................................................
The following information was provided by our fellow contributor:
Name of contribution: currfile
Version number: v0.1
Author's name: Martin Scharrer
Location on CTAN: /macros/latex/contrib/currfile
Summary description: Macros for file name and path of input files
License type: lppl
Announcement text:
This package provides macros holding the file name information (dir, base name, extension, full name and full path) for files read by LaTeX's \input and \include macros. It uses the file hooks provided by the 'filehook' package. The package is similar to the 'fink' package, but uses a different implementation (a stack) and takes care to restore the parent file name after the trailing \clearpage of an \include'd file. This allows the usage of the macros on the page header and footer of the last page of such files.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/currfile . More information is at http://tug.ctan.org/pkg/currfile (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
This package provides macros holding the file name information (dir, base name, extension, full name and full path) for files read by LaTeX's \input and \include macros. It uses the file hooks provided by the 'filehook' package. The package is similar to the 'fink' package, but uses a different implementation (a stack) and takes care to restore the parent file name after the trailing \clearpage of an \include'd file. This allows the usage of the macros on the page header and footer of the last page of such files.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/currfile . More information is at http://tug.ctan.org/pkg/currfile (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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.
Package | currfile |
Version | 1.0 2024-03-14 |
Copyright | 2010–2024 Martin Scharrer |
Maintainer | Martin Scharrer |