tcolorbox shares a similar with thmtools (https://github.com/muzimuzhi/thmtools/issues/70): when hyperref is loaded, using /tcb/new/list inside to add boxes to some list may cause a hyperref info
Package hyperref Info: bookmark level for <list type> unknown defaults to 0 on input line ...
when the corresponding \toclevel@<list type> is undefined. Here <list type> is the value of /tcb/new/list type which defaults to tcolorbox.
This is a variable which should contain a number. It is used for the level in the bookmarks. It should be defined for all counters which are used in toc like lists and \addcontentsline. Typical values are [...]
(Actually it need not be a <counter>, but <list type>.)
tcolorbox
shares a similar withthmtools
(https://github.com/muzimuzhi/thmtools/issues/70): whenhyperref
is loaded, using/tcb/new/list inside
to add boxes to some list may cause ahyperref
infowhen the corresponding
\toclevel@<list type>
is undefined. Here<list type>
is the value of/tcb/new/list type
which defaults totcolorbox
.From the
hyperref
manual, sec. 4.1 Counters(Actually it need not be a
<counter>
, but<list type>
.)