diff options
Diffstat (limited to 'tex/context/base/typo-dir.lua')
-rw-r--r-- | tex/context/base/typo-dir.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tex/context/base/typo-dir.lua b/tex/context/base/typo-dir.lua index 13c0aec97..620862e85 100644 --- a/tex/context/base/typo-dir.lua +++ b/tex/context/base/typo-dir.lua @@ -276,7 +276,7 @@ function directions.process(namespace,attribute,start) -- todo: make faster end end elseif d == "l" or d == "en" then -- european number - if autodir <= 0 then -- could be option + if autodir <= 0 then force_auto_left_before() end elseif d == "r" or d == "al" then -- arabic number @@ -285,11 +285,9 @@ function directions.process(namespace,attribute,start) -- todo: make faster end elseif d == "an" then -- arabic number -- actually this is language dependent ... --- if autodir <= 0 then --- force_auto_left_before() --- end - if autodir >= 0 then - force_auto_right_before() + if autodir <= 0 then +--~ force_auto_right_before() + force_auto_left_before() end elseif d == "lro" then -- Left-to-Right Override -> right becomes left if trace_directions then |