diff options
author | Hans Hagen <pragma@wxs.nl> | 2014-05-26 14:56:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2014-05-26 14:56:00 +0200 |
commit | 044365a4f17208925ebff5f8749c91571ed947ed (patch) | |
tree | d62eff899bcad16b6b92fab3fcbc0f4d7d40dec6 /tex/context/base/spac-ver.lua | |
parent | f779927eb2f4fdee785601823e87b28595ad71db (diff) | |
download | context-044365a4f17208925ebff5f8749c91571ed947ed.tar.gz |
beta 2014.05.26 14:56
Diffstat (limited to 'tex/context/base/spac-ver.lua')
-rw-r--r-- | tex/context/base/spac-ver.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tex/context/base/spac-ver.lua b/tex/context/base/spac-ver.lua index d5a2b4d56..018881663 100644 --- a/tex/context/base/spac-ver.lua +++ b/tex/context/base/spac-ver.lua @@ -935,6 +935,11 @@ specialmethods[1] = function(start,penalty) end current = getprev(current) end + -- none found, so no reson to be special + if trace_specials then + report_specials(" context penalty, discarding") + end + return special_penalty_xxx end -- specialmethods[2] : always put something before and use that as to-be-changed @@ -1041,6 +1046,11 @@ setfield(head,"prev",nil) -- till we have 0.79 ** return remove_node(head, current, true) end +-- This will be replaces after 0.79 when we have a more robust look-back and +-- can look at the bigger picture. + +-- todo: look back and when a special is there before a list is seen penaltym keep ut + local function collapser(head,where,what,trace,snap,a_snapmethod) -- maybe also pass tail if trace then reset_tracing(head) |