Opened 9 years ago
Closed 9 years ago
#48433 closed defect (fixed)
texlive-latex-extra @37398: Missing tcolrbox and etoolbox
Reported by: | MaurizioLoreti | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | texlive-latex-extra |
Description
texlive-latex-extra should contain packages tcolrbox and etoolbox - but the are not on my Mac. My version: @37398
Change History (7)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dports removed |
---|---|
Keywords: | texlive tcolorbox removed |
Owner: | changed from macports-tickets@… to dports@… |
Summary: | Missing packages in texlive-latex-extra → texlive-latex-extra @37398: Missing tcolrbox and etoolbox |
comment:2 Changed 9 years ago by drkp (Dan Ports)
comment:3 Changed 9 years ago by MaurizioLoreti
Sorry, not for me:
MLO@bigmac 1 $ kpsewhich tcolorbox.sty MLO@bigmac 2 $ kpsewhich etoolbox.sty MLO@bigmac 3 $ port list texlive-latex-extra texlive-latex-extra @37398 tex/texlive-latex-extra MLO@bigmac 4 $ pdflatex bigmac This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/MacPorts 2015_1) (preloaded format=pdflatex) .... (/opt/local/share/texmf-texlive/tex/generic/babel/babel.def))) ! LaTeX Error: File `etoolbox.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)
I can't understand why, but in my hard disk these packages are not present. I also reinstalled the port (sudo port upgrade -force texlive-latex-extra) but the problem persists.
MLO@bigmac 4 $ pdflatex colorbox.tex This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/MacPorts 2015_1) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./colorbox.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 44 languages loaded. (/opt/local/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/opt/local/share/texmf-texlive/tex/latex/base/size10.clo)) (/opt/local/share/texmf-texlive/tex/latex/graphics/color.sty (/opt/local/share/texmf-texlive/tex/latex/latexconfig/color.cfg) (/opt/local/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def (/opt/local/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty) (/opt/local/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))) ! LaTeX Error: File `tcolorbox.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)
comment:4 Changed 9 years ago by MaurizioLoreti
As a side note, /opt/local/share/texmf-texlive/tex/latex/tcolorbox exists in my distribution, but does not contain the style file (there is only one file inside):
$ ls /opt/local/share/texmf-texlive/tex/latex/tcolorbox/ tcbraster.code.tex $ port provides /opt/local/share/texmf-texlive/tex/latex/tcolorbox/tcolorbox.sty /opt/local/share/texmf-texlive/tex/latex/tcolorbox/tcolorbox.sty does not exist. $
The directory /opt/local/share/texmf-texlive/tex/latex/etoolbox does NOT exist.
comment:5 Changed 9 years ago by drkp (Dan Ports)
Interesting. I'm at a loss for how this is possible, especially after reinstalling texlive-latex-extra. Can you provide a log from the installation? Say, by running port -kn upgrade --force texlive-latex-extra
and then attaching the file from port logfile texlive-latex-extra
comment:6 Changed 9 years ago by MaurizioLoreti
Well, something very strange happened; for 'port upgrade' texlive-latex-extra is not installed, altough 'port list' knows about it:
$ sudo port -kn upgrade --force texlive-latex-extra Error: texlive-latex-extra is not installed $ port list texlive-latex-extra texlive-latex-extra @37398 tex/texlive-latex-extra
so I tried an install of the port, that failed:
$ sudo port -kn install texlive-latex-extra ---> Computing dependencies for texlive-latex-extra ---> Fetching archive for texlive-latex-extra ---> Attempting to fetch texlive-latex-extra-37398_0+doc.darwin_14.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/texlive-latex-extra ---> Attempting to fetch texlive-latex-extra-37398_0+doc.darwin_14.noarch.tbz2.rmd160 from http://nue.de.packages.macports.org/macports/packages/texlive-latex-extra ---> Installing texlive-latex-extra @37398_0+doc ---> Activating texlive-latex-extra @37398_0+doc Error: org.macports.activate for port texlive-latex-extra returned: Image error: /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex already exists and does not belong to a registered port. Unable to activate port texlive-latex-extra. Use 'port -f activate texlive-latex-extra' to force the activation. Please see the log file for port texlive-latex-extra for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-latex-extra/texlive-latex-extra/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port texlive-latex-extra failed
However the suggested procedure worked, and all the packages are now there:
$ sudo port -f activate texlive-latex-extra ---> Computing dependencies for texlive-latex-extra ---> Activating texlive-latex-extra @37398_0+doc Warning: File /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex already exists. Moving to: /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.quickref.tex.mp_1437974622. Warning: File /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.raster.tex already exists. Moving to: /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.raster.tex.mp_1437974622. Warning: File /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.recording.tex already exists. Moving to: /opt/local/share/texmf-texlive/doc/latex/tcolorbox/tcolorbox.doc.recording.tex.mp_1437974622. Warning: File /opt/local/share/texmf-texlive/tex/latex/tcolorbox/tcbraster.code.tex already exists. Moving to: /opt/local/share/texmf-texlive/tex/latex/tcolorbox/tcbraster.code.tex.mp_1437974622. ---> Cleaning texlive-latex-extra $ kpsewhich tcolorbox.sty /opt/local/share/texmf-texlive/tex/latex/tcolorbox/tcolorbox.sty $ kpsewhich etoolbox.sty /opt/local/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty
I cannot understand what happened, but now my texlive installation seems OK. And, of course, thank you for the quick help and the suggestions. I also removed /opt/local/share/texmf-texlive/tex/latex/tcolorbox/*.mp* and the likes in /doc .
comment:7 Changed 9 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | new → closed |
etoolbox is in texlive-latex-extra:
There is no tcolrbox, but assuming you meant tcolorbox, it's also in texlive-latex-extra: