summaryrefslogtreecommitdiff
path: root/tex/context/base/node-aux.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-aux.lua')
-rw-r--r--tex/context/base/node-aux.lua34
1 files changed, 17 insertions, 17 deletions
diff --git a/tex/context/base/node-aux.lua b/tex/context/base/node-aux.lua
index 466b7991d..ebfd3976d 100644
--- a/tex/context/base/node-aux.lua
+++ b/tex/context/base/node-aux.lua
@@ -204,23 +204,23 @@ function nodes.firstcharinbox(n)
return 0
end
---~ local function firstline(n)
---~ while n do
---~ local id = n.id
---~ if id == hlist_code then
---~ if n.subtype == line_code then
---~ return n
---~ else
---~ return firstline(n.list)
---~ end
---~ elseif id == vlist_code then
---~ return firstline(n.list)
---~ end
---~ n = n.next
---~ end
---~ end
-
---~ nodes.firstline = firstline
+-- local function firstline(n)
+-- while n do
+-- local id = n.id
+-- if id == hlist_code then
+-- if n.subtype == line_code then
+-- return n
+-- else
+-- return firstline(n.list)
+-- end
+-- elseif id == vlist_code then
+-- return firstline(n.list)
+-- end
+-- n = n.next
+-- end
+-- end
+
+-- nodes.firstline = firstline
-- this depends on fonts, so we have a funny dependency ... will be
-- sorted out .. we could make tonodes a plugin into this