ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: \setupitemize[afterhead=...] not working
Date: Tue, 24 Jun 2008 09:13:05 +0200	[thread overview]
Message-ID: <115224fb0806240013t347f3154v8c681e6ab77675e4@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0806231700250.618@nqv-yncgbc>

On Mon, Jun 23, 2008 at 11:07 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Mon, 23 Jun 2008, Peter Münster wrote:
>
>> On Mon, Jun 23 2008, Wolfgang Schuster wrote:
>>
>>>> The parameter "afterhead" seems to be ignored (MKII and MKIV):
>>>
>>> There is no \head in your numeration.
>>
>> Indeed, but "headstyle" applies nevertheless.
>
> Yes, this is how \txt is defined
>
> \appendtoks \letvalue\v!txt  \itemgrouptext  \to \itemgroupcommands
>
> \def\itemgrouptext#1%
> {\def\symsymbol{\doitemattributes\currentitemlevel\c!headstyle\c!headcolor{#1}}%
>   \settrue\symbollistitem
>   \settrue\txtlistitem
>   \itemgroupitem}
>
> So, headstyle and headcolor are used, but not afterhead. Actually, is you
> use \head, the result is interesting :)
>
> \setupitemize[afterhead=:]
> \starttext
> \startitemize
>  \head This is a test
>
>    what happens here
> \stopitemize
> \stoptext
>
> Certainly not what I would have expected.

It is what you expect after you have read the definition but funny for
the first moment.

@Peter: afterhead is meant for vertical material like skips, rules
etc. or you could
use to draw a frame around the itemize head.

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2008-06-24  7:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23 12:43 Peter Münster
2008-06-23 12:57 ` Wolfgang Schuster
2008-06-23 16:22   ` Peter Münster
2008-06-23 21:07     ` Aditya Mahajan
2008-06-24  7:13       ` Wolfgang Schuster [this message]
2008-06-24  9:45         ` Peter Münster
2008-06-24  9:57           ` Wolfgang Schuster
2008-06-24 11:34             ` Peter Münster
2008-06-24 12:18               ` Wolfgang Schuster

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=115224fb0806240013t347f3154v8c681e6ab77675e4@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /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).