Hi Yanrui, How about the attached sample? Best regards, Joshua On Wed, 30 Dec 2009, Yanrui Li wrote:
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
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Joshua Lee Alpha Networks(Chengdu) Co., LTD Shanghai Branch TEL: (86-21)61609650 EXT: 8020 FAX: (86-21)61609650 EXT: 8041 ADD: Suite 301, No.10, 198 Lane, Zhangheng Road, ZJ Hi-Tech Park, Shanghai, China 201204