function commands.LSws_hfilled(str,margin)
    local _
    _= margin and context.hfil()
    _= false
    for c in string.utfcharacters(str) do
        _=(_ and  context.hfil()) or  true
        context(c)
    end
    _=margin and context.hfil()
end

--
luigi
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to