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.

Sources /macros/latex/contrib/currfile
Ver­sion 0.7c
Li­cense The Project Public Li­cense 1.3
Main­tainer Martin Schar­rer
TDS archive currfile.tds.zip
Con­tained in TeX Live as cur­rfile
MiKTeX as cur­rfile
Topics doc­u­ment de­vel­op­ment tools

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