ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: for the brave
Date: Tue, 13 Jan 2009 21:46:51 +0100	[thread overview]
Message-ID: <F81EEEDB-07F8-468A-BAC3-86271F8F03DC@gmail.com> (raw)
In-Reply-To: <496CD893.403@wxs.nl>


Am 13.01.2009 um 19:08 schrieb Hans Hagen:

> The main incompatibilities are in the numbering: we now use sets for  
> numbering, seperators, converters etc as well as processors for  
> specific layout of these thingies. This info is carried around so  
> that intermediate style changes are reflected in tables of contents  
> and references (of course they can be overloaded). It's the price we  
> pay fro more flexibility.


The numbering of subpages did not work correct.

\setupheadertexts[\subpagenumber\ -- \nofsubpages]

\setupsubpagenumber[way=bytext,state=start]

\starttext

\dorecurse{10}{\input knuth\par}

\page

\resetsubpagenumber

\dorecurse{14}{\input knuth\par}

\stoptext


I miss also the function to use the subpagenumber value in number
tests like \ifnum and \ifodd. The following example worked with the
old numbering mechanism but not with the new.

\setupheadertexts[\ifnum\subpagenumber=\plusone\else\subpagenumber\fi]

\setupsubpagenumber[way=bytext,state=start]

\starttext

\dorecurse{10}{\input knuth\par}

\stoptext


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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2009-01-13 20:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 18:08 Hans Hagen
2009-01-13 18:26 ` Diego Depaoli
2009-01-13 19:27   ` Hans Hagen
2009-01-13 18:29 ` luigi scarso
2009-01-13 18:39   ` Wolfgang Schuster
2009-01-13 18:53     ` luigi scarso
2009-01-13 19:07       ` Mojca Miklavec
2009-01-13 19:14         ` luigi scarso
2009-01-13 19:03 ` Wolfgang Schuster
2009-01-13 19:26 ` Wolfgang Schuster
2009-01-13 19:38 ` Wolfgang Schuster
2009-01-13 20:46 ` Wolfgang Schuster [this message]
2009-01-22  4:03 ` Aditya Mahajan
2009-01-22 13:19   ` Wolfgang Schuster
2009-01-28  2:22 ` Aditya Mahajan

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=F81EEEDB-07F8-468A-BAC3-86271F8F03DC@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).