[NTG-context] label bug with latest beta (2011.04.22)

Reviczky, Adam adam.reviczky at kcl.ac.uk
Sat Apr 23 18:25:01 CEST 2011


Hi

With the latest beta (2011.04.22) I cannot compile my thesis any more.
I think I've narrowed it down to this minimal example:

%%%
\starttext
\startpart[title={Table of Contents}]
\completecontent[criterium=all]
\stoptext
%%%

! LuaTeX error /usr/share/texmf/tex/context/base/strc-lst.lua:496: no string to print
stack traceback:
	[C]: in function 'texsprint'
	/usr/share/texmf/tex/context/base/strc-lst.lua:496: in function 'label'
	<main ctx instance>:1: in main chunk.

Shouldn't be the label function something like this:
function lists.label(n)
    local l = lists.result[n]
    local t = l.titledata
    if t then
        texsprint(t.label or 0) -- 0 if no label?
    end
end

Can someone confirm this?
It works with the 2011.04.20 beta, logs attached.

Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toc.log
Type: text/x-log
Size: 5798 bytes
Desc: toc.log
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110423/80e5540e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thesis.log.gz
Type: application/x-gzip
Size: 2299 bytes
Desc: thesis.log.gz
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110423/80e5540e/attachment-0001.bin>


More information about the ntg-context mailing list