Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/currfile

LaTeX package 'currfile'
Copyright (c) 2010-2011 by Martin Scharrer <martin@scharrer-online.de>
WWW: http://latex.scharrer-online.de/
Code repository: https://bitbucket.org/martin_scharrer/currfile

Provides macros holding the file name information (dir, base name, extension, full name and full path) for
files read by LaTeX's \input and \include macros.

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

cur­rfile – Pro­vide file name and path of in­put 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­cense The 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
Topics doc­u­ment de­vel­op­ment tools
Guest Book Sitemap Contact Contact Author