ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jaroslav Hajtmar" <hajtmar@gyza.cz>
To: ntg-context@ntg.nl
Subject: Change counter of chapters (sections, subsections...)
Date: Fri, 17 Apr 2015 00:38:37 +0200	[thread overview]
Message-ID: <NMX88D$79044D27A553FFEEF6E0053FE9A7DFA9@gyza.cz> (raw)


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

Hello ConTeXistI need to start writing any text from 53 page and such from the 5th chapter (or section). It is possible in a similar way as I set the start page number set also the counter of chapters (sections)?

Here is my minimal example:

\starttext
\chapter{Fictive chapter}
\chapter{Fictive chapter}
\chapter{Fictive chapter}
\chapter{Fictive chapter}


\page


\setcounter[userpage][53]


\chapter{Fifth (actually first) nonfictive chapter}


blablabla


\stoptext


Thanx for help.


Jaroslav Hajtmar

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

[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________

                 reply	other threads:[~2015-04-16 22:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='NMX88D$79044D27A553FFEEF6E0053FE9A7DFA9@gyza.cz' \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).