On Tue, 2 Dec 2025 at 02:28, Stefan Solbrig <[email protected]> wrote:

>
> PS2- Where can we see all the dependencies of a command ie. be aware that
>  \setdefaultlanguage{sanskrit} will require devanagaridigits for
> instance.... I discovered this problem thanks to an error message
>
>
> use xelatex (or xetex) with the -recorder option. This (and also in other
> tex engines) will produce a  *.fls file that lists all included files.
> Compare the *.fls files before and after you added a command/option.
>
>
Thank you Stefan, good solution.

I have found the Snapshot <https://ctan.org/pkg/snapshot?lang=en> package
to be excellent for this too.  If you put

\RequirePackage{snapshot}

as the first line in your TeX file, you'll get a nicely formatted file
<jobname>.dep with all the dependencies.

Even better, if you then use bundledoc <https://ctan.org/pkg/bundledoc>, it
will read your snapshot file and create a zip file containing all the files
used to make a particular document.  Valuable for archiving.

Best,
Dominik

Reply via email to