From 820dae976c197221adf58fcea0d12d2f81e75dd2 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Sun, 26 Feb 2012 18:05:30 +0200
Subject: Restore the rest of legacy TeX ligatures.

---
 luaotfload.dtx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'luaotfload.dtx')

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
 }
-- 
cgit v1.2.3

