CTAN Comprehensive TeX Archive Network

CTAN update: currfile

Date: May 15, 2012 2:00:20 PM CEST
quoth the daemon: > The following information was provided by the package's contributor. > > Name of contribution: currfile > Author's name: Martin Scharrer > Package version: v0.7 > Location on CTAN: macros/latex/contrib/currfile/ > Summary description: File depth counter and access to parent file names > License type: lppl > > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > This updated adds a 'currfiledepth' counter which states the nesting > depth of the current file. > It is 0 for the main file, 1 for an input file, 2 for an input file > inside an input file, etc. > > The new "parent" and "parents" option define macros for the file names > of the direct parent file or all parent files, respectively. thanks for the upload; i've installed the new version, and updated the catalogue repository. > Users may view the package catalogue entry at > http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/currfile.html > or they may browse the package directory at > http://www.tex.ac.uk/tex-archive/macros/latex/contrib/currfile/ The catalogue entry will change (somewhat) on the web, by tomorrow morning (Cambridge time). Robin Fairbairns For the CTAN team

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
Version0.7d 2020-09-29
Copyright2010–2016 Martin Scharrer
MaintainerMartin Scharrer

Announcements

more

Guest Book Sitemap Contact Contact Author