diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-08-10 00:32:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-08-10 00:32:00 +0200 |
commit | b9367ecbb2e7dcb9993f2cf30e56c3e4031edfa8 (patch) | |
tree | f3688cf607637ee7aa9d7c0ac5da7db689151108 /tex/context/base/typo-dir.lua | |
parent | f913514afef9b1ad85275dbfed2943d7020f389a (diff) | |
download | context-b9367ecbb2e7dcb9993f2cf30e56c3e4031edfa8.tar.gz |
beta 2012.08.10 00:32
Diffstat (limited to 'tex/context/base/typo-dir.lua')
-rw-r--r-- | tex/context/base/typo-dir.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/typo-dir.lua b/tex/context/base/typo-dir.lua index 27d4e939a..13c0aec97 100644 --- a/tex/context/base/typo-dir.lua +++ b/tex/context/base/typo-dir.lua @@ -285,9 +285,11 @@ 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_right_before() - force_auto_left_before() +-- if autodir <= 0 then +-- force_auto_left_before() +-- end + if autodir >= 0 then + force_auto_right_before() end elseif d == "lro" then -- Left-to-Right Override -> right becomes left if trace_directions then |