I've added an emergency workaround, that passes option nocfg to ltxdoc and replaces doc.sty by doc-2021.06.01.sty and adds a definition of \cs after loading ltxdoc. With these workarounds scrsource.tex compiles and the result seems to be OK. However this is not a real solution. It can break with every new LaTeX release. A real solution should use the new features of doc. Maybe even it should not depend on ltxdoc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are workarounds for this in scrdoc. Additionally all KOMA-Script sources using a new class koma-script-source-doc, now. The new class depends on doc version 3. The old scrdoc is deprecated and will be removed (or move to koma-script-obsolete). Currently there is no definite date for this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've added an emergency workaround, that passes option
nocfg
toltxdoc
and replacesdoc.sty
bydoc-2021.06.01.sty
and adds a definition of\cs
after loadingltxdoc
. With these workaroundsscrsource.tex
compiles and the result seems to be OK. However this is not a real solution. It can break with every new LaTeX release. A real solution should use the new features ofdoc
. Maybe even it should not depend onltxdoc
.There are workarounds for this in
scrdoc
. Additionally all KOMA-Script sources using a new classkoma-script-source-doc
, now. The new class depends ondoc
version 3. The oldscrdoc
is deprecated and will be removed (or move tokoma-script-obsolete
). Currently there is no definite date for this.