From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setuppagenumber problem
Date: Thu, 8 Mar 2012 20:02:44 +0100 [thread overview]
Message-ID: <FA9A14E0-D796-43E4-8790-FABB24931193@googlemail.com> (raw)
In-Reply-To: <CAFMOkGWMKjRJRLmnNvkvNMPbSihAUqYCx9RBBKWndGahV5KTHw@mail.gmail.com>
Am 08.03.2012 um 19:06 schrieb Alan Bowen:
> The following code,
>
> \startcomponent
>
> \setuphead[title][page=yes]
> \setuppagenumber[numberconversion=romannumerals]
> \setuppagenumbering[alternative=doublesided]
> \setuppagenumbering[location=,]
>
> \setupheader[state=high]
>
> \definehead[FMTitle][title]
> \setuphead[FMTitle][header=high,alternative=middle,style={\tfb\rm},footer={}]
> \setupheadertexts[text]
> [\cap{A.\ U.\ Thor}]
> [\pagenumber]
> [\pagenumber]
Use “[pagenumber]” (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 true 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=start]).
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-03-08 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 18:06 Alan Bowen
2012-03-08 19:02 ` Wolfgang Schuster [this message]
2012-03-08 19:34 ` Alan Bowen
2012-03-08 19:38 ` Wolfgang Schuster
2012-03-08 20:24 ` Alan Bowen
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=FA9A14E0-D796-43E4-8790-FABB24931193@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--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).