diff options
author | Marius <mariausol@gmail.com> | 2012-10-19 01:20:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-10-19 01:20:13 +0300 |
commit | 69d2352af4b60929b37fc49f3bdb263977016244 (patch) | |
tree | db5eb11398e345dfa23b4c4500fb93575d2afb7c /tex/context/base/typo-dir.lua | |
parent | c18f7cbe51449a611ea1819fedd9a4ff18529b7d (diff) | |
download | context-69d2352af4b60929b37fc49f3bdb263977016244.tar.gz |
stable 2012.05.30 11:26
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 |