CTAN Comprehensive TeX Archive Network

CTAN update: currfile

Date: January 10, 2011 5:12:02 PM CET
This should 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.4 Author's name: Martin Scharrer Location on CTAN: /macros/latex/contrib/currfile Summary description: Update to v0.4: if-macros to compare current file name parts License type: lppl Announcement text:
This update adds a couple of \ifcurrfile... macros to compare file names in a catcode insensitive way. It also sanitizes now all file name macros, i.e. sets the catcodes to "other". Therefore included underscores will not be taken as math subscripts anymore. However it might not be displayed correctly in all fonts without special care (use \ttfamily or the url package with \urlstyle).
This package is at http://tug.ctan.org/tex-archive/macros/latex/contrib/currfile . Information is at http://tug.ctan.org/pkg/currfile (it may take a day for the information to appear). We are supported by the TeX Users Group http://www.tug.org . For your 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 \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.

Packagecurrfile
Version1.0 2024-03-14
Copyright2010–2024 Martin Scharrer
MaintainerMartin Scharrer

Announcements

more

Guest Book Sitemap Contact Contact Author