changeset 58278:31a2a9c6a64d

(iso-tex2iso-trans-tab): Discard spaces after \i according to TeX rules.
author Richard M. Stallman <rms@gnu.org>
date Tue, 16 Nov 2004 17:20:32 +0000
parents a8baec933fd4
children 76be0b364843
files lisp/international/iso-cvt.el
diffstat 1 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/iso-cvt.el	Tue Nov 16 17:18:39 2004 +0000
+++ b/lisp/international/iso-cvt.el	Tue Nov 16 17:20:32 2004 +0000
@@ -265,10 +265,16 @@
     ("\\\\`e" "è")
     ("\\\\'e" "é")
     ("\\\\^e" "ê")
-    ("\\\\\"\\\\i" "ï")
-    ("\\\\`\\\\i" "ì")
-    ("\\\\'\\\\i" "í")
-    ("\\\\^\\\\i" "î")
+    ;; Discard spaces and/or one EOF after macro \i.
+    ;; Converting it back will use braces.
+    ("\\\\\"\\\\i *\n\n" "ï\n\n")
+    ("\\\\\"\\\\i *\n?" "ï")
+    ("\\\\`\\\\i *\n\n" "ì\n\n")
+    ("\\\\`\\\\i *\n?" "ì")
+    ("\\\\'\\\\i *\n\n" "í\n\n")
+    ("\\\\'\\\\i *\n?" "í")
+    ("\\\\^\\\\i *\n\n" "î\n\n")
+    ("\\\\^\\\\i *\n?" "î")
     ("\\\\\"i" "ï")
     ("\\\\`i" "ì")
     ("\\\\'i" "í")