Proactively installs all LaTeX packages needed by arframe's PDF backend. Checks which packages are missing, then installs them using a three-tier strategy:
Details
TinyTeX — if
tinytex::is_tinytex()isTRUE, usestinytex::tlmgr_install()(user-writable, auto-updates).System tlmgr — if TinyTeX fails or is absent but system
tlmgris onPATH, callstlmgr --repository <mirror> installdirectly. This handles corporate RHEL/Ubuntu systems with system TeX Live.Error — if no TeX distribution is found, provides install instructions.
Missing packages are detected via tinytex::check_installed() when
available, falling back to kpsewhich on the command line.
See also
fr_latex_deps() for the package list,
fr_render() for PDF output.