On 24-10-2011 23:24, Wolfgang Schuster wrote:

Am 24.10.2011 um 14:18 schrieb Hans Hagen:

On 21-10-2011 07:07, Wolfgang Schuster wrote:
Hi Hans,

I try to set and access a reference in the example below but both
\in and \at result in a fatal error. What’s missing in my code,
I looked in the float and math code but I can’t find a solution.

you need to set a resolver for the internal reference as it can come from 
anywhere

references.resolvers.test = references.resolvers.section -- take from list

but anyhow, I made that the fallback resolver now so your problem should go away

Thanks, the error message is now gone but I don’t get a number from the \in 
reference unless I add

\startluacode
structures.references.filters.test = { default = 
structures.references.filters.generic.number }
\stopluacode

to my code. Can the reference code take care of this itself or do I really need 
the line?

I'll add a default

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to