ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris S Hamid <ishamid@lamar.colostate.edu>
Subject: Re: page references
Date: Sun, 09 Feb 2003 15:29:29 -0700	[thread overview]
Message-ID: <3E46D649.C968D83B@lamar.colostate.edu> (raw)
In-Reply-To: <5.1.0.14.1.20030208174158.030a5c98@server-1>

Hans Hagen wrote:

> At 07:29 PM 2/4/2003 -0700, you wrote:
> >Dear posse,
> >
> >For this journal, I would like to have a description of the journal
> >placed at the bottom of the first page of each article. This description
> >gives the name of the journal, volume, year, publisher, and the range of
> >pages over which the article spans. Here is what I came up with:
> >
> >\def\JSSlogo{\vbox
> >                     {\noindent{\it \IJSS} {\bf 1} (2003)
> >                     \at[#1]--\at[#2]}\\
> >                     \noindent\copyright{} 2003 {\it by Global Scholarly
> >                     Publications}}
> >
> >\definelogo[ijss][footer][left][command=\JSSlogo]
> >
> >\setuphead[title][after={\placelogos[ijss]}
> >
> >This seems to work in regular ConTeXt, but is there a simpler way?
>
> another option is to put it in the backgrounds, or use log space directly
> (instead of head), or simpler:
>
> \setuplayout[bottom=1cm,bottomdistance=.5cm]
> \setupbottomtexts[...]

After solving some other things I want to try this, but how do I couple
\setupbottomtexts[...] with each \title page? That is, I only want the
logo at
the bottom of the first page of each article and nowhere else.

>  \unexpanded\def\JSSlogo ....
>
> may help

This does not appear to work. In Plain mode (which Omega mode mimics, at
least
till we get a working eomega),  pageref's don't work in the following
test
file:

==========test=======
\def\IJSS{International Journal of Foo Studies}

\unexpanded\def\JSSlogo{\vbox
                    {\noindent{\it \IJSS} {\bf 1} (2003)
                    \at[#1]--\at[#2]}\\
                    \noindent\copyright{} 2003 {\it by Foo
                    Publications}}

\definelogo[ijss][footer][left][command=\JSSlogo]

\setuphead[title][after={\placelogos[ijss]}]

\starttext

\title{Test}

\pagereference[test1]

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

\pagereference[test2]

\stoptext
===================

I hope I won't have to enter the page ranges manually...

Thnx
Idris

  reply	other threads:[~2003-02-09 22:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05  2:29 Idris S Hamid
2003-02-08 16:43 ` Hans Hagen
2003-02-09 22:29   ` Idris S Hamid [this message]
2003-02-13 22:56     ` Idris S Hamid
2003-02-14 10:00       ` Hans Hagen
2003-02-15 21:06         ` Idris S Hamid

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=3E46D649.C968D83B@lamar.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --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).