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? Wolfgang