tcb errors

1,209 views
Skip to first unread message

Karl-Dieter Crisman

unread,
Sep 11, 2018, 11:31:39 AM9/11/18
to PreTeXt support
Hi!  This is regarding a very informal project I am doing with PreTeXt just to motivate me to type up notes for a class.

No worries html, as usual.  I am having problems with pdflatex, getting errors like this:

! Package pgfkeys Error: I do not know the key '/tcb/library/vignette' and I am
 going to ignore it. Perhaps you misspelled it.

See the pgfkeys package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.34 \tcbuselibrary{vignette}

and

! LaTeX Error: Environment tcbraster undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.270 \begin{sidebyside}{2}{0.04}{0.04}{0.04}


and 

! LaTeX Error: \begin{sbscontainer} on input line 270 ended by \end{tcbraster}.


See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.310 \end{sidebyside}


Based on the code in the generated .tex, I am pretty sure that the other errors all go back to something not being defined because of the tcb stuff.  Now, since I don't get an error for the line

\tcbuselibrary{skins}

I wonder if maybe I need to update my LaTeX installation?  I hate doing that on Mac because it often messes up other stuff (like SageTeX) and I worry about breaking my installation.

On the other hand various tex.sx questions suggest maybe instead one can simply load other libraries individually, e.g. https://tex.stackexchange.com/questions/161650/package-pgfkeys-error-i-do-not-know-the-key-tcb-library-most

I now understand better why AMS publications do NOT (or did not, just a few years ago) allow tikz as part of the code and want you to generate your own eps figures instead, because this is too much of a moving target.  And presumably PreTeXt would like to have fairly portable and long-term code for its tex as well?

Thanks for any hints!

William Mahavier

unread,
Sep 11, 2018, 11:57:13 AM9/11/18
to pretext...@googlegroups.com
Had same problem!  Did full reinstall of full latex package and problem still there!  Ii am using Lubuntu.


--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/195627ef-1d06-4456-bd5c-2558a913a30a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

D. Brian Walton

unread,
Sep 11, 2018, 12:31:38 PM9/11/18
to pretext-support
It's an out of date package. I updated all of my LaTeX packages rather than hunt which specific package was needed.

- Brian

To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsubscribe@googlegroups.com.
To post to this group, send email to pretext-support@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsubscribe@googlegroups.com.
To post to this group, send email to pretext-support@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/CALKxarzw9HCHf4tuE35ZpLYZvcede8eJg6pQZZ%3DyEk2ZmeuOLg%40mail.gmail.com.

Mitch Keller

unread,
Sep 11, 2018, 1:02:58 PM9/11/18
to pretext...@googlegroups.com
Since KDC is on Mac, I would suggest trying the TeX Live Utility to update packages without having to download the entire new MacTeX. It may be that they have updated a package for your current version. That would probably not break other things that you have installed.

I don’t have a suggestion for Ted on how to hunt down the outdated package on Ubuntu, however.
> To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
> To post to this group, send email to pretext...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/195627ef-1d06-4456-bd5c-2558a913a30a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
> To post to this group, send email to pretext...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
> To post to this group, send email to pretext...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/CAH7VRoLmLQ%3DB%3D_jrWc9BKT3Oua-shVUojYwGbPDxA5h-WbbkPA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.


Mitch Keller
mi...@rellek.net

Rob Beezer

unread,
Sep 11, 2018, 2:05:41 PM9/11/18
to pretext...@googlegroups.com
On 09/11/2018 08:31 AM, Karl-Dieter Crisman wrote:
> This is regarding a very informal project I am doing with PreTeXt just to
> motivate me to type up notes for a class.

This is part of an informal project I have to make styling more possible on the
LaTeX side. This is a library of "special effects" for the "tcolorbox" package,
which is not essential. I'm slowly adding bits and pieces, exactly so details
like this can be ironed out, so thanks for the reports.

I will remove the package loading, and adjust the one demo that uses it. When
somebody needs/wants it again, we can revist how to make it easily available.
Sit tight for a couple of days, and don't rebuild your TeX setup just for this
right now.

Thanks,
Rob

Karl-Dieter Crisman

unread,
Sep 11, 2018, 2:51:48 PM9/11/18
to PreTeXt support

I will remove the package loading, and adjust the one demo that uses it.  When
somebody needs/wants it again, we can revist how to make it easily available.
Sit tight for a couple of days, and don't rebuild your TeX setup just for this
right now.


Thanks, Rob, that is super-helpful. 

Mitch, I think I don't have an actual utility for TL (apparently only introduced in 2017?), I probably just downloaded something that installed it, probably MacTeX, so maybe it's time to upgrade.  But now I purposely won't do that yet so I can debug for Rob! :)

Rob Beezer

unread,
Sep 11, 2018, 2:52:47 PM9/11/18
to pretext...@googlegroups.com
On 09/11/2018 08:57 AM, William Mahavier wrote:
> I am using Lubuntu.

Hmm, no problem on Ubuntu 18.04, with "texlive-full" package (or whatever the
kitchen-sink version is). Not sure if I've tried it on my 16.04 travel laptop.

Anyway, I'll be dropping it for now.

Rob

Rob Beezer

unread,
Sep 12, 2018, 12:48:45 AM9/12/18
to pretext...@googlegroups.com
KDC, et al.,

The "tcolorbox" "vignette" package is no longer being loaded automatically. So
pull. The "latex.preamble.late" switch might be effective for anybody
experimenting with LaTeX styling who needs it.

This package was new on 2016-04-22, so it may not be a surprise it has not
migrated through various recent upgrade paths. But I'd bet it *is* in an
upgrade you might perform today.

Be aware that there should be zero expectation of support for legacy LaTeX
installations. The usual advice will be: "upgrade." ;-) I am very careful
about which packages are used/required, and they should automatically be part of
most sane LaTex installations, thus easily upgradeable.

Rob

Karl-Dieter Crisman

unread,
Sep 12, 2018, 9:40:45 AM9/12/18
to PreTeXt support

The "tcolorbox" "vignette" package is no longer being loaded automatically.  So
pull.  The "latex.preamble.late" switch might be effective for anybody
experimenting with LaTeX styling who needs it.


Sadly:

! Package pgfkeys Error: I do not know the key '/tcb/library/raster' and I am g

oing to ignore it. Perhaps you misspelled it.


See the pgfkeys package documentation for explanation.

Type  H <return>  for immediate help.

 ...                                              

                                                  

l.34 \tcbuselibrary{raster}


which also breaks sidebyside, as expected.   I think the other currently loaded packages do work (or at least I don't get that type of error when I comment out the line in question).

 
This package was new on 2016-04-22, so it may not be a surprise it has not
migrated through various recent upgrade paths.  But I'd bet it *is* in an
upgrade you might perform today.

Be aware that there should be zero expectation of support for legacy LaTeX
installations.  The usual advice will be:  "upgrade."  ;-)  I am very careful
about which packages are used/required, and they should automatically be part of
most sane LaTex installations, thus easily upgradeable.

Not the horror of forced upgrades! 

But seriously, early obsolescence is a thing.  I have this beautiful computer sitting in my office which surely could do basic email and web surfing were it not for the insane amount of javascript on every site - not to mention it won't automatically compile gcc 4.8 or whatever Sage ships now ;-)

Rob Beezer

unread,
Sep 12, 2018, 12:37:18 PM9/12/18
to pretext...@googlegroups.com
On 09/12/2018 06:40 AM, Karl-Dieter Crisman wrote:
> l.34 \tcbuselibrary{raster}
>
>
> which also breaks sidebyside, as expected.   I think the other currently loaded
> packages do work (or at least I don't get that type of error when I comment out
> the line in question).

Sorry. "tcbraster" (basically a grid of boxes, not dissimilar to CSS flexboxes)
won't go away and will likely continue to be automatically loaded (ie not
conditionally). It was introduced c. 2014. Time to upgrade. :-(

An alternative would be to build (or just compile the LaTeX) on CoCalc.

> But seriously, early obsolescence is a thing.  I have this beautiful computer
> sitting in my office which surely could do basic email and web surfing were it
> not for the insane amount of javascript on every site - not to mention it won't
> automatically compile gcc 4.8 or whatever Sage ships now ;-)

My 8-year-old hardware is comfortably running Ubuntu 18.04 with a lightweight
window manager. I expect the motherboard to fail before I feel like I need more
power. So there are alternatives to the hardware treadmill. ;-)

Rob


Karl-Dieter Crisman

unread,
Sep 13, 2018, 6:27:11 AM9/13/18
to PreTeXt support


On Wednesday, September 12, 2018 at 12:37:18 PM UTC-4, Rob Beezer wrote:
On 09/12/2018 06:40 AM, Karl-Dieter Crisman wrote:
> l.34 \tcbuselibrary{raster}
>
>
> which also breaks sidebyside, as expected.   I think the other currently loaded
> packages do work (or at least I don't get that type of error when I comment out
> the line in question).

Sorry.  "tcbraster" (basically a grid of boxes, not dissimilar to CSS flexboxes)
won't go away and will likely continue to be automatically loaded (ie not
conditionally).  It was introduced c. 2014.  Time to upgrade.  :-(

I'll survive.
 

An alternative would be to build (or just compile the LaTeX) on CoCalc.

> But seriously, early obsolescence is a thing.  I have this beautiful computer
> sitting in my office which surely could do basic email and web surfing were it
> not for the insane amount of javascript on every site - not to mention it won't
> automatically compile gcc 4.8 or whatever Sage ships now ;-)

My 8-year-old hardware is comfortably running Ubuntu 18.04 with a lightweight
window manager.  I expect the motherboard to fail before I feel like I need more
power.  So there are alternatives to the hardware treadmill.  ;-)

Yes, unfortunately Apple doesn't know about this or doesn't want tol, and I have yet to find Ubuntu support for just a few very useful programs  I'm hardcoded into ... So I only have Linux at home.  Though our dept. chair has an Ubuntu laptop he somehow scammed our IT folks into letting him use.  Since he's also our sysadmin I guess they figure he can handle it!

Karl-Dieter Crisman

unread,
Sep 15, 2018, 9:13:48 PM9/15/18
to PreTeXt support


Sorry.  "tcbraster" (basically a grid of boxes, not dissimilar to CSS flexboxes)
won't go away and will likely continue to be automatically loaded (ie not
conditionally).  It was introduced c. 2014.  Time to upgrade.  :-(

I'll survive.

Confirming that updating LaTeX fixed things.  Also I now have TL Utility, Mitch, which definitely makes things easier to update individual packages (such as tcolorbox).  Thanks! 

Karl-Dieter Crisman

unread,
Sep 15, 2018, 9:14:47 PM9/15/18
to PreTeXt support
Though an entry somewhere appropriate (which guide, I wonder?) that those who haven't updated will have trouble now is worthwhile.  Because things like xsltproc can be fairly old and things still work, I guess.
Reply all
Reply to author
Forward
0 new messages