Comprehensive TeX Archive Network

Direc­tory tex-archive/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.


Name Size Date Notes
README 382 2013-02-01 23:20
cur­rfile.dtx 45050 2013-02-01 23:20
cur­rfile.ins 294 2013-02-01 23:20
cur­rfile.pdf 166674 2013-02-01 23:20

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

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 LaTeX \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.

Pack­age De­tailscur­rfile
Li­censeThe LaTeX 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