ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* The problem with structure of heads in MkIV
@ 2009-12-30  2:18 Yanrui Li
  2009-12-30  2:32 ` Joshua Lee
  0 siblings, 1 reply; 9+ messages in thread
From: Yanrui Li @ 2009-12-30  2:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 591 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 843 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-30  2:18 The problem with structure of heads in MkIV Yanrui Li
@ 2009-12-30  2:32 ` Joshua Lee
  2009-12-30  3:16   ` Yanrui Li
  2009-12-30 19:30   ` Tad Ashlock
  0 siblings, 2 replies; 9+ messages in thread
From: Joshua Lee @ 2009-12-30  2:32 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

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


[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 923 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-30  2:32 ` Joshua Lee
@ 2009-12-30  3:16   ` Yanrui Li
  2009-12-30 19:30   ` Tad Ashlock
  1 sibling, 0 replies; 9+ messages in thread
From: Yanrui Li @ 2009-12-30  3:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 180 bytes --]

2009/12/30 Joshua Lee <muzili@gmail.com>

> Hi Yanrui,
> How about the attached sample?
>
>
Hi Joshua,

This is exactly what I want. Many thanks :-)


-- 
Best regards,

Li Yanrui

[-- Attachment #1.2: Type: text/html, Size: 486 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-30  2:32 ` Joshua Lee
  2009-12-30  3:16   ` Yanrui Li
@ 2009-12-30 19:30   ` Tad Ashlock
  2009-12-31  0:24     ` Yanrui Li
  1 sibling, 1 reply; 9+ messages in thread
From: Tad Ashlock @ 2009-12-30 19:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 : 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-30 19:30   ` Tad Ashlock
@ 2009-12-31  0:24     ` Yanrui Li
  2009-12-31 11:47       ` Tad Ashlock
  0 siblings, 1 reply; 9+ messages in thread
From: Yanrui Li @ 2009-12-31  0:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 446 bytes --]

2009/12/31 Tad Ashlock <taashlo@cyberdude.com>

>
> 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.)
>
>
Hi Tad,

The attached sample works ok for me. Can you give me your result which the
sample prodeces?


-- 
Best regards,

Li Yanrui

[-- Attachment #1.2: Type: text/html, Size: 868 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-31  0:24     ` Yanrui Li
@ 2009-12-31 11:47       ` Tad Ashlock
  2009-12-31 12:56         ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Tad Ashlock @ 2009-12-31 11:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Yanrui Li wrote:
>
> 2009/12/31 Tad Ashlock <taashlo@cyberdude.com 
> <mailto:taashlo@cyberdude.com>>
>
>
>     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.)
>
>
> Hi Tad,
>
> The attached sample works ok for me. Can you give me your result which 
> the sample prodeces?
>
>
> -- 
> Best regards,
>
> Li Yanrui


They are attached as "test.tex" (the test input), "test.pdf" and 
"test.log".  Notice how the chapter numbers are "x.y" (where 'x' = 'Part 
#') instead of just "y" as originally requested.  I point this out 
because I've tried to get ConTeXt to do structure numbering like this in 
the past and have had to postpone it due to lack of time.

Thanks,
Tad

[-- Attachment #2: test.tex --]
[-- Type: text/plain, Size: 282 bytes --]

\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

[-- Attachment #3: test.log --]
[-- Type: text/plain, Size: 6084 bytes --]

(c:/pub/projects/psicc2/book/test.tex

ConTeXt  ver: 2009.12.30 20:27 MKIV  fmt: 2009.12.30  int: english/english

system          : cont-new loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system          : cont-fil loaded
(C:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(C:/context/tex/texmf-context/tex/context/user/cont-sys.rme (C:/context/tex/texmf-context/tex/context/base/type-lua.tex) (C:/context/tex/texmf-context/tex/context/base/type-tmf.tex (C:/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (C:/context/tex/texmf-context/tex/context/base/type-siz.tex (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (C:/context/tex/texmf-context/tex/context/base/type-otf.tex (C:/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system          : test.top loaded
%
%	begin of optionfile
%
%	% runtime options files (command line driven)
%	\unprotect
%	% special commands, mostly for the ctx development team
%	% feedback and basic job control
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	 ["autopdf"]=true,
%	}
%	document.files={
%	 "c:/pub/projects/psicc2/book/test.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[inputfile=c:/pub/projects/psicc2/book/test.tex]
%	\setupsystem[\c!n=2,\c!m=3]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(test.top)
fonts           : preloading latin modern fonts
bodyfont        : 12pt rm is loaded
language        : language en is active
systems         : begin file c:/pub/projects/psicc2/book/test.tex at line 1
fonts           : resetting map file list
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-ams-euler
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts           : using map file: original-public-lm
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-math
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages          : flushing realpage 1, userpage 1, subpage 1
structure       : part @ level 1 : 1 -> first
!pages          : flushing realpage 2, userpage 2
structure       : chapter @ level 2 : 1.1 -> alpha
structure       : section @ level 3 : 1.1.1 -> a
structure       : section @ level 3 : 1.1.2 -> b
structure       : subsection @ level 4 : 1.1.2.1 -> x
structure       : subsection @ level 4 : 1.1.2.2 -> y
!pages          : flushing realpage 3, userpage 3
structure       : chapter @ level 2 : 1.2 -> beta
!pages          : flushing realpage 4, userpage 4
structure       : part @ level 1 : 2 -> second
!pages          : flushing realpage 5, userpage 5
structure       : chapter @ level 2 : 2.1 -> gamma
structure       : section @ level 3 : 2.1.1 -> a
structure       : section @ level 3 : 2.1.2 -> b
structure       : subsection @ level 4 : 2.1.2.1 -> x
structure       : subsection @ level 4 : 2.1.2.2 -> y
!pages          : flushing realpage 6, userpage 6
structure       : chapter @ level 2 : 2.2 -> delta
!pages          : flushing realpage 7, userpage 7
systems         : end file c:/pub/projects/psicc2/book/test.tex at line 21
system          : cont-err loaded
(C:/context/tex/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )<C:/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config path          - C:/context/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path           - C:/context/tex/texmf-cache
mkiv lua stats : input load time           - 0.016 seconds
mkiv lua stats : stored bytecode data      - 197 modules, 48 tables, 245 chunks
mkiv lua stats : node list callback tasks  - 4 unique tasks, 3 created, 193 calls
mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1408
mkiv lua stats : node memory usage         - 20 glue_spec
mkiv lua stats : used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns           - en:us:pat:exc:2
mkiv lua stats : startup time              - 0.422 seconds (including runtime option file processing)
mkiv lua stats : callbacks                 - direct: 1458, indirect: 3678, total: 5136
mkiv lua stats : lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats : result saved in file      - test.pdf
mkiv lua stats : loaded fonts              - 32 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time           - 0.281 seconds
mkiv lua stats : luatex banner             - this is luatex, version beta-0.50.0-2009122521
mkiv lua stats : control sequences         - 29719 of 165536
mkiv lua stats : current memory usage      - 33 MB (ctx: 34 MB)
mkiv lua stats : runtime                   - 0.984 seconds, 6 processed pages, 7 shipped pages, 7.114 pages/second


[-- Attachment #4: test.pdf --]
[-- Type: application/pdf, Size: 9584 bytes --]

[-- Attachment #5: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-31 11:47       ` Tad Ashlock
@ 2009-12-31 12:56         ` Wolfgang Schuster
  2009-12-31 19:58           ` Tad Ashlock
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2009-12-31 12:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.12.2009 um 12:47 schrieb Tad Ashlock:

> Yanrui Li wrote:
>> 
>> 2009/12/31 Tad Ashlock <taashlo@cyberdude.com <mailto:taashlo@cyberdude.com>>
>> 
>> 
>>    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.)
>> 
>> 
>> Hi Tad,
>> 
>> The attached sample works ok for me. Can you give me your result which the sample prodeces?
>> 
>> 
>> -- 
>> Best regards,
>> 
>> Li Yanrui
> 
> 
> They are attached as "test.tex" (the test input), "test.pdf" and "test.log".  Notice how the chapter numbers are "x.y" (where 'x' = 'Part #') instead of just "y" as originally requested.  I point this out because I've tried to get ConTeXt to do structure numbering like this in the past and have had to postpone it due to lack of time.

Look at Joshuas example and the sectionsegments settings.

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-31 12:56         ` Wolfgang Schuster
@ 2009-12-31 19:58           ` Tad Ashlock
  2010-01-01  0:59             ` Yanrui Li
  0 siblings, 1 reply; 9+ messages in thread
From: Tad Ashlock @ 2009-12-31 19:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> Am 31.12.2009 um 12:47 schrieb Tad Ashlock:
>
>   
>> Yanrui Li wrote:
>>     
>>> 2009/12/31 Tad Ashlock <taashlo@cyberdude.com <mailto:taashlo@cyberdude.com>>
>>>
>>>
>>>    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.)
>>>
>>>
>>> Hi Tad,
>>>
>>> The attached sample works ok for me. Can you give me your result which the sample prodeces?
>>>
>>>
>>> -- 
>>> Best regards,
>>>
>>> Li Yanrui
>>>       
>> They are attached as "test.tex" (the test input), "test.pdf" and "test.log".  Notice how the chapter numbers are "x.y" (where 'x' =Part #') instead of just "y" as originally requested.  I point this out because I've tried to get ConTeXt to do structure numbering like this in the past and have had to postpone it due to lack of time.
>>     
>
> Look at Joshuas example and the sectionsegments settings.
>
> Wolfgang

Ahhh...  The problem was that I came at Joshua's message from the online 
mailing list 
<http://archive.contextgarden.net/message/20091230.023239.56a1e396.en.html> 
and the only "attached sample" was the code in the message.  Apparently 
attachments aren't accessible on the mailing list website?

Sorry about wasting your time.
Tad
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: The problem with structure of heads in MkIV
  2009-12-31 19:58           ` Tad Ashlock
@ 2010-01-01  0:59             ` Yanrui Li
  0 siblings, 0 replies; 9+ messages in thread
From: Yanrui Li @ 2010-01-01  0:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 787 bytes --]

2010/1/1 Tad Ashlock <taashlo@cyberdude.com>

>
> Ahhh...  The problem was that I came at Joshua's message from the online
> mailing list <
> http://archive.contextgarden.net/message/20091230.023239.56a1e396.en.html>
> and the only "attached sample" was the code in the message.  Apparently
> attachments aren't accessible on the mailing list website?
>
>
Joshua's example:

%%%%
\definestructureresetset[default][0,0][1]
 \setuphead
    [part]
    [resetnumber=no,
     sectionresetset=default,
     placehead=yes]

 \setuphead
    [chapter]
    [sectionsegments=2:100,resetnumber=no]

 \setuphead
   [section][sectionsegments=2:100]

 \setuphead[subsection][sectionsegments=2:100]

 \setuphead
   [subsubsection]
   [sectionsegments=2:100,number=no]
%%%%

-- 
Best regards,

Li Yanrui

[-- Attachment #1.2: Type: text/html, Size: 1387 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-01  0:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30  2:18 The problem with structure of heads in MkIV Yanrui Li
2009-12-30  2:32 ` Joshua Lee
2009-12-30  3:16   ` Yanrui Li
2009-12-30 19:30   ` Tad Ashlock
2009-12-31  0:24     ` Yanrui Li
2009-12-31 11:47       ` Tad Ashlock
2009-12-31 12:56         ` Wolfgang Schuster
2009-12-31 19:58           ` Tad Ashlock
2010-01-01  0:59             ` Yanrui Li

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).