fmarotta/kaobook

\sidecite in a \dictum

sparusaurata opened this issue · 0 comments

When I put a \sidecite{} citation in KOMA's \dictum{}, I get an error “Float(s) lost”, I guess it is related to #39.

I first tried to add an offset to force the citation not to float. It raised another error, “Paragraph ended before \sidecite was complete”.

Finally, putting the whole citation between {...} worked:

\dictum[An Author {\sidecite[0ex]{reference}}]{%
    Blah blah blah.
}

so this issue can be considered as solved (I mainly post it in case it can help other people), but the workaround is a bit odd.

(And thanks a lot for this wonderful class!)