summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-02-26 18:05:30 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2012-02-26 18:33:32 +0200
commit820dae976c197221adf58fcea0d12d2f81e75dd2 (patch)
tree9e3bf506df72d2ef0c9d1848232f58e71349c8df /luaotfload.dtx
parent44edf674bc30f87263c01103774d60400b8b3915 (diff)
downloadluaotfload-820dae976c197221adf58fcea0d12d2f81e75dd2.tar.gz
Restore the rest of legacy TeX ligatures.
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx7
1 files changed, 5 insertions, 2 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index fb32340..0e4745c 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -330,8 +330,8 @@ and the derived files
% \begin{itemize*}
% \item |anum|: replaces European numbers with eastern Arabic numbers or
% Persian numbers, depending on the value of |language|.
-% \item |tlig|: applies legacy \tex ligatures (|``''-- --|).
-% \item |trep|: applies legacy \tex replacements (|`'|).
+% \item |tlig|: applies legacy \tex ligatures (|`` '' -- -- !` ?`|).
+% \item |trep|: applies legacy \tex replacements (|` ' "|).
% \end{itemize*}
%
% (For \xetex users: these last two are the equivalent of writing
@@ -608,9 +608,12 @@ local tlig = {
[0x201C] = {0x0060, 0x0060}, -- quotedblleft
[0x201D] = {0x0027, 0x0027}, -- quotedblright
[0x201E] = {0x002C, 0x002C}, -- quotedblbase
+ [0x00A1] = {0x0021, 0x0060}, -- exclamdown
+ [0x00BF] = {0x003F, 0x0060}, -- questiondown
}
local trep = {
+ [0x0022] = 0x201D, -- quotedblright
[0x0027] = 0x2019, -- quoteleft
[0x0060] = 0x2018, -- quoteright
}