diff options
author | Marius <mariausol@gmail.com> | 2010-11-20 00:20:11 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-11-20 00:20:11 +0200 |
commit | b4b58bbfe882406b09b2548e7aa55d238987f894 (patch) | |
tree | 346fdd16f41f0d24406a64e7167d4dade8e1b325 /tex/context/base/strc-not.lua | |
parent | c59707ed27b62aa6d05dccba192d134de4ec24f6 (diff) | |
download | context-b4b58bbfe882406b09b2548e7aa55d238987f894.tar.gz |
beta 2010.11.19 22:50
Diffstat (limited to 'tex/context/base/strc-not.lua')
-rw-r--r-- | tex/context/base/strc-not.lua | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tex/context/base/strc-not.lua b/tex/context/base/strc-not.lua index a5e9f1ad0..222623a59 100644 --- a/tex/context/base/strc-not.lua +++ b/tex/context/base/strc-not.lua @@ -265,17 +265,19 @@ function notes.getsymbolpage(tag,n) local nd = get(tag,n) local p = nd and nd.references.symbolpage or 0 if trace_notes then - report_notes("note %s of '%s' has page %s",n,tag,p) + report_notes("page number of note symbol %s of '%s' is %s",n,tag,p) end context(p) end function notes.getnumberpage(tag,n) local li = internal(tag,n) - li = li and li.pagenumber - li = li and li.numbers - li = li and li[1] - context(li or 0) + li = li and li.references + li = li and li.realpage or 0 + if trace_notes then + report_notes("page number of note number %s of '%s' is %s",n,tag,li) + end + context(li) end function notes.flush(tag,whatkind,how) -- store and postpone |