3

On my Ubuntu machine, I have just downloaded Texmaker and Tex Live. I now want to compile a Latex file which uses the tcolorbox package. From what I have read, this package should come with Tex Live (the documentatoin says Typically, tcolorbox will be installed as part of a major LATEX distribution and there is nothing special to do for a user).

So, I want to tell Texmaker to use Tex Live. To do this, I went into the Texmaker configuration, and set the Latex and PdfLatex executables to be those from Tex Live; see the picture below:

However, this did not work for me. When compiling the file in Texmaker using PdfLatex, I get the error message: ! LaTeX Error: Environment tcolorbox undefined.

So, does this mean that Tex Live definitely does not come with tcolorbox? If so, how can I install tcolorbox?

Alternatively, perhaps I am not configuring Texmaker correctly to use Tex Live. If so, how else should I be doing it?

25
  • Did you use the full install of TeXLive? Does your document compile on console?
    – user31729
    Commented Jun 7, 2016 at 16:49
  • @ChristianHupfer Yes, I installed the full version of Tex Live. Running pdflatex (the version that comes with Tex Live) on my file from the console gives me the same error message... How can I check whether the package is definitely installed? Commented Jun 7, 2016 at 17:06
  • Try kpsewhich tcolorbox.sty on the console
    – user31729
    Commented Jun 7, 2016 at 17:09
  • If you Linux is setup correctly you do not need to specify full path to latex, just writing pdflatex is enough . So what exactly did you install, Ubuntu tex live or upstream tex live. Ubuntu texlive is split into many smaller parts, whereas upstream tex live is a single unit (in a default installation) that includes everything available for texlive users.
    – daleif
    Commented Jun 7, 2016 at 17:12
  • 3
    So it is found. If your compilation still gives you an error about tcolorbox, then please post the tex file. The package is on your computer
    – daleif
    Commented Jun 7, 2016 at 18:29

0

You must log in to answer this question.

Browse other questions tagged .