ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug? Cross referencing and \setuparranging
@ 2008-02-18  0:16 Jeff Smith
  2008-02-18 10:42 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Smith @ 2008-02-18  0:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

There seems to be a bug with the current ConTeXt (2008.01.28).

When using \setuparranging (I've tried more than one setup),
cross-referencing doesn't work. You get ?? instead of whatever number
you should get. It happens to me with this simple dummy document:

\setuppapersize[A5][A3]
\setuparranging[2UP,doublesided]
\starttext
\chapter[chap1]{Chapter One}
\dorecurse{4}{\input knuth \par}
\chapter[chap2]{Chapter Two}
\dorecurse{4}{\input knuth \par}
\chapter[chap3]{Chapter Three}
In chapter \in[chap1] of this document, there was something to read.
\stoptext

If you comment out the \setuparranging command, the \in command will
work. If you don't, the log shows the following:

chapter         : 3 Chapter Three
references      : unknown reference [][chap1]

This looks like a bug?

Jeff
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug? Cross referencing and \setuparranging
  2008-02-18  0:16 Bug? Cross referencing and \setuparranging Jeff Smith
@ 2008-02-18 10:42 ` Hans Hagen
  2008-02-19  2:55   ` Jeff Smith
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-02-18 10:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jeff Smith wrote:
> Hi,
> 
> There seems to be a bug with the current ConTeXt (2008.01.28).
> 
> When using \setuparranging (I've tried more than one setup),
> cross-referencing doesn't work. You get ?? instead of whatever number
> you should get. It happens to me with this simple dummy document:
> 
> \setuppapersize[A5][A3]
> \setuparranging[2UP,doublesided]
> \starttext
> \chapter[chap1]{Chapter One}
> \dorecurse{4}{\input knuth \par}
> \chapter[chap2]{Chapter Two}
> \dorecurse{4}{\input knuth \par}
> \chapter[chap3]{Chapter Three}
> In chapter \in[chap1] of this document, there was something to read.
> \stoptext
> 
> If you comment out the \setuparranging command, the \in command will
> work. If you don't, the log shows the following:
> 
> chapter         : 3 Chapter Three
> references      : unknown reference [][chap1]
> 
> This looks like a bug?

no, just a side effect ... if you reshuffle the pages, you will get 
different flushing of multipass data

(so, in fact you need to do normal runs, and then a final arrange run 
with --once)

normally, you'll do:

texexec yourdoc --arrange

which will do normal runs followed by an extra run that arranges

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug? Cross referencing and \setuparranging
  2008-02-18 10:42 ` Hans Hagen
@ 2008-02-19  2:55   ` Jeff Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Smith @ 2008-02-19  2:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Feb 18, 2008 5:42 AM, Hans Hagen <pragma@wxs.nl> wrote:
>
> no, just a side effect ... if you reshuffle the pages, you will get
> different flushing of multipass data
>
> (so, in fact you need to do normal runs, and then a final arrange run
> with --once)
>
> normally, you'll do:
>
> texexec yourdoc --arrange
>
> which will do normal runs followed by an extra run that arranges

Oh, right. This sounds pretty logical.

Thanks!

Jeff
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-19  2:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-18  0:16 Bug? Cross referencing and \setuparranging Jeff Smith
2008-02-18 10:42 ` Hans Hagen
2008-02-19  2:55   ` Jeff Smith

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).