long argument for \caption, \captionabove, \captionbelow etc.
KOMA-Script is a bundle of versatile LaTeX classes and packages
Brought to you by:
kohm
I know there is a (temporary?) feature freeze for KOMA-Script. But AFAIR before KOMA-Script 3.46, paragraphs inside the mandatory argument of \caption where possible at least in combination with package caption. Since KOMA-Script 3.46 \caption is not defined long and therefore \par is forbidden. Can you make it work again, at least when using package caption and loading tocbasic with option disablepatch=caption. IMHO you only need to change the m in the argument declaration into +m.
For an example see, e.g., https://tex.stackexchange.com/questions/755608/paragraphs-in-captions-with-koma-v3-48-recent-caption-sty-regression
\captionindeed accepted arguments with\par(because KOMA-Script did not touch\captionitself), but KOMA-Script wasn't able to process them, i.e., using a paragraph resulted in an error inside\@settodim. A somehow "strange error", because it was hard to understand.Hm, but yes, in combination with package
captionparagraphs have been possible. Maybe I can support it, but this would result again in the "less than perfect" error messages at strange places, when not using packagecaption.But wouldn't using
\usepackage[disablepatch=caption]{tocbasic}to make clear, you don't wanttocbasicto touch\captionbe the better solution? All these contortions to use a package likecaptionon the one hand, but on the other hand to control it not with the user interface provided for this purpose, but with the KOMA-Script interface, are actually a mess. Users should simply decide what they want and then use it consistently.At this point, it should also be noted that
captionis currently effectively “unmaintained.” While in the past, problems in cooperation could be resolved by mutual agreement, the entire issue has now been dumped on me. However, this has long been beyond my capabilities.Last edit: Markus Kohm 2 days ago