From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41881 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: \setupitemize[afterhead=...] not working Date: Tue, 24 Jun 2008 09:13:05 +0200 Message-ID: <115224fb0806240013t347f3154v8c681e6ab77675e4@mail.gmail.com> References: <20080623124326.GB5297@gaston.couberia.bzh> <115224fb0806230557x7c74b768m67a6477a65b00bb3@mail.gmail.com> <20080623162205.GA13711@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1214291682 7311 80.91.229.12 (24 Jun 2008 07:14:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 07:14:42 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 24 09:15:26 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KB2kP-0001XT-0B for gctc-ntg-context-518@m.gmane.org; Tue, 24 Jun 2008 09:15:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52B391FC67; Tue, 24 Jun 2008 09:14:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16220-02-3; Tue, 24 Jun 2008 09:13:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91CF51FBE8; Tue, 24 Jun 2008 09:13:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5356F1FBE8 for ; Tue, 24 Jun 2008 09:13:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16633-01-5 for ; Tue, 24 Jun 2008 09:13:07 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by ronja.ntg.nl (Postfix) with ESMTP id 055051FB7F for ; Tue, 24 Jun 2008 09:13:06 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 27so3202398wfd.5 for ; Tue, 24 Jun 2008 00:13:05 -0700 (PDT) Original-Received: by 10.142.242.11 with SMTP id p11mr4995771wfh.198.1214291585198; Tue, 24 Jun 2008 00:13:05 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Tue, 24 Jun 2008 00:13:05 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41881 Archived-At: On Mon, Jun 23, 2008 at 11:07 PM, Aditya Mahajan wrote: > On Mon, 23 Jun 2008, Peter M=FCnster 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!headcolo= r{#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=3D:] > \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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________