ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Hilbricht <hilbricht@linopus.de>
Subject: marking, headers and 2 columns
Date: Tue, 20 Apr 2004 12:42:49 +0200	[thread overview]
Message-ID: <1082457768.4649.20.camel@phoebus.venus.bay> (raw)

Dear readers of this list,
I would like to typeset a bible-text with ConTeXt. The header should
print the first  and the last verse on that particular page. I used the
commands \marking to mark the verses and \getmarking to setup the
headers as shown in the excerpt below. This works correctly with a
single column layout, but not in a two column layout. The last verse
printed in the headers is not the correct one, the first or the second
on the following page is given.
Is there a work around for this problem? Many thanks in advance for
helpful hints

Yours sincerely

Tobias Hilbricht

----------------

% Kopie von nova-vulgata_vt_genesis.html
% zur Weiterbearbeitung mit ConTeXt

\mainlanguage[la]
\language[la]
\setupencoding[default=ec]
\usetypescript[berry][ec]
\setupheadertexts[{\getmarking[vers][first]} --
{\getmarking[vers][last]}][1. Mose]

\definemarking[vers][]

\setupcolumns[2]
\setuppagenumbering[location={footer,right}]

\setupheadertexts[{\getmarking[vers][first]} --
{\getmarking[vers][last]}][Liber Genesis]

\starttext
\startcolumns

LIBER GENESIS

1
\marking[vers]{1, 1}     1 In principio creavit Deus caelum et terram. 
\marking[vers]{1, 2}     2 Terra autem erat inanis et vacua, et tenebrae
super faciem abyssi, et spiritus Dei ferebatur super aquas.
\marking[vers]{1, 3}     3 Dixitque Deus: "Fiat lux". Et facta est lux.
.
... many more verses (12 pages)
.
\stopcolumns
\stoptext

             reply	other threads:[~2004-04-20 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-20 10:42 Tobias Hilbricht [this message]
2004-04-28 18:14 ` 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=1082457768.4649.20.camel@phoebus.venus.bay \
    --to=hilbricht@linopus.de \
    --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).