* pushed text in description
@ 2005-12-28 15:45 Peter Münster
2005-12-29 9:56 ` Taco Hoekwater
0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2005-12-28 15:45 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pushed text in description
2005-12-28 15:45 pushed text in description Peter Münster
@ 2005-12-29 9:56 ` Taco Hoekwater
2005-12-29 11:36 ` Hans Hagen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Taco Hoekwater @ 2005-12-29 9:56 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 406 bytes --]
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
[-- Attachment #2: t-itemfix.tex --]
[-- Type: application/x-tex, Size: 4282 bytes --]
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pushed text in description
2005-12-29 9:56 ` Taco Hoekwater
@ 2005-12-29 11:36 ` Hans Hagen
2005-12-29 13:17 ` Peter Münster
2005-12-30 13:55 ` Re[2]: " Giuseppe Bilotta
2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2005-12-29 11:36 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pushed text in description
2005-12-29 9:56 ` Taco Hoekwater
2005-12-29 11:36 ` Hans Hagen
@ 2005-12-29 13:17 ` Peter Münster
2005-12-30 13:55 ` Re[2]: " Giuseppe Bilotta
2 siblings, 0 replies; 5+ messages in thread
From: Peter Münster @ 2005-12-29 13:17 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re[2]: pushed text in description
2005-12-29 9:56 ` Taco Hoekwater
2005-12-29 11:36 ` Hans Hagen
2005-12-29 13:17 ` Peter Münster
@ 2005-12-30 13:55 ` Giuseppe Bilotta
2 siblings, 0 replies; 5+ messages in thread
From: Giuseppe Bilotta @ 2005-12-30 13:55 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-12-30 13:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-28 15:45 pushed text in description Peter Münster
2005-12-29 9:56 ` Taco Hoekwater
2005-12-29 11:36 ` Hans Hagen
2005-12-29 13:17 ` Peter Münster
2005-12-30 13:55 ` Re[2]: " Giuseppe Bilotta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).