Dear ConTeXt folks,
I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english the following example does not work. Either no number is shown or »??«. \starttext Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference]. \placetable[][tab:reference] {The table should be set up better.} { \startluacode context.bTABLE() context.bTR() context.bTD() context("n") context.eTD() for j=1,10 do context.bTD() context("$10^{" .. j .. "}$") context.eTD() end context.eTR() t = { 1, 2, 4, 8 } for index, i in ipairs(t) do context.bTR() context.bTD() context("$n^{" .. -i .. "}$") context.eTD() for j=1,10 do context.bTD() context("\%.4f", 10^(-j/i)) context.eTD() end context.eTR() end context.eTABLE() \stopluacode } \stoptext Please find the source file and the resulting PDF file attached. Thanks, Paul
ref.pdf
Description: Adobe PDF document
\starttext Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference]. \placetable[][tab:reference] {The table should be set up better.} { \startluacode context.bTABLE() context.bTR() context.bTD() context("n") context.eTD() for j=1,10 do context.bTD() context("$10^{" .. j .. "}$") context.eTD() end context.eTR() t = { 1, 2, 4, 8 } for index, i in ipairs(t) do context.bTR() context.bTD() context("$n^{" .. -i .. "}$") context.eTD() for j=1,10 do context.bTD() context("\%.4f", 10^(-j/i)) context.eTD() end context.eTR() end context.eTABLE() \stopluacode } \stoptext
signature.asc
Description: This is a digitally signed message part
___________________________________________________________________________________ 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 ___________________________________________________________________________________