1

This question already has an answer here:

In Windows, I run TexWorks, and when I include a package that I do not already have installed, it asks me if I want to install that package.

In linux (Ubuntu), I have tried this in TexWorks, and TexStudio, but it simply results in error, package not found. Is there a way to get such functionality in Linux? I tried installing texlive, but this did not evidently include that functionality.

marked as duplicate by user36296, TeXnician, egreg, Zarko, user31729 Jan 2 '18 at 12:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    In fact the downloads are managed by the TeX distribution (such as MikTeX) and not by Latex editors. Maybe you need to check your distribution parameters. – SAM Jul 3 '16 at 4:46
  • 1
    The general recommendation is to do a full texlive install if you can spare the 4.7 GB needed, specially if you're new to any of the tools involved (learning TeX/LaTeX. the operating system, TeX distribution, TeX editor/IDE). If not, check out Auto Package download for TeXLive. – alwaysask Jul 3 '16 at 5:46
  • @alwaysask You don't even have to spare all the 4.7GB. You can for example omit the doc and the source tree, which saves you already a lot. – Henri Menke Jul 3 '16 at 8:43
  • 2
    I don't think it would be a solution for someone new to TeXLive & friends. His next question could be "why TeXstudio (or whatever edior) gives me an error when I click on package doc". My advice is to start with a fire-and-forget solution and after you see it working, tweak to suit your needs - it's easier to turn back than not knowing how to go forward. Not much difference between 2 gigs and 5 gigs nowadays anyway. @HenriMenke – alwaysask Jul 3 '16 at 9:11
  • Ive been down-loading the additional packages via my package manager, and most of the packages work now. (some packages are still downloading, such as texlive-science. – j0h Jul 3 '16 at 15:02
0

There is no such functionality builtin as mentioned. However, with some botching one can create a small wrapper that does exactly that.

For example, itex uses expect to catch errors.

https://github.com/dopefishh/itex

Not the answer you're looking for? Browse other questions tagged or ask your own question.