Skip to content

Install missing packages in compiling documents in TeXLive #11

@lvjr

Description

@lvjr

Maybe I can add a new compile action to texfindpkg, so that with

texfindpkg compile -options somefile.tex

texfindpkg extracts the preamble of somefile.tex, then detects and installs missing packages with it before compiling the whole document. Obviously texfindpkg should remember the preamble, so as to ignore the detection when the preamble is unchanged.

There are two ways to detect missing packages: (1) searching \usepackage and other similar commands; (2) compiling the preamble (with empty document body) first and checking the log file. Not sure which one is better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions