![](https://secure.gravatar.com/avatar/c83fb4134167a11422c23048fb8a85e3.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Wed, Jul 30, 2008 at 12:09 AM, Gerben Wierda
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (3)
-
Gerben Wierda
-
Hans Hagen
-
Mojca Miklavec