summaryrefslogtreecommitdiff
path: root/tex/context/base/page-str.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/page-str.lua')
-rw-r--r--tex/context/base/page-str.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/tex/context/base/page-str.lua b/tex/context/base/page-str.lua
index 48edd4cfe..f6314657f 100644
--- a/tex/context/base/page-str.lua
+++ b/tex/context/base/page-str.lua
@@ -74,7 +74,7 @@ function streams.collect(head,where)
dana[1] = head
end
if trace_collecting then
- report_streams("appending snippet '%s' to slot %s",name,#dana)
+ report_streams("appending snippet %a to slot %s",name,#dana)
end
return nil, true
else
@@ -91,7 +91,7 @@ function streams.push(thename)
if dana then
dana[#dana+1] = false
if trace_collecting then
- report_streams("pushing snippet '%s'",thename)
+ report_streams("pushing snippet %a",thename)
end
end
end
@@ -105,7 +105,7 @@ function streams.flush(name,copy) -- problem: we need to migrate afterwards
-- nothing to flush
elseif copy then
if trace_flushing then
- report_streams("flushing copies of %s slots of '%s'",dn,name)
+ report_streams("flushing copies of %s slots of %a",dn,name)
end
for i=1,dn do
local di = dana[i]
@@ -118,7 +118,7 @@ function streams.flush(name,copy) -- problem: we need to migrate afterwards
end
else
if trace_flushing then
- report_streams("flushing %s slots of '%s'",dn,name)
+ report_streams("flushing %s slots of %a",dn,name)
end
for i=1,dn do
local di = dana[i]
@@ -137,7 +137,7 @@ function streams.synchronize(list) -- this is an experiment !
list = settings_to_array(list)
local max = 0
if trace_flushing then
- report_streams("synchronizing list: %s",concat(list," "))
+ report_streams("synchronizing list: % t",list)
end
for i=1,#list do
local dana = data[list[i]]
@@ -168,12 +168,12 @@ function streams.synchronize(list) -- this is an experiment !
end
dana[m] = vbox
if trace_flushing then
- report_streams("slot %s of '%s' is packed to height %s and depth %s",m,name,ht,dp)
+ report_streams("slot %s of %a is packed to height %p and depth %p",m,name,ht,dp)
end
end
end
if trace_flushing then
- report_streams("slot %s has max height %s and max depth %s",m,height,depth)
+ report_streams("slot %s has max height %p and max depth %p",m,height,depth)
end
local strutht, strutdp = texdimen.globalbodyfontstrutheight, texdimen.globalbodyfontstrutdepth
local struthtdp = strutht + strutdp
@@ -189,7 +189,7 @@ function streams.synchronize(list) -- this is an experiment !
-- actually we need to add glue and repack
vbox.height, vbox.depth = height, depth
if trace_flushing then
- report_streams("slot %s of '%s' with delta (%s,%s) is compensated",m,i,delta_height,delta_depth)
+ report_streams("slot %s of %a with delta (%p,%p) is compensated",m,i,delta_height,delta_depth)
end
else
-- this is not yet ok as we also need to keep an eye on vertical spacing
@@ -210,7 +210,7 @@ function streams.synchronize(list) -- this is an experiment !
vbox.list = nil
free_node(vbox)
if trace_flushing then
- report_streams("slot %s:%s with delta (%s,%s) is compensated by %s lines",m,i,delta_height,delta_depth,n)
+ report_streams("slot %s:%s with delta (%p,%p) is compensated by %s lines",m,i,delta_height,delta_depth,n)
end
end
end