ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <hraban@fiee.net>
Subject: Re: fun with markings
Date: Tue, 20 Dec 2011 18:14:34 +0100	[thread overview]
Message-ID: <4EF0C27A.2000409@wxs.nl> (raw)
In-Reply-To: <66940F81-6987-49DF-BB28-37642E9AA894@fiee.net>

On 20-12-2011 13:57, Henning Hraban Ramm wrote:
> Hello again,
>
> it’s that time of year again, when I try to print my calendar and
> address book for next year, and last year’s ConTeXt code doesn’t work
> any more... (see my mails on imposition and tabulate lines problems).
> Anyway; I’d like to get the first and last name on one address book page
> into its header. While that didn’t work last year at all (at least not
> in combination with imposition), I get "rather" good results with this
> code (helpfully donated by someone on this list):

Marks are somewhat special in the sense that they can be loners or part 
of a chain (chapter-section-...) with special reset requirements.

As tex's natural model has some limitations, in mkiv we do things a bit 
diffrent (but rather well defined). When a set of marks on a page is 
identified, the following keywords can be used:

previous : last before sync
next     : first after sync

top      : first in sync
bottom   : last in sync

first    : first not top in sync
last     : last not bottom in sync

so, you need to use 'top' and 'bottom'. When the chain is to be ignored, 
one can append ":nocheck" to the keyword. There's also a 'current' method.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-12-20 17:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20 12:57 Henning Hraban Ramm
2011-12-20 17:14 ` Hans Hagen [this message]
2011-12-21 10:00   ` Henning Hraban Ramm

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=4EF0C27A.2000409@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=hraban@fiee.net \
    --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).