LaTeX error related to tcolorbox.sty not found

前端 未结 3 1311
无人及你
无人及你 2020-12-31 13:11

I have a problem with LaTeX whenever I try to download the file in PDF. When I try to do that, it gives me the following error:

! LaTeX Error: File `tcolorb         


        
相关标签:
3条回答
  • 2020-12-31 13:57

    After installing tcolorbox using LaTex's package manager tlmgr, I was getting similar errors for other dependencies. The solution below worked for me on Ubuntu 18.04 (64 bit) at the terminal:

    tlmgr update --all --self
    tlmgr install tcolorbox
    tlmgr install pgf
    tlmgr install xcolor
    tlmgr install environ
    tlmgr install trimspaces
    tlmgr install mathpazo
    tlmgr install parskip
    tlmgr install adjustbox
    tlmgr install collectbox
    tlmgr install eurosym
    tlmgr install ecs
    tlmgr install ucs
    tlmgr install enumitem
    tlmgr install ulem
    tlmgr install mathrsfs
    tlmgr install jknapltx rsfs
    sudo tlmgr install collection-fontsrecommended
    

    Also, rendering the document to PDF using the "export notebook as" option didn't work for me. I did it at the command line: jupyter nbconvert --to pdf my_document.ipynb. You may need to install nbconvert if you don't have it.

    If missing other dependencies, keep running tlmgr install with the missing dependencies until it works. I haven't figured out yet to which packages those dependencies belong, so my apologies for the dirty fix.

    0 讨论(0)
  • 2020-12-31 13:57

    In addition to Oscar's answer, I also had to run:

    sudo tlmgr install collection-fontsrecommended
    

    and it worked

    0 讨论(0)
  • 2020-12-31 14:09

    Arch/Manjaro users, get the tllocalmgr and follow Oscar's answer

        yay -S tllocalmgr-git
        tllocalmgr update --all --self
        tllocalmgr install <package_name>
        sudo texhash
    
    
    0 讨论(0)
提交回复
热议问题