From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55399 Path: news.gmane.org!not-for-mail From: Yanrui Li Newsgroups: gmane.comp.tex.context Subject: The problem with structure of heads in MkIV Date: Wed, 30 Dec 2009 10:18:15 +0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1154282650==" X-Trace: ger.gmane.org 1262139531 12573 80.91.229.12 (30 Dec 2009 02:18:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2009 02:18:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 30 03:18:43 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NPo95-0000it-OG for gctc-ntg-context-518@m.gmane.org; Wed, 30 Dec 2009 03:18:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 787E2C9CD2; Wed, 30 Dec 2009 03:18:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0dAC81ZwMOCM; Wed, 30 Dec 2009 03:18:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4DA4C9CCE; Wed, 30 Dec 2009 03:18:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EBC8AC9CCE for ; Wed, 30 Dec 2009 03:18:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A3LhboMuRyvb for ; Wed, 30 Dec 2009 03:18:19 +0100 (CET) Original-Received: from mail-pw0-f55.google.com (mail-pw0-f55.google.com [209.85.160.55]) by balder.ntg.nl (Postfix) with ESMTP id 51656C9CC8 for ; Wed, 30 Dec 2009 03:18:16 +0100 (CET) Original-Received: by pwj2 with SMTP id 2so7639616pwj.34 for ; Tue, 29 Dec 2009 18:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=bKZQdPuT16wsfqe0Var2b2cIFUzbeJ1bATm7/Hft7rI=; b=jYDtzKteaaBOyNB6NB3a0T+U9lqhp3YMsdIGQwKnRxYx34GDTSeucQ3qC6Oy1xtbfA w98l7XjaA/NNwNDisAVTbcqXazmQ+e550Y1Xm7ih6irNHBFWGpzgxp3l9aPcxJ8mgKvP DfyPBsDnNJLSnnHeoiLl9LSyNr1sZCHMA+GXA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j2auZOEfptdFQs4ZZIMJHo/dlY6mF97hmhyXjJppKHxUi7NgXxI0ipNQZG1Q/oVfUM GVyw083h+A7a6tb4qjNfLCefUA6Bc+3s0hdQkmsDE/C+9ecdjXjxcdtOpYEubYGeCQwq eQRbrnn5HYoOc4hLBNMY0xoDVEGFnoqluCTOc= Original-Received: by 10.115.135.6 with SMTP id m6mr1438396wan.22.1262139495652; Tue, 29 Dec 2009 18:18:15 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55399 Archived-At: --===============1154282650== Content-Type: multipart/alternative; boundary=0016e64b02024b9e3e047be8c0eb --0016e64b02024b9e3e047be8c0eb Content-Type: text/plain; charset=UTF-8 hi all, For example: %%%% \starttext \placelist[part,chapter,section,subsection][criterium=all] \part{first} \chapter{alpha} \section{a} \section{b} \subsection{x} \subsection{y} \chapter{beta} \part{second} \chapter{gamma} \section{a} \section{b} \subsection{x} \subsection{y} \chapter{delta} \stoptext %%%% how to get the following head structure in MkIV ? Part 1 first 1 alpha 1.1 a 1.2 b 1.2.1 x 1.2.2 y 2 beta Part 2 second 3 gamma 3.1 a 3.2 b 3.2.1 x 3.2.2 y 4 delta -- Best regards, Li Yanrui --0016e64b02024b9e3e047be8c0eb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi all,

For=C2=A0 example:

%%%%
\starttext

\placeli= st[part,chapter,section,subsection][criterium=3Dall]

\part{first}=C2= =A0
=C2=A0 \chapter{alpha}
=C2=A0=C2=A0=C2=A0 \section{a}
=C2= =A0=C2=A0=C2=A0 \section{b}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \subsection{= x}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \subsection{y}
=C2=A0 \chapter{beta}
=
\part{second}
=C2=A0 \chapter{gamma}
=C2=A0=C2=A0=C2=A0 \sectio= n{a}
=C2=A0=C2=A0=C2=A0 \section{b}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = \subsection{x}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \subsection{y}
=C2=A0= \chapter{delta}

\stoptext
%%%%

how to get the following head structure in MkIV ?

Part 1= =C2=A0 first

1 alpha
=C2=A0 1.1 a
=C2=A0 1.2 b
=C2=A0=C2= =A0=C2=A0=C2=A0 1.2.1 x
=C2=A0=C2=A0=C2=A0=C2=A0 1.2.2 y
2 beta
=
Part 2=C2=A0 second

3 gamma
=C2=A0 3.1 a
=C2=A0 3.2 b =C2=A0=C2=A0=C2=A0 3.2.1 x
=C2=A0=C2=A0=C2=A0 3.2.2 y
4 delta

= --
Best regards,

Li Yanrui
--0016e64b02024b9e3e047be8c0eb-- --===============1154282650== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1154282650==--