[dev-context] \note doesn’t work when notes are placed in the text

Hans Hagen pragma at wxs.nl
Wed Oct 17 23:33:33 CEST 2012


On 16-10-2012 11:07, Wolfgang Schuster wrote:
> Hi,
>
> in the following example the \note commands shows only unknown references. It has something to do with “location=text” because “location=page” or “location=column” have working references.
>
> \setupfootnotes[location=text]
>
> \starttext
>
> Second Note\note[footnote][2]
>   First Note\note[footnote][1]
>
> \setnotetext[footnote][1]{Footnote 1}
> \setnotetext[footnote][2]{Footnote 2}
>
> Second Note\note[footnote][2]
>   First Note\note[footnote][1]
>
> \placenotes[footnote]
>
> \stopfootnote
>
>
> I tried to find a fix for thus bug but wasn’t able to find a good solution. There is a little hack below which works (it is only used for “location=text” and “location=none”) but I guess there is a better solution.

The fix ls nearlu ok ... we also need to makr sure that the sync only 
happens once (as \lastnotesymbol can also do it).

I also mkvi'd the file so you might want to check it (uploading now).

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the dev-context mailing list