At 11:50 PM 12/16/2002 +0100, you wrote:
On lundi, déc 16, 2002, at 22:33 Europe/Paris, Giuseppe Bilotta wrote:
... and a rather odd bug, too!
\setupinteraction[state=start]
\starttext Some text \goto{text with footnote\footnote{here it is} showing the bug}[hook] \page[yes] Some text \reference[hook] referenced from before. \stoptext
this has to do with the text passed to goto being submitted to quite rigourous manipulations; footnotes are inserts and inserts, like marks and other funny nodes often spoil things, so here the solution is it to carry over the footnote: \def\donaar#1[#2]% {\dontleavehmode \bgroup \postponefootnotes \doifreferencefoundelse{#2} {\doifelsenothing{#1} {\dosymbolreference{}{}[#2]} {\donaarspace{#1}[#2]}} {\unknownreference{#2}#1\relax}% \relax catches lookahead \egroup \referentieinfo{<}{#2}} You can put this in the file "cont-new.tex" and see if it solves the problem
Also it seems that instead of \reference[hook] referenced... one has to put \reference[hook]{} referenced... ^^^^ since otherwise in the resulting typeset "referenced..." becomes "eferenced...". Is this the normal use of the command "\reference[xxx]" ?
indeed, if you want to refer to something, you use \in {something} [ref] or \at {somepage} [there] and alike; \reference just creates one, taking an argument which is to show up as reference: %D There are three ways of defining a reference: %D %D \pagereference[here] %D \textreference[here]{some text} %D %D the third alternative combines them in: %D %D \reference[here]{some text} Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------