ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Two problems with lists and definitions
Date: 23 Jun 2002 16:32:31 +0200	[thread overview]
Message-ID: <873cvehxq8.fsf@gundla.ch> (raw)
In-Reply-To: <20020608103721.A623@scaprea>

Simon Pepping <spepping@scaprea.hobby.nl> writes:

Hi,

> I have two problems with lists and definitions.
> 
> 1. indentnext=no does not work with itemize, while it does with
>    definitions.

Here is a workaround, a slightly modified version I have recently
posted to the list. But beware! this will probably introduce new
errors. Hans should make a correct version.

\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{\getitemparameter\itemlevel\c!springvolgendein}\v!nee\noindentation %!!!
   \fi
   \endgroup
   \doglobal\decrement(\itemlevel,\itemincrement)%
   \egroup}
\protect

Hans: the \doif\@@oospringvolgendein\v!nee\noindentation does not look
at the current \itemlevel, does it??? See line with %!!!

Patrick

-- 
I'll fade into the darkness


  reply	other threads:[~2002-06-23 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-08  8:37 Simon Pepping
2002-06-23 14:32 ` Patrick Gundlach [this message]
2002-06-23 22:52   ` 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=873cvehxq8.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).