ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupitemize[afterhead=...] not working
Date: Mon, 23 Jun 2008 17:07:43 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.00.0806231700250.618@nqv-yncgbc> (raw)
In-Reply-To: <20080623162205.GA13711@gaston.couberia.bzh>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 858 bytes --]

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.

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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-23 21:07 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 [this message]
2008-06-24  7:13       ` Wolfgang Schuster
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=alpine.DEB.1.00.0806231700250.618@nqv-yncgbc \
    --to=adityam@umich.edu \
    --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).