mdwtools.tex, *.dtx: Provide a hack for setting `description' labels.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Sep 2020 16:24:40 +0000 (17:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Sep 2020 16:33:19 +0000 (17:33 +0100)
commit78cdb9cc6b9784b7777438957a99611a7870b9ab
tree80f784034565e48ffea6264fbdfc82d930172d7d
parentb140714e00861997dae82a3c9e01a7043121c69d
mdwtools.tex, *.dtx: Provide a hack for setting `description' labels.

LaTeX has a bug (which I'm sure can't be fixed without unacceptable
compatibility lossage) which starts setting `description' list labels
`\labelsep' too far to the left, so the `\makelabel' implementation
compensates by adding a `\labelsep' of horizontal space before the
actual label text.  The array rule-spec list overrides `\makelabel' to
reduce typing, and therefore must duplicate this countermeasure.

My `strayman' document class, and the `mdwlist' package in this
collection, both correct this bug, so if either of those is loaded then
the list ends up with the labels too far to the right.  (This is, of
course, the very compatibility problem that prevents the bug from being
fixed upstream.)

Provide a command which detects (hackily) either of these two situations
and sets a label with the correct spacing, and use it everywhere.
cmtt.dtx
mdwmath.dtx
mdwtab.dtx
mdwtools.tex
poetry.dtx
syntax.dtx