CTAN Comprehensive TeX Archive Network

currfile – Provide file name and path of input files

The pack­age pro­vides macros hold­ing file name in­for­ma­tion (di­rec­tory, base name, ex­ten­sion, full name and full path) for files read by \in­put and \in­clude macros; it uses the file hooks pro­vided by the au­thor’s file­hook. In par­tic­u­lar, it re­stores the par­ent file name af­ter the trail­ing \clearpage of an \in­cluded file; as a re­sult, the macros may be use­fully em­ployed in the page header and footer of the last printed page of such a file.

The depth of in­clu­sion is made avail­able, to­gether with the “par­ent” (in­clud­ing file) and “par­ents” (all in­clud­ing files to the root of the tree).

The pack­age su­per­sedes FiNK.

Li­censesThe Project Public Li­cense 1.3
Main­tainerMartin Schar­rer
TDS archivecurrfile.tds.zip
Con­tained inTeX Live as cur­rfile
MiKTeX as cur­rfile
TopicsDoc­u­ment tool

Down­load the con­tents of this pack­age in one zip archive (177.3k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author