From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74963 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \setuppagenumber problem Date: Thu, 8 Mar 2012 14:34:13 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0365155511==" X-Trace: dough.gmane.org 1331235296 26389 80.91.229.3 (8 Mar 2012 19:34:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2012 19:34:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 08 20:34:55 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S5j6r-0004or-NZ for gctc-ntg-context-518@m.gmane.org; Thu, 08 Mar 2012 20:34:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0B14CB251; Thu, 8 Mar 2012 20:34:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MH-sKAwaV1cl; Thu, 8 Mar 2012 20:34:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33D86CB259; Thu, 8 Mar 2012 20:34:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 339BFCB259 for ; Thu, 8 Mar 2012 20:34:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3QTtvns+6VN2 for ; Thu, 8 Mar 2012 20:34:19 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id B4F85CB251 for ; Thu, 8 Mar 2012 20:34:19 +0100 (CET) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q28JYEn6015945 for ; Thu, 8 Mar 2012 20:34:18 +0100 Original-Received: by qcsd16 with SMTP id d16so866980qcs.14 for ; Thu, 08 Mar 2012 11:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=K67Q78cndYD+ZtguxZI+YcPVBT763h7ex3jEPK88Is8=; b=N1mLS1AieUMKWKschNLEVVSuEIE0yEk3YGrhy/PNIBzJwjUXFZ88DS2+pbZjYxHfq8 f8BJW6G14Wkiu47EN673bR+G73aW1lYPUKNshOYuD1BmNMwfy62JIVXcW/8wamQHRjVN PqIcWw7n11hJGzj3EsvvaXXOTJ/C0s0FBsWIZB0E9R1YmATW4Bj753UEhKPUal68jzG/ DQZBKN2X+YZBqhGaK/sOmnyye7nsXAGZu+s2u7i//fe4g2B60m4gpmo5f+hMx06SoJNa xmtxLg8cQcjaT9bgfXA9noN9xPtx4sRgS7fdC7UNgzBZO3YLmATlESmmFcpWgZ7Gtkow rgfw== Original-Received: by 10.229.106.23 with SMTP id v23mr1220000qco.52.1331235253799; Thu, 08 Mar 2012 11:34:13 -0800 (PST) Original-Received: by 10.229.40.76 with HTTP; Thu, 8 Mar 2012 11:34:13 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TGH7ye6H - 0efc5e9a6cc8 - 20120308 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74963 Archived-At: --===============0365155511== Content-Type: multipart/alternative; boundary=002354470eb86a4c1304bac05c47 --002354470eb86a4c1304bac05c47 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks, Wolfgang. You are right. Poor code copy/pasting on my part. Sorry for that bit of noise. But what of the pagination problem? Is there a bug or am I missing something for that too? A. On Thu, Mar 8, 2012 at 2:02 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 08.03.2012 um 19:06 schrieb Alan Bowen: > > > The following code, > > > > \startcomponent > > > > \setuphead[title][page=3Dyes] > > \setuppagenumber[numberconversion=3Dromannumerals] > > \setuppagenumbering[alternative=3Ddoublesided] > > \setuppagenumbering[location=3D,] > > > > \setupheader[state=3Dhigh] > > > > \definehead[FMTitle][title] > > > \setuphead[FMTitle][header=3Dhigh,alternative=3Dmiddle,style=3D{\tfb\rm},= footer=3D{}] > > \setupheadertexts[text] > > [\cap{A.\ U.\ Thor}] > > [\pagenumber] > > [\pagenumber] > > Use =93[pagenumber]=94 (without the backslash) because \pagenumber prints= the > raw value > of the counter without the conversion. > > > [\em{Journal}] > > > > \FMTitle[Preface]{Preface} > > > > \dorecurse{6}{\input knuth} > > \blank[big] > > And here I should like to recall what was said earlier in this > \goto{Preface}[Preface] by \dots > > > > \stopcomponent > > > > fails on two counts: the page numbers are given in arabic numerals not > roman numerals, and the cross-reference is ignored. The failure in the > cross-reference may be due to a bug involving \startcomponent, if I > understand Wolfgang correctly, and was wondering if the same might be tru= e > for \setuppagenumber[...]. If it is not, how may I fix the pagination? > > The component is not the problem in this case, for \goto you have to > enable the interactive features (\setupinteraction[state=3Dstart]). > > Wolfgang > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --002354470eb86a4c1304bac05c47 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks, Wolfgang. You are right. Poor code copy/pasting on my part. Sorry f= or that bit of noise.

But what of the pagination problem= ? Is there a bug or am I missing something for that too?

A.

On Thu, Mar 8, 2012 at 2:02 PM, W= olfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Am 08.03.2012 um 19:06 schrieb Alan Bowen:

> The following code,
>
> \startcomponent
>
> \setuphead[title][page=3Dyes]
> \setuppagenumber[numberconversion=3Dromannumerals]
> \setuppagenumbering[alternative=3Ddoublesided]
> \setuppagenumbering[location=3D,]
>
> \setupheader[state=3Dhigh]
>
> \definehead[FMTitle][title]
> =A0 =A0 =A0 \setuphead[FMTitle][header=3Dhigh,alternative=3Dmiddle,sty= le=3D{\tfb\rm},footer=3D{}]
> =A0 =A0 =A0 \setupheadertexts[text]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\cap{A.\ U.\ Thor}]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\pagenumber]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\pagenumber]

Use =93[pagenumber]=94 (without the backslash) because \pagenumber pr= ints the raw value
of the counter without the conversion.

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [\em{Journal}]
>
> \FMTitle[Preface]{Preface}
>
> \dorecurse{6}{\input knuth}
> \blank[big]
> And here I should like to recall what was said earlier in this \goto{P= reface}[Preface] by \dots
>
> \stopcomponent
>
> fails on two counts: the page numbers are given in arabic numerals not= roman numerals, and the cross-reference is ignored. The failure in the cro= ss-reference may be due to a bug involving \startcomponent, if I understand= Wolfgang correctly, and was wondering if the same might be true for \setup= pagenumber[...]. If it is not, how may I fix the pagination?

The component is not the problem in this case, for \goto you have to = enable the interactive features (\setupinteraction[state=3Dstart]).

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--002354470eb86a4c1304bac05c47-- --===============0365155511== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0365155511==--