summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua34
1 files changed, 0 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua b/Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua
index e3a0ea30edb..466fd515e04 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/strc-flt.lua
@@ -7,37 +7,3 @@ if not modules then modules = { } end modules ['strc-flt'] = {
}
-- nothing
-
-local sequencers = utilities.sequencers
-local appendaction = sequencers.appendaction
-local enableaction = sequencers.enableaction
-local disableaction = sequencers.disableaction
-
-local texgetdimen = tex.getdimen
-
-local trace = trackers.register("structure.sidefloats.pageflush")
-local report = logs.reporter("structure","floats")
-
-local forcepageflush = builders.vspacing.forcepageflush
-
-function builders.checksidefloat(mode,indented)
- local s = texgetdimen("d_page_sides_vsize")
- if s > 0 then
- if trace then
- report("force flushing page state, height %p",s)
- end
- forcepageflush()
- end
- return indented
-end
-
-appendaction ("newgraf","system","builders.checksidefloat")
-disableaction("newgraf","builders.checksidefloat")
-
-interfaces.implement {
- name = "enablesidefloatchecker",
- onlyonce = true,
- actions = function()
- enableaction("newgraf","builders.checksidefloat")
- end,
-}