diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-07-26 21:34:14 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-07-26 21:34:14 +0200 |
commit | 1add40ac787d36d3bd40e196aea752dff2cfb769 (patch) | |
tree | c109f4b7a8a69de8071b6f937954ab06a4de26de /tex/context/base/mkiv/spac-ver.mkiv | |
parent | 669436bb34437aee17f1823836cbbb16c570a505 (diff) | |
download | context-1add40ac787d36d3bd40e196aea752dff2cfb769.tar.gz |
2018-07-26 20:48:00
Diffstat (limited to 'tex/context/base/mkiv/spac-ver.mkiv')
-rw-r--r-- | tex/context/base/mkiv/spac-ver.mkiv | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/spac-ver.mkiv b/tex/context/base/mkiv/spac-ver.mkiv index be1f7bdba..074edd969 100644 --- a/tex/context/base/mkiv/spac-ver.mkiv +++ b/tex/context/base/mkiv/spac-ver.mkiv @@ -1312,13 +1312,21 @@ \let\normaloffinterlineskip\offinterlineskip % knuth's original -%D This is tricky. The prevdepth value is still set to the last -%D one even if there is nothing on the page. The same is true for -%D prevgraf, which doesn't resemble the value on the current page. +%D This is tricky. The prevdepth value is still set to the last one even if there is +%D nothing on the page. The same is true for prevgraf, which doesn't resemble the +%D value on the current page. %D -%D So, here we kick in a checker but it has to happen after the -%D output group and it only has to be done once (output can trigger -%D itself!). +%D So, here we kick in a checker but it has to happen after the output group and it +%D only has to be done once (output can trigger itself!). +%D +%D However, prevgraf is somehow bound to hangindent so we can get very +%D nasty side effects. So, in tne end we use our own variable! + +\ifdefined\getnofpreviouslines + % defined public at the lua end +\else + \let\getnofpreviouslines\!!zerocount +\fi \unexpanded\def\page_otr_synchronize_page_yes {\aftergroup\page_otr_synchronize_page_indeed |