ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Overriding a chapter number
@ 2008-07-29 22:09 Gerben Wierda
  2008-07-29 22:21 ` Mojca Miklavec
  2008-07-29 22:22 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Gerben Wierda @ 2008-07-29 22:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Overriding a chapter number
  2008-07-29 22:09 Overriding a chapter number Gerben Wierda
@ 2008-07-29 22:21 ` Mojca Miklavec
  2008-07-29 22:22 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2008-07-29 22:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 30, 2008 at 12:09 AM, Gerben Wierda <Gerben.Wierda@rna.nl> 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
___________________________________________________________________________________


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

* Re: Overriding a chapter number
  2008-07-29 22:09 Overriding a chapter number Gerben Wierda
  2008-07-29 22:21 ` Mojca Miklavec
@ 2008-07-29 22:22 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2008-07-29 22:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-07-29 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-29 22:09 Overriding a chapter number Gerben Wierda
2008-07-29 22:21 ` Mojca Miklavec
2008-07-29 22:22 ` Hans Hagen

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