\somenameheadnumber{whatever}{last}
gives an error if the head 'whatever' hasn't been used. This can be
avoided using
- if data then
+ if data and data.references then
in line 772 of strc-doc.lua.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________