From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10768 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: page references Date: Tue, 04 Feb 2003 19:29:55 -0700 Sender: ntg-context-admin@ntg.nl Message-ID: <3E407723.910FF4F6@lamar.colostate.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044464237 13852 80.91.224.249 (5 Feb 2003 16:57:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 16:57:17 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gSrK-0003ay-00 for ; Wed, 05 Feb 2003 17:57:14 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id B828610B7C; Wed, 5 Feb 2003 17:59:13 +0100 (MET) Original-Received: from mesa.acns.ColoState.EDU (mesa.acns.colostate.edu [129.82.100.130]) by ref.ntg.nl (Postfix) with ESMTP id 6ACF010B41 for ; Wed, 5 Feb 2003 03:40:21 +0100 (MET) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by mesa.acns.ColoState.EDU (AIX4.3/8.9.3/8.9.3) with ESMTP id TAA55610 for ; Tue, 4 Feb 2003 19:40:20 -0700 Original-Received: from lamar.colostate.edu (ihamid.libarts.colostate.edu [129.82.187.166] (may be forged)) by lamar.colostate.edu (AIX5.1/8.11.0/8.8.8) with ESMTP id h152eKV502662 for ; Tue, 4 Feb 2003 19:40:20 -0700 X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: ishamid@colostate.edu List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10768 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10768 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? In Gamma I have a problem: the \at[#1]--\at[#2] line does not work with \pagereference[]. Here is a test: ============ \starttext \at{}[test1]--\at{}[test2] \pagereference[test1] \dorecurse{10}{\input tufte \input knuth \par} \pagereference[test2] \stoptext ============= and the error: ============= ! Argument of \dodododoinatreference has an extra }. \par } \doifelsenothing #1->\edef \!!stringa {#1} \ifx \!!stringa \empty \expandafte... ...ce \ignorespaces \rightofreference } {\egroup \dosymbolreferenc... \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \dododododoinatreference ...eference {#1}{#2}[#3]} \referentieinfo <{#3}\glob... ... l.3 \at{}[test1] --\at{}[test2] ? ============= it appears to work if press `q' and enter, but that's no way to run TeX... Idris