summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-26 14:48:17 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-26 14:48:17 +0000
commit6e081e47ce78b9ac64706c943e98a7148f188520 (patch)
tree57c2d61d10855cc8bca6579ed0e2dae24a97870b /Build/source/libs/teckit
parent6d16dca0348a36c830a6514b5b13d271f5e0c2eb (diff)
add test case for 'make check'
git-svn-id: svn://tug.org/texlive/trunk@13969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/teckit')
-rwxr-xr-xBuild/source/libs/teckit/teckit.test6
-rw-r--r--Build/source/libs/teckit/tex-text.map26
-rw-r--r--Build/source/libs/teckit/tex-text.tecbin0 -> 398 bytes
3 files changed, 32 insertions, 0 deletions
diff --git a/Build/source/libs/teckit/teckit.test b/Build/source/libs/teckit/teckit.test
new file mode 100755
index 00000000000..5d35036c85a
--- /dev/null
+++ b/Build/source/libs/teckit/teckit.test
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+./teckit_compile $srcdir/tex-text.map -o xtex-text.tec || exit 1
+
+cmp $srcdir/tex-text.tec xtex-text.tec || exit 1
+
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
+
diff --git a/Build/source/libs/teckit/tex-text.tec b/Build/source/libs/teckit/tex-text.tec
new file mode 100644
index 00000000000..9a8c3939170
--- /dev/null
+++ b/Build/source/libs/teckit/tex-text.tec
Binary files differ