Hello, margin=0pt does not work here: \definedescription[Test][location=hanging, margin=0pt] \starttext \startTest{Problem} \input tufte \stopTest \setupdescriptions[Test][margin=0.0001pt] \startTest{Workaround} \input tufte \stopTest \stoptext -- Peter
Am 25.01.2011 um 17:02 schrieb Peter Münster:
Hello,
margin=0pt does not work here:
When you use “location=hanging” and set the margin to 0pt contexts sets the margin to 1.5em. I don’t know what do you want to achieve but maybe “location=serried” is what you want. Wolfgang
Wolfgang Schuster
When you use “location=hanging” and set the margin to 0pt contexts sets the margin to 1.5em. I don’t know what do you want to achieve but maybe “location=serried” is what you want.
Right, location=serried is what I want! (I had a margin, then to save place I set it to 0 and was surprised...) Thanks, -- Peter
Wolfgang Schuster
When you use “location=hanging” and set the margin to 0pt contexts sets the margin to 1.5em. I don’t know what do you want to achieve but maybe “location=serried” is what you want.
Another question: 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=#1]} Now, because of this (for me unexpected) behaviour, the \SetMargin becomes more complicated: if #1 == 0pt then location=serried else margin=#1 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
participants (2)
-
pmlists@free.fr
-
Wolfgang Schuster