CTAN Comprehensive TeX Archive Network

CTAN Update: currfile

Date: May 7, 2012 6:09:00 PM CEST
On Sun, 6 May 2012 Martin Scharrer submitted an update to the currfile package. Summary description: Support for absolute file paths and real main file name License type: lppl Announcement text:
This update provides the new options "abspath" and "realmainfile" which enable absolute file directories and paths and the determination of the real main file name if -jobname is set to a different name. These features are implemented using the new sub-package "currfile-abspath" which can also be used on its own to determine the parent workind directory (PWD), the absolute directory and path of any file accessible by TeX and the real main file name.
This package is located at http://mirror.ctan.org/macros/latex/contrib/currfile . More information is at http://www.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 .
Thanks for the upload. For the CTAN Team Rainer Schöpf

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 \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.

Version0.8 2022-10-10
Copyright2010–2022 Martin Scharrer
MaintainerMartin Scharrer



Guest Book Sitemap Contact Contact Author