Re: [NTG-context] Footnotes and interaction again

2010-03-18 Thread Philipp Gesang
On 2010-03-17 22:58:11, Hans Hagen wrote:
 On 17-3-2010 18:53, Philipp Gesang wrote:
 \setupinteraction[state=start,focus=standard]
 
 \starttext
 \startfootnote
 A label \reference[label:1]{} we will refer to.
 \stopfootnote
 \page[yes]
 \goto{Here}[label:1] we refer somewhere.
 It all happens on Page \ref[p][label:1].
 \stoptext
 
 in strc-ref.mkiv patch
 
 \unexpanded\def\textreference {\dosingleargument\dotextreference}
 \unexpanded\def\pagereference {\dosingleargument\dopagereference}
 \unexpanded\def\reference {\dosingleargument\doreference}
 \unexpanded\def\setreference  {\dodoubleargument\dosetreference }
 
 (make them unexpandable)

Great!  This one raised my ConTeXt user status from ‘happy’ to
‘extraordinarily happy’.

Philipp


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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


signature.asc
Description: Digital signature
___
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
___


[NTG-context] Footnotes and interaction again

2010-03-17 Thread Philipp Gesang
Hi again,


I just ran into the footnote problem again, this time when referring to
labels inside footnotes.  As in the earlier thread the issue occurs with
mkiv only.

Example:
---8--
\setupinteraction[state=start,focus=standard]

\starttext
\startfootnote
A label \reference[label:1]{} we will refer to.
\stopfootnote
\page[yes]
\goto{Here}[label:1] we refer somewhere.
It all happens on Page \ref[p][label:1].
\stoptext
---8--

To be precise, you don't actually have to refer to the label, having it
inside a footnote causes the error.

Thanks for any suggestions,


Philipp


pgpL6F7pXOU29.pgp
Description: PGP signature
___
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
___


Re: [NTG-context] Footnotes and interaction again

2010-03-17 Thread Hans Hagen

On 17-3-2010 18:53, Philipp Gesang wrote:

\setupinteraction[state=start,focus=standard]

\starttext
\startfootnote
A label \reference[label:1]{} we will refer to.
\stopfootnote
\page[yes]
\goto{Here}[label:1] we refer somewhere.
It all happens on Page \ref[p][label:1].
\stoptext


in strc-ref.mkiv patch

\unexpanded\def\textreference {\dosingleargument\dotextreference}
\unexpanded\def\pagereference {\dosingleargument\dopagereference}
\unexpanded\def\reference {\dosingleargument\doreference}
\unexpanded\def\setreference  {\dodoubleargument\dosetreference }

(make them unexpandable)

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