I just compiled the latest LuaTeX at r6317 and some code that worked
earlier doesn’t anymore.

This fails with error message  (font_params is defined earlier): "glue
(spec) expected"

     n = node.new("glue", 13)
     node.setglue(n, font_params.space, font_params.space_stretch,
font_params.space_shrink)

but changing to this works:

      n = node.new("glue", 13)
      n.width = font_params.space
      n.stretch = font_params.space_stretch
      n.shrink = font_params.space_shrink

I am using the node.setglue function as instructed the manual. Am I doing
something wrong?

Deepak

Reply via email to