summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/tex-text.map
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/teckit/tex-text.map')
-rw-r--r--Build/source/libs/teckit/tex-text.map26
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/libs/teckit/tex-text.map b/Build/source/libs/teckit/tex-text.map
new file mode 100644
index 00000000000..344ddc9c922
--- /dev/null
+++ b/Build/source/libs/teckit/tex-text.map
@@ -0,0 +1,26 @@
+; TECkit mapping for TeX input conventions <-> Unicode characters
+
+LHSName "TeX-text"
+RHSName "UNICODE"
+
+pass(Unicode)
+
+; ligatures from Knuth's original CMR fonts
+U+002D U+002D <> U+2013 ; -- -> en dash
+U+002D U+002D U+002D <> U+2014 ; --- -> em dash
+
+U+0027 <> U+2019 ; ' -> right single quote
+U+0027 U+0027 <> U+201D ; '' -> right double quote
+U+0022 > U+201D ; " -> right double quote
+
+U+0060 <> U+2018 ; ` -> left single quote
+U+0060 U+0060 <> U+201C ; `` -> left double quote
+
+U+0021 U+0060 <> U+00A1 ; !` -> inverted exclam
+U+003F U+0060 <> U+00BF ; ?` -> inverted question
+
+; additions supported in T1 encoding
+U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK
+U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET
+U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
+