Re: [NTG-context] How to get rid of space around itemize?

2008-09-25 Thread Hans Hagen
Mojca Miklavec wrote:
 Hello,
 
 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?
 
 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]

[joinedup,nowhite]

 \setuplayout
   [grid=yes]
 \showgrid
 
 \starttext
 
 How to reduce the space here?
 \startitemize
 \item a
 \item b
 \stopitemize
 And here?
 
 \stoptext
 
 Thanks a lot,
Mojca
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___


-- 

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to get rid of space around itemize?

2008-09-25 Thread Mojca Miklavec
On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 Hello,

 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?

 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]

 [joinedup,nowhite]

Wow! Interesting, thanks.

The following keywords are also still missing in xml:
  nofit
  fit
  margin
  columns
  text

Just one more question. Some time ago, I have a feeling that

\setupitemize
[paragraph]

was indeed working, so that one could get


This is a list:
- first
- second
- third

And a new paragraph started after that.
---

Now I have seen the
\startitemize[joinedup,nowhite,after]
in sources which does that, but I still don't quite understand the
paragraph keyword.

To my understanding (as described in the manual), one should need both
packed and joinedup in order to achive what joinedup does now, and
I have some fain momeries that that has been the case. Now it seem to
me as if joinedup would be doing did packed was supposed to do. But
I'm confused about all those options anyway.

Thanks again,
Mojca


 \setuplayout
   [grid=yes]
 \showgrid

 \starttext

 How to reduce the space here?
 \startitemize
 \item a
 \item b
 \stopitemize
 And here?

 \stoptext

 Thanks a lot,
Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to get rid of space around itemize?

2008-09-25 Thread Hans Hagen
Mojca Miklavec wrote:
 On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 Hello,

 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?

 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]
 [joinedup,nowhite]
 
 Wow! Interesting, thanks.
 
 The following keywords are also still missing in xml:
   nofit
   fit
   margin
   columns
   text
 
 Just one more question. Some time ago, I have a feeling that
 
 \setupitemize
 [paragraph]
 
 was indeed working, so that one could get

\startitemize[paragraph]
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
\stopitemize

\startitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
\stopitemize

\page

\startitemize[packed]
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
\stopitemize

\startitemize
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
\stopitemize



-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to get rid of space around itemize?

2008-09-25 Thread Mojca Miklavec
On Thu, Sep 25, 2008 at 6:56 PM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 Hello,

 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?

 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]
 [joinedup,nowhite]

 Wow! Interesting, thanks.

 The following keywords are also still missing in xml:
   nofit
   fit
   margin
   columns
   text

 Just one more question. Some time ago, I have a feeling that

 \setupitemize
 [paragraph]

 was indeed working, so that one could get

 \startitemize[paragraph]
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \stopitemize

OK  I need some fresh air. paragraph indeed works (I knew I saw
it working), but only in the inner level (starting with the second
one) of itemize.

The first (outer) level indeed needs to be tuned with nowhite -
paragraph has only a partial effect of squeezing items, but does not
prevent whitespace. The desired effect only starts with inner items.

That has been completely confusing to me, but now I know how to use
properly it at least.

Thanks a lot,
Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] How to get rid of space around itemize?

2008-09-24 Thread Mojca Miklavec
Hello,

I'm trying to remove space before (and after) items in the following
example, but the only way I have managed to do that was by using
\vskip-\lineheight, which I'm not particulary proud of. Any ideas?

\setupwhitespace
[big]
\setupitemize
[joinedup]
\setuplayout
[grid=yes]
\showgrid

\starttext

How to reduce the space here?
\startitemize
\item a
\item b
\stopitemize
And here?

\stoptext

Thanks a lot,
   Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___