ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Huesing <hannes@ruhrau.de>
Subject: Re: Header counter that resets with page
Date: Sun, 23 Sep 2001 15:28:59 +0200	[thread overview]
Message-ID: <20010923152859.A914@ruhrau.de> (raw)
In-Reply-To: <5.1.0.14.1.20010923115737.029438d0@pop.planet.nl>; from pragma@wxs.nl on Sun, Sep 23, 2001 at 11:59:35AM +0200

On Sun, Sep 23, 2001 at 11:59:35AM +0200, Hans Hagen wrote:
> At 06:02 PM 9/22/2001 +0200, Johannes Huesing wrote:
> 
> counter.tex works ok here
> 

strange, here too (should've saved that log file when it didn't).

> the other one also runs ok, but i don't know what to expect
That's what I am describing below. It runs ok with head, though
it doesn't what I want it to do (I don't want the counter to
increment along with sections, and I want to reset it with 
every page). It exits with an error message when I replace the
def'n of a head with that of an enumeration.

> 
> >Moreover, I am still uncertain why my minimal example doesn't work.
> >If I replace the head with an enumeration I get an error too.
> 
> this has to do with expansion, you can control that by setting expansion 
> [in head] to yes|command|no and alike,

Yes, within setuphead, not within setupenumeration.

> 
> i need a bit more info on what you want to achieve -)
> 

I need a heading with a counter on its own, which is referrable,
and listable, and which resets with each new page. Eventually,
it should have a number that consists of the page number and
an alphabetical counter, so subsequent entries on one page 6 have
counters 6a, 6b, and so on.

I sound like the doctors who switch on their computer for using SAS
every half a year, and then phone me up for details :-(

Greetings

Johannes

-- 
Johannes Hüsing  | Terrorism treats the ending of a 
hannes@ruhrau.de | state as damage, and routes around it 


  reply	other threads:[~2001-09-23 13:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-20 19:45 Johannes Huesing
2001-09-20 20:45 ` Johannes Huesing
2001-09-21  9:04 ` Hans Hagen
2001-09-22 16:02   ` Johannes Huesing
2001-09-23  9:59     ` Hans Hagen
2001-09-23 13:28       ` Johannes Huesing [this message]
2001-09-29 17:01         ` Hans Hagen

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=20010923152859.A914@ruhrau.de \
    --to=hannes@ruhrau.de \
    /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).