Hello, Taco said on http://context.literatesolutions.com/collector/66 that the new \txt should solve my problem, but I cannot find the right way. If nobody knows a solution, perhaps I'm going to translate the LaTeX macros to ConTeXt (at least trying to ...). Here is the LaTeX-code, that does the thing I'm looking for: \documentclass{article} \usepackage{mdwlist} \begin{document} \begin{basedescript}{\desclabelstyle{\pushlabel}\desclabelwidth{6em}} \item[Short] This is a shorter item label, and some text that talks about it. The text is wrapped into a paragraph, with successive lines indented. \item[Normal] This is a normal item label, and some text that talks about it. The text is wrapped into a paragraph in the same manner as above. \item[Rather longer label] This is a longer item label. It's somewhat an exception. As you can see, the text is pushed to the right, to leave some place for the label. \end{basedescript} \end{document} I would be glad about a ConTeXt-solution. Cheers, Peter -- http://pmrb.free.fr/contact/
Hi Peter, You latex example does what I *thought* \txt did. My guess is Hans misunderstood Giuseppe a bit, and Giuseppe never really tested the code, because what happens now is a bit nonsensical. I believe the attached module does the 'right thing'. You can use \setupitemize[width=4em,distance=1em] to control the two dimensions. Let me know if this is the correct behaviour, ok? Cheers, Taco
Taco Hoekwater wrote:
Hi Peter,
You latex example does what I *thought* \txt did. My guess is Hans misunderstood Giuseppe a bit, and Giuseppe never really tested the code, because what happens now is a bit nonsensical.
I believe the attached module does the 'right thing'. You can use
\setupitemize[width=4em,distance=1em]
to control the two dimensions.
Let me know if this is the correct behaviour, ok?
ok, i merged the patch anyway -) Hans
On Thu, 29 Dec 2005, Taco Hoekwater wrote:
I believe the attached module does the 'right thing'. You can use
\setupitemize[width=4em,distance=1em]
to control the two dimensions.
Let me know if this is the correct behaviour, ok?
Yes, this works very well. Thank you very much!! Cheers, Peter -- http://pmrb.free.fr/contact/
Thursday, December 29, 2005 Taco Hoekwater wrote:
You latex example does what I *thought* \txt did. My guess is Hans misunderstood Giuseppe a bit, and Giuseppe never really tested the code, because what happens now is a bit nonsensical.
It's true, I never got around to testing the code, since in rewriting the text I didn't need it anymore :) -- Giuseppe "Oblomov" Bilotta
participants (4)
-
Giuseppe Bilotta
-
Hans Hagen
-
Peter Münster
-
Taco Hoekwater