CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/printfilelist

README.md

printfilelist

A package for inspecting the files used by the current document.

Usage

Load the package anywhere in the preamble:

\usepackage{printfilelist}

The load position does not matter, and the package needs nothing beyond the kernel.

It provides two commands, \printfilelist and \ispackageloaded, both of which can be used at any point in the document body.

\printfilelist[filter]

Prints the files used by the current document, one per line, together with their version information. The optional filter keeps only the files whose name contains the given text; for example, \printfilelist[.sty] lists only the .sty files. The default filter, ., keeps any file that has an extension, while an empty filter, \printfilelist[], keeps every recorded file. If nothing matches, a short note is printed instead.

The starred form \printfilelist* prints a compact, comma-separated list of file names only (no version information), set as inline text so it can be embedded in running prose.

\ispackageloaded{package}

Prints whether package is loaded, together with its version if so. The starred form \ispackageloaded* prints only "is loaded" or "is not loaded". Only packages (.sty files) are recognized, not document classes.


Author: Gorkem Aksaray (<aksarayg@tcd.ie>) Version: 1.1.0 (2026-06-07) License: Project Public License v1.3c

Download the contents of this package in one zip archive (280.5k).

printfilelist – Print a list of the files used by the current document

This package provides two commands for inspecting theĀ files used by the current document. \printfilelist lists the files together with their version information, with an optional name filter and a starred form that produces a compact, comma-separated inline list. \ispackageloaded reports whether a given package is loaded, and its version if so. The package requires nothing beyond the kernel.

Packageprintfilelist
Bug trackerhttps://github.com/gaksaray/printfilelist/issues
Repositoryhttps://github.com/gaksaray/printfilelist
Version1.1.0 2026-06-07
LicensesThe Project Public License 1.3c
Copyright2024–2026 Gorkem Aksaray
MaintainerGorkem Aksaray
Contained inTeX Live as printfilelist
TopicsDocument Management
Document debug
...
Guest Book Sitemap Contact Contact Author