tocbasis generate error if caption was loaded before
Thank you for your responsiveness.
Vesion 3.46 gives inconsistent document command for \caption
You could maybe set the flags locally (inside groups) %% captionof \RenewDocumentCommand{\captionof} { m +O{#3} +m } { \group_begin: \cs_set:Npe \@captype {#1} \cs_set_eq:cc { if@captionabove } { if@#1captionabove } \scr@caption[{#2}]{#3}% \group_end: } %% captionof above/below \RenewDocumentCommand{\captionaboveof} { m +O{#3} +m } { \group_begin: \use:c { @#1captionabovetrue } \captionof { #1 } [ #2 ] { #3 } \group_end: } \RenewDocumentCommand{\captionbelowof} { m +O{#3} +m } { \group_begin: \use:c...
\captionbelowof not working