aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-10 02:21:42 +0000
committerRichard M. Stallman1994-05-10 02:21:42 +0000
commit8c8208202e6e69f68a510eed05bf598cf8f3f8cc (patch)
treeb9fa4632147f04c9811a062e2e8b707281aa1f34
parentb3a262251df2d2a7d567e8edee41c9a48acee86b (diff)
downloademacs-8c8208202e6e69f68a510eed05bf598cf8f3f8cc.tar.gz
emacs-8c8208202e6e69f68a510eed05bf598cf8f3f8cc.zip
(iso-gtex2iso-trans-tab): Redorder this list.
-rw-r--r--lisp/international/iso-cvt.el60
1 files changed, 42 insertions, 18 deletions
diff --git a/lisp/international/iso-cvt.el b/lisp/international/iso-cvt.el
index c6220e34f5c..4e8b69f3db1 100644
--- a/lisp/international/iso-cvt.el
+++ b/lisp/international/iso-cvt.el
@@ -22,20 +22,44 @@
22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
24;;; Commentary: 24;;; Commentary:
25 25;; This lisp code server two purposes, both of which involve
26; Calling `iso-german' will turn the net convention f or umlauts ("a etc.) 26;; the translation of various conventions for representing European
27; into ISO latin umlaute for easy reading. 27;; character sets to ISO 8859-1.
28; hooks change TeX files to Latin-1 for editing and back to TeX sequences 28
29; for calling TeX. An alternative is a TeX style that handles 29; Net support:
30; 8 bit ISO files (available on ftp.vlsivie.tuwien.ac.at in /pub/8bit) 30; Various conventions exist in Newsgroups on how to represent national
31; characters. The functions provided here translate these net conventions
32; to ISO.
33;
34; Calling `iso-german' will turn the net convention for umlauts ("a etc.)
35; into ISO latin1 umlaute for easy reading.
36; 'iso-spanish' will turn net conventions for representing spanish
37; to ISO latin1. (Note that accents are omitted in news posts most
38; of the time, only enye is escaped.)
39
40; TeX support
41; This mode installs hooks which change TeX files to ISO Latin-1 for
42; simplified editing. When the TeX file is saved, ISO latin1 characters are
43; translated back to escape sequences.
44;
45; An alternative is a TeX style that handles 8 bit ISO files
46; (available on ftp.vlsivie.tuwien.ac.at in /pub/8bit)
31; - but these files are difficult to transmit ... so while the net is 47; - but these files are difficult to transmit ... so while the net is
32; still @ 7 bit this may be useful 48; still @ 7 bit this may be useful
33 49
34; to do: translate buffer when displaying from GNUS, 50;; TO DO:
35; use function 'german which does the Right Thing 51; The net support should install hooks (like TeX support does)
52; which recognizes certains news groups and translates all articles from
53; those groups.
36; 54;
37; to do: use more general regular expressions for (g)tex2iso tables, to 55; Cover more cases for translation (There is an infinite number of ways to
38; cover more cases for translation. 56; represent accented characters in TeX)
57
58;; SEE ALSO:
59; If you are interested in questions related to using the ISO 8859-1
60; characters set (configuring emacs, Unix, etc. to use ISO), then you
61; can get the ISO 8859-1 FAQ via anonymous ftp from
62; ftp.vlsivie.tuwien.ac.at in /pub/bit/FAQ-ISO-8859-1
39 63
40;;; Code: 64;;; Code:
41 65
@@ -306,14 +330,6 @@ contains commonly used sequences.")
306 330
307(defvar iso-gtex2iso-trans-tab 331(defvar iso-gtex2iso-trans-tab
308 '( 332 '(
309 ("\"a" "ä")
310 ("\"A" "Ä")
311 ("\"o" "ö")
312 ("\"O" "Ö")
313 ("\"u" "ü")
314 ("\"U" "Ü")
315 ("\"s" "ß")
316 ("\\\\3" "ß")
317 ("{\\\\\"a}" "ä") 333 ("{\\\\\"a}" "ä")
318 ("{\\\\`a}" "à") 334 ("{\\\\`a}" "à")
319 ("{\\\\'a}" "á") 335 ("{\\\\'a}" "á")
@@ -423,6 +439,14 @@ contains commonly used sequences.")
423 ("!`" "¡") 439 ("!`" "¡")
424 ("{?`}" "¿") 440 ("{?`}" "¿")
425 ("{!`}" "¡") 441 ("{!`}" "¡")
442 ("\"a" "ä")
443 ("\"A" "Ä")
444 ("\"o" "ö")
445 ("\"O" "Ö")
446 ("\"u" "ü")
447 ("\"U" "Ü")
448 ("\"s" "ß")
449 ("\\\\3" "ß")
426 ) 450 )
427 "Translation table for translating German TeX sequences to ISO 8859-1. 451 "Translation table for translating German TeX sequences to ISO 8859-1.
428This table is not exhaustive (and due to TeX's power can never be). It only 452This table is not exhaustive (and due to TeX's power can never be). It only