Open mowgli opened 3 years ago
I had a chat to a few other people and it seems there is agreement that this is confusing.
Hi,
Am Mo den 26. Apr 2021 um 15:14 schrieb Joseph Wright:
I had a chat to a few other people and it seems there is agreement that this is confusing.
Tell me what I can do to clearify.
For example scrbook does use \do for its own purpose and after a \chapter{...} it gets undefined so \renewcommand\do[1]{...} does error out.
I currently fixed that by using \def\do##1{...} instead, which doesn't care about defined or not. But using the TeX \def is not optimal in LaTeX packages.
Regards Klaus -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen Klaus@Ethgen.ch Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
When using koma script, the
\do
macro is used internally for example in\chapter
code and can end in\relax
. That means that\renewcommand*\do…
, as described in various list commands, will end in subtle errors.Using
\def\do#1…
will help. So please update at least the documentation. Maybe there is another way to make it more robust.