Joshua Lee wrote:
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

The attached sample doesn't meet the original poster's criteria. It produces headings like "1.1 alpha" and "1.1.1 a" instead of the requested "1 alpha" and "1.1 a". Is there any way of achieving this? (Under "Part 1", of course. That's the trick.)

Thanks,
Tad
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to