ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: more itemization:-)
Date: 23 Jun 2002 15:12:32 +0200	[thread overview]
Message-ID: <87bsa2i1fj.fsf@gundla.ch> (raw)
In-Reply-To: <200206211352.30857.ishamid@attbi.com>

Idris S Hamid <ishamid@attbi.com> writes:

Hi,

> One more thing,
> 
> I need to set some space after the level-3 itemization before the rest of the 
> paragraph. I tried
> 
> \startitemize[KR][after={\blank[medium]}]
> 
> but this did not change things.

right, because context does not check for this  :)

\unprotect
\def\stopitemgroup
  {\iftextitems
     \removeunwantedspaces\space\ignorespaces
   \else
     \par
   \fi
   \ifnum\itemcolumndepth=0 \dolistreference \fi % beware !
   \iffirstlist \else \endgroup \fi % toegevoegd, eerste \som opent groep
   \ifnum\itemcolumndepth=\itemlevel\relax
     \stopkolommen
     \doglobal\newcounter\itemcolumndepth
     \getitemparameter\itemlevel\c!na
   \else
     \ifnum\itemlevel=1                  % !
       \doitembreak\allowbreak           % !
     \fi                                 % !
     \getitemparameter\itemlevel\c!na    % !
     \doif\@@oospringvolgendein\v!nee\noindentation
   \fi
   \endgroup
   \doglobal\decrement(\itemlevel,\itemincrement)%
   \egroup}
\protect

should fix this, but Hans should look over it again, since
indentnext=yes does not do anything except when you say after=\par,
which you can't. Why is there a comparison beetween \itemcolumndepth
and \itemlevel? This code above is really obscure...

Patrick

-- 
I'll fade into the darkness


  reply	other threads:[~2002-06-23 13:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-21 19:38 Idris S Hamid
2002-06-21 19:52 ` Idris S Hamid
2002-06-23 13:12   ` Patrick Gundlach [this message]
2002-06-23 14:24     ` Truncated ouput with m-bib Michael Hallgren
2002-06-23 22:49     ` more itemization:-) Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bsa2i1fj.fsf@gundla.ch \
    --to=pg@levana.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).