[NTG-context] Overriding a chapter number
When I compile a chapter of a book separately, I want to override the automatic numbering because otherwise every separate pdf will have chapter 1. So I tried: \doifmode{standalone}{\setuphead[chapter][2]} \chapter[h:foo]{Foo} But the chapter still gets number 1 when I compile with texexec --pdf --mode=standalone c_foo.tex what am I doing wrong here? Thanks, G ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Overriding a chapter number
On Wed, Jul 30, 2008 at 12:09 AM, Gerben Wierda [EMAIL PROTECTED] wrote: When I compile a chapter of a book separately, I want to override the automatic numbering because otherwise every separate pdf will have chapter 1. So I tried: \doifmode{standalone}{\setuphead[chapter][2]} It's \setupheadnumber. \chapter[h:foo]{Foo} But the chapter still gets number 1 when I compile with texexec --pdf --mode=standalone c_foo.tex what am I doing wrong here? Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Overriding a chapter number
Gerben Wierda wrote: When I compile a chapter of a book separately, I want to override the automatic numbering because otherwise every separate pdf will have chapter 1. So I tried: \doifmode{standalone}{\setuphead[chapter][2]} \setupheadnumber - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___