MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000583contextunexpected behaviourpublic2011-02-19 15:302013-04-05 19:58
ReporterPeter 
Assigned ToHans Hagen 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000583: margin=0pt ignored in \definedescription
DescriptionDoes 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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001065)
Hans Hagen (manager)
2013-04-05 19:58

should work in latest

- Issue History
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


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker