From 5cc38011a56cdc5686cb53b0f5e3af5a09ce5a2e Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Sun, 22 Jun 2014 17:15:03 +0200 Subject: 2014-06-22 16:31:00 --- doc/context/manuals/allkind/mkiv-publications.pdf | Bin 282389 -> 283097 bytes doc/context/manuals/allkind/mkiv-publications.tex | 23 +++++++++++++++++++++ tex/context/base/cont-new.mkiv | 2 +- tex/context/base/context-version.pdf | Bin 4348 -> 4344 bytes tex/context/base/context.mkiv | 2 +- tex/context/base/spac-ver.lua | 13 +++++++++--- tex/context/base/status-files.pdf | Bin 24845 -> 24848 bytes tex/context/base/status-lua.pdf | Bin 248316 -> 248319 bytes tex/generic/context/luatex/luatex-fonts-merged.lua | 2 +- 9 files changed, 36 insertions(+), 6 deletions(-) diff --git a/doc/context/manuals/allkind/mkiv-publications.pdf b/doc/context/manuals/allkind/mkiv-publications.pdf index 2ebd6663d..8d67cc8cf 100644 Binary files a/doc/context/manuals/allkind/mkiv-publications.pdf and b/doc/context/manuals/allkind/mkiv-publications.pdf differ diff --git a/doc/context/manuals/allkind/mkiv-publications.tex b/doc/context/manuals/allkind/mkiv-publications.tex index ba04ecf8e..f9bac9f26 100644 --- a/doc/context/manuals/allkind/mkiv-publications.tex +++ b/doc/context/manuals/allkind/mkiv-publications.tex @@ -7,6 +7,8 @@ % criterium: used % numbering: label, short, indexinlist, indexused +% \enabletrackers[publications*] + \dontcomplain \setupbtxlistvariant [interaction=start] @@ -1696,6 +1698,27 @@ options and ways to plug in additional functionality. \stopchapter +\startchapter[title=Tracing] + +There are several tracing options. If you want to see where a citations refers to and +where a list entry point back to, you can say: + +\starttyping +\enabletrackers[publications.crosslinks] +\stoptyping + +This injects markers in both places. One list entry can point to multiple citations. The +other tracers a more for debugging and can generate lots of messages. + +\starttyping +publications +publications.cite +publications.cite.missing +publications.cite.references +\stoptyping + +\stopchapter + \startchapter[title=Summary] % beware: we use a new dataset for this as we want a full list diff --git a/tex/context/base/cont-new.mkiv b/tex/context/base/cont-new.mkiv index bbbc8309d..e59aca503 100644 --- a/tex/context/base/cont-new.mkiv +++ b/tex/context/base/cont-new.mkiv @@ -11,7 +11,7 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. -\newcontextversion{2014.06.22 15:51} +\newcontextversion{2014.06.22 16:29} %D This file is loaded at runtime, thereby providing an excellent place for %D hacks, patches, extensions and new features. diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf index c26943bd0..448932606 100644 Binary files a/tex/context/base/context-version.pdf and b/tex/context/base/context-version.pdf differ diff --git a/tex/context/base/context.mkiv b/tex/context/base/context.mkiv index cacb5fc44..172479e77 100644 --- a/tex/context/base/context.mkiv +++ b/tex/context/base/context.mkiv @@ -28,7 +28,7 @@ %D up and the dependencies are more consistent. \edef\contextformat {\jobname} -\edef\contextversion{2014.06.22 15:51} +\edef\contextversion{2014.06.22 16:29} \edef\contextkind {beta} %D For those who want to use this: diff --git a/tex/context/base/spac-ver.lua b/tex/context/base/spac-ver.lua index cfcee0122..51d8f674e 100644 --- a/tex/context/base/spac-ver.lua +++ b/tex/context/base/spac-ver.lua @@ -888,7 +888,7 @@ local properties = nodes.properties.data specialmethods[1] = function(pagehead,pagetail,start,penalty) -- - if penalty < special_penalty_min or penalty > special_penalty_max then + if not pagehead or penalty < special_penalty_min or penalty > special_penalty_max then return end local current = pagetail @@ -1074,8 +1074,15 @@ local function collapser(head,where,what,trace,snap,a_snapmethod) -- maybe also -- local function getpagelist() if not pagehead then - pagehead = tonut(texlists.page_head) - pagetail = find_node_tail(pagehead) -- no texlists.page_tail yet-- no texlists.page_tail yet + pagehead = texlists.page_head + if pagehead then + pagehead = tonut(texlists.page_head) + pagetail = find_node_tail(pagehead) -- no texlists.page_tail yet-- no texlists.page_tail yet + else + pagetail = nil + end + else + pagetail = nil end return pagehead, pagetail end diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf index bd8b18846..0ecd99ad8 100644 Binary files a/tex/context/base/status-files.pdf and b/tex/context/base/status-files.pdf differ diff --git a/tex/context/base/status-lua.pdf b/tex/context/base/status-lua.pdf index 3ea22494d..972214aef 100644 Binary files a/tex/context/base/status-lua.pdf and b/tex/context/base/status-lua.pdf differ diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index 7839b1e7d..a53a8c15b 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 06/22/14 15:51:56 +-- merge date : 06/22/14 16:29:33 do -- begin closure to overcome local limits and interference -- cgit v1.2.3