[luatex] writing direction

Paul Isambert zappathustra at free.fr
Thu Jan 26 11:08:25 CET 2012


Herbert Voss <Herbert.Voss at fu-berlin.de> a écrit:
> 
> In the current Lua documentation I found
> 
> LuaTEX only understands 4 of the 16 direction specifiers of Aleph: TLT 
> (latin), TRT (arabic), RTT
> (cjk), LTL (mongolian). All other direction specifiers generate an error 
> (LuaTEX 0.45).
> 
> is this still correct for the current version?

Judging from:

%%%
\directlua{%
local dir = {"T", "B", "R", "L"}
local dirnode = node.new(8, 7)
for _, a in ipairs(dir) do
  for _, b in ipairs(dir) do
    for _, c in ipairs(dir) do
      tex.print("\noexpand\\bodydir " .. a .. b .. c)
    end
  end
end
}
\bye
%%%

tested with 0.71, rev 4358, that seems to be the case.

Best,
Paul



More information about the luatex mailing list