Latex: extract style files for all used packages

So, after writing a large .tex file and using many packages, I want to archive everything, not just .tex.jpg files, but also .sty.

This is because sometimes some parameters in the style files change, and then I can not compile the file.

The "problem" is that when using Ubuntu I already installed all the packages on my system. I do not want to copy them manually. Is there a program that can do this automatically?

Thank.

+4
source share
2 answers

See https://texfaq.org/FAQ-filesused , quote:

, . - (, ), , , . , , (, url, url). , shinynew, ; , , .

LaTeX \listfiles. . , .

, \listfiles , \listfiles "" LaTeX (\documentclass, \usepackage, \include, \includegraphics ..). \input, LaTeX LaTeX, :

\input{mymacros}

mymacros.tex, TeX \input, :

\input mymacros

mymacros.tex , \listfiles - , .

snapshot LaTeX , . - , .

bundledoc snapshot (, tar.gz zip) , ; TeX Live-Unix MiKTeX. , .

mkjobtexmf , "", -recorder TeX, (Unix) strace , TeX. ( ) , .

+6

Latex :

  • , , (\$PATH, ( ; , Tex , - , \input);
  • , , : (.\$PATH,
  • <...>.

.log.

+2

Source: https://habr.com/ru/post/1744750/


All Articles