View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000583 | context | unexpected behaviour | public | 2011-02-19 15:30 | 2017-03-27 17:10 |
Reporter | Peter | Assigned To | Hans Hagen | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000583: margin=0pt ignored in \definedescription | ||||
Description | Does it make sense, that context overwrites the margin=0pt? Imagine, you have some wrapper (simplified user-friendly macro): \definedescription[SpecialDesc][location=hanging, margin=1em] % 1em = default \def\SetMargin#1{\setupdescriptions[SpecialDesc][margin=0000001]} Now, because of this (for me unexpected) behaviour, the \SetMargin becomes more complicated: if 0000001 == 0pt then location=serried else margin=0000001 endif IMHO, it would make more sense, if context just accepts the user supplied margin, and when location=hanging and margin=0, then it prints a warning message: "Hey, you can get the same with location=serried!" Peter | ||||
Steps To Reproduce | \definedescription[Test][location=hanging, margin=0pt] \starttext \startTest{Problem} \input tufte \stopTest \setupdescriptions[Test][margin=0.0001pt] \startTest{Workaround} \input tufte \stopTest \stoptext | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-19 15:30 | Peter | New Issue | |
2013-04-05 19:58 | Hans Hagen | Note Added: 0001065 | |
2013-04-05 19:58 | Hans Hagen | Status | new => resolved |
2013-04-05 19:58 | Hans Hagen | Resolution | open => fixed |
2013-04-05 19:58 | Hans Hagen | Assigned To | => Hans Hagen |
2017-03-27 17:10 | Hans Hagen | Status | resolved => closed |