I have a couple of relatively complicated multilingual LaTeX documents, I need to work with on several different Linux machines, and in collaboration with various people. The complexity has the side effect, that a huge number of different LaTeX (TeXLive) packages has to be installed in order to compile the respectiv document.

This leads to the problem, that whenever a new player joins the group, who has to fiddle with one of the files, I need to tell him, which dependencies the given LaTeX file has, to make him able to install the needed packages, and to compile the file respectivly.

This is relatively uncomfortable, as it is complicated for me to keep track of the dependencies and not everyone has the capacities to install a broad range of packages (without actually needing them for the given task).

This brings me to my question: Is there a way, to put out a list of needed packages in a human readable format and, ideally to translate this list programmatically in a list of distribution packages? Preferable a command line, which puts out such a list.

  • What about using an online service like Overleaf? – Werner Jun 6 '18 at 21:33
  • @Werner I thought of that, but this has to many disadvantages in our case: The necessity to be online all the time, the problem of data security etc. So unfortunately not an option for us. – user5950 Jun 6 '18 at 21:36
  • My question seems to overlap with that one: tex.stackexchange.com/questions/291317 – user5950 Jun 6 '18 at 21:41
  • You can run LaTeX with the -recorder option. This will generate a file with the extension .fls which contains the names of all opened files. – Henri Menke Jun 6 '18 at 22:43
  • snapshot and bundledoc? (Overkill, maybe, as you don't ask about versions.) \listfiles? – cfr Jun 7 '18 at 2:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.