ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to get rid of space around itemize?
@ 2008-09-25  0:54 Mojca Miklavec
  2008-09-25  6:07 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2008-09-25  0:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get rid of space around itemize?
  2008-09-25  0:54 How to get rid of space around itemize? Mojca Miklavec
@ 2008-09-25  6:07 ` Hans Hagen
  2008-09-25 16:03   ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2008-09-25  6:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get rid of space around itemize?
  2008-09-25  6:07 ` Hans Hagen
@ 2008-09-25 16:03   ` Mojca Miklavec
  2008-09-25 16:56     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2008-09-25 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get rid of space around itemize?
  2008-09-25 16:03   ` Mojca Miklavec
@ 2008-09-25 16:56     ` Hans Hagen
  2008-09-25 19:35       ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2008-09-25 16:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get rid of space around itemize?
  2008-09-25 16:56     ` Hans Hagen
@ 2008-09-25 19:35       ` Mojca Miklavec
  0 siblings, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2008-09-25 19:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-25 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-25  0:54 How to get rid of space around itemize? Mojca Miklavec
2008-09-25  6:07 ` Hans Hagen
2008-09-25 16:03   ` Mojca Miklavec
2008-09-25 16:56     ` Hans Hagen
2008-09-25 19:35       ` Mojca Miklavec

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).