[NTG-context] Pagereference not working!?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Apr 7 12:42:06 CEST 2012


Am 07.04.2012 um 12:17 schrieb Verhaag, G.C.H.M.:

> Dear ConTeXt user's,
> 
> Today I upgraded to the latest MkIV release 2012.04.06!
> 
> I noticed that the \pagereference command is not working any more. Page referencing between external documents isn't working either!

There are indeed problems with the \reference, \textreference and \pagereference commands and \in and \at to show the values.

I made a example where you can see that the second shows the counter and page with \in and \at but for the other reference commands you have to use \getreference to show the values.

\starttexdefinition ReferenceTable [#1]

  \starttabulate[|l|l|]
  \NC \bf #1   \NC                             \NC\NR
  \TB[small]
  \NC in       \EQ \in[#1]                     \NC\NR
  \NC at       \EQ \at[#1]                     \NC\NR
  \NC about    \EQ \about[#1]                  \NC\NR
  \NC number   \EQ \getreference[number][#1]   \NC\NR
  \NC page     \EQ \getreference[page][#1]     \NC\NR
  \NC title    \EQ \getreference[title][#1]    \NC\NR
  \NC text     \EQ \getreference[text][#1]     \NC\NR
  \NC default  \EQ \getreference[default][#1]  \NC\NR
  \NC realpage \EQ \getreference[realpage][#1] \NC\NR
  \stoptabulate

\stoptexdefinition

\setupbodyfont[11pt]

\starttext

\section[zero]{Zero}

\reference    [one]{First}
\textreference[two]{Second}
\pagereference[three]
\setreference [four][page=3,default=4,number=12,text=Fourth,title=Four]

\page

\ReferenceTable[zero]
\ReferenceTable[one]
\ReferenceTable[two]
\ReferenceTable[three]
\ReferenceTable[four]

\stoptext

Wolfgang


More information about the ntg-context mailing list